Generate Video
generate_videoGenerate an AI video with H3 Max Turbo (default: renders in seconds, 5-15 s), Grok Imagine, Seedance, Veo, 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, Veo to Veo 3.1 Fast, Kling to Kling 2.5 Turbo, Grok to Grok Imagine, Seedance to Seedance 2.0 Mini, and Seedance Pro to Seedance 1.5 Pro. 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.
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-pro -> seedance-1.5-pro; veo -> veo-3.1-fast; 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 1.5 Pro 4-12, Seedance 2.0 Mini 4-15, Veo 3.1 Fast 4/6/8, Kling 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 and Seedance 1.5 support 480p/720p/1080p; Seedance 2.0 Mini supports 480p/720p; Veo 3.1 Fast currently uses 720p; Kling 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. Veo supports 16:9 or 9:16; Kling and H3 Max Turbo image-to-video follow the source image instead. |