| channel_id | The channel ID to use for the feed | no | "" |
| playlist_id | The playlist ID to use for the feed | no | "" |
| lang | The language you want your cards description to use | no | en |
| comment_tag_name | The name of the comment tag to use for the cards | no | YOUTUBE-CARDS |
| max_videos | The maximum number of videos to display | no | 6 |
| base_url | The base URL to use for the cards | no | https://ytcards.demolab.com/ |
| youtube_api_key | The YouTube API key to use for additional features such a the video duration | no | "" |
| card_width | The width of the SVG cards | no | 250 |
| border_radius | The border radius of the SVG cards | no | 5 |
| background_color | The background color of the SVG cards | no | #0d1117 |
| title_color | The color of the title text | no | #ffffff |
| stats_color | The color of the stats text | no | #dedede |
| theme_context_light | JSON theme for light mode (keys: background_color, title_color, stats_color). | no | {} |
| theme_context_dark | JSON theme for dark mode (keys: background_color, title_color, stats_color) | no | {} |
| max_title_lines | The maximum number of lines to use for the title | no | 1 |
| show_duration | Whether to show the video duration. Requires `youtube_api_key` to be set. | no | false |
| author_name | The name of the committer | no | GitHub Actions |
| author_email | The email address of the committer | no | 41898282+github-actions[bot]@users.noreply.github.com |
| commit_message | The commit message to use for the commit | no | docs(readme): Update YouTube cards |
| readme_path | The path to the readme file | no | README.md |
| output_only | Whether to return the section markdown as output instead of writing to the file | no | false |
| output_type | The type of output to be rendered by the action ('markdown' or 'html') | no | markdown |