Generate Video
generate_videoGenerate an AI video with H3 Max Turbo (default: renders in seconds, 5-15 s), Grok Imagine, Seedance (2.0 Mini, 2.0 Fast, 2.0 and 2.5, all with a generated audio track), Google Gemini Omni 1.2 Flash (new: 4-15 s at 720p/1080p or upscaled 4K with native stereo audio and multi-image references — sharper quality and fewer credits at 720p/1080p than Veo 3.1 Fast), Veo 3.1 Fast, or Kling. Every account gets its first H3 Max Turbo clip at 5 s / 480p free; after that it costs credits like any other preset. Users can name a model family naturally: H3, Hailuo or MiniMax map to H3 Max Turbo, Omni or Gemini Omni to Gemini Omni 1.2 Flash, Veo to Veo 3.1 Fast, Kling to Kling 2.5 Turbo, Grok to Grok Imagine, Seedance to Seedance 2.0 Mini, and Seedance Fast to Seedance 2.0 Fast. Seedance 1.5 Pro was retired by its provider on October 21, 2026; if the user asks for it, say so and suggest Seedance 2.0 Mini rather than switching silently. Never omit model when the user named one. Call list_models or quote_generation first when the user wants to review models and costs before spending credits.
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": {
"prompt": "<prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Video model or friendly name. Shortcuts: h3, hailuo or minimax -> h3-max-turbo; grok -> grok-imagine; seedance or seedance-mini -> seedance-2.0-mini; seedance-fast -> seedance-2.0-fast; omni, gemini-omni or gemini-omni-1.2 -> gemini-omni-1.2-flash (Google newest: sharper 1080p or upscaled 4K + stereo audio; fewer credits at 720p/1080p than Veo); veo -> veo-3.1-fast; kling-4-flash or kling-v4-flash -> kling-4.0-flash (720p + stereo audio, 3-20s); kling-4 or kling-v4 -> kling-4.0 (720p/1080p + stereo audio, 3-30s); kling -> kling-2.5-turbo. Defaults to h3-max-turbo only when the user did not name a model. | |
| prompt | Yes | Video description | |
| duration | No | Seconds: H3 Max Turbo 5-15, Grok 6-30, Seedance (every version) 4-15, Gemini Omni 1.2 Flash 4-15, Veo 3.1 Fast 4/6/8, Kling 4.0 Flash 3-20, Kling 4.0 3-30, Kling 2.5 Turbo 5/10. Defaults to the selected model preset. | |
| image_url | No | Optional public image URL to animate | |
| resolution | No | Quality: H3 Max Turbo supports 480p/768p; Grok supports 480p/720p/1080p; Seedance (every version) supports 480p/720p; Gemini Omni 1.2 Flash supports 720p/1080p/4k (default 1080p); Veo 3.1 Fast uses 720p; Kling 4.0 Flash uses 720p; Kling 4.0 supports 720p/1080p (default 720p); Kling 2.5 Turbo uses fixed Pro quality. | |
| max_credits | No | Budget cap in credits, when the person stated one. If the exact cost of this call is above it, nothing is started and the reply lists what fits. | |
| aspect_ratio | No | Video aspect ratio, default 16:9. Gemini Omni 1.2 Flash and Veo support 16:9 or 9:16; Kling and H3 Max Turbo image-to-video follow the source image instead. | |
| reference_video_url | No | Seedance 2.0 Fast, 2.0 and 2.5 only: one 2-15 s MP4/MOV whose motion, camera or scene the new clip follows (for example "same shot, but the barista is a robot"). It must be a Claude Imagine file: a video generated here, or one the user uploads on the website's Reference tab. At least 854x480. Its seconds are billed with the output at a lower per-second rate. Cannot be combined with image_url. | |
| reference_image_urls | No | Seedance 2.0 Fast, 2.0, 2.5, Gemini Omni 1.2 Flash, Kling 4.0 Flash and Kling 4.0: up to 4 public image URLs used as references (a character, product, outfit or setting), not as the first frame. Refer to them in the prompt as "image 1", "image 2" (or @Image1, @Image2 for Kling 4.0). Cannot be combined with image_url. |