generate_from_video
Generate images from YouTube videos by providing a video URL and a prompt. Analyzes video to create thumbnails, posters, or infographics.
Instructions
Generate an image from a public YouTube video URL (flash model only). Analyzes the video and generates an image from it — thumbnails, posters, infographics, key-moment art.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1K | |
| ratio | No | 16:9 | |
| output | Yes | Output file path; extension picks the format | |
| prompt | Yes | What to generate, e.g. 'Create a poster capturing the key themes' | |
| preview | No | Return a small preview image | |
| youtube_url | Yes | Public YouTube video URL |