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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"youtube_url": "<youtube_url>",
"prompt": "<prompt>",
"output": "<output>"
},
"name": "generate_from_video"
}
}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 |