Generate AI Video
generate_videoSubmit a basic text-to-video or image-to-video generation task using Vhoo.ai models (Seedance 2.5, Kling 4.0, MiniMax H3, Muse Video, Gemini Omni). Does not run viral templates (templates must be used on vhoo.ai). Deducts account credits and returns a taskId to poll with get_generation_status. Requires an API key.
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 |
|---|---|---|---|
| size | No | Aspect ratio (e.g. "16:9", "9:16", "1:1", "adaptive"). Defaults to "16:9". | |
| model | No | Video model to use. Defaults to "seedance-2.0-fast". Call list_models to inspect supported resolutions and durations. | |
| prompt | Yes | Text description of the scene, subject motion, and camera movement. | |
| duration | No | Video duration in seconds supported by the chosen model. | |
| imageUrls | No | Optional public HTTPS reference image URLs for image-to-video (supported on Seedance, Kling 4.0, MiniMax H3, and Gemini Omni). | |
| resolution | No | Video resolution supported by the chosen model (e.g. "480p", "720p", "1080p"). | |
| lastFrameUrl | No | Optional public HTTPS closing frame image URL (requires firstFrameUrl; cannot be combined with imageUrls). | |
| firstFrameUrl | No | Optional public HTTPS opening frame image URL (cannot be combined with imageUrls). | |
| generateAudio | No | Generate native synchronized audio when supported. Defaults to true. |