generate_video
Creates AI videos from text prompts, start/end images, and optional audio, with controls for model, resolution, aspect ratio, duration, and batch size.
Instructions
Generates a video from text prompt, image, and optional audio using AI models like Character-3, Veo, Sora, Kling, MiniMax
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": {
"ai_model_id": "<ai_model_id>",
"text_prompt": "<text_prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for reproducible generation | |
| audio_id | No | ID of an uploaded audio asset to use | |
| batch_size | No | Number of video variations to generate (1-8) | |
| resolution | No | Video resolution (e.g., 540p, 720p) | |
| ai_model_id | Yes | ID of the AI model to use (get from list_models) | |
| duration_ms | No | Video duration in milliseconds | |
| text_prompt | Yes | Text prompt describing the video content | |
| aspect_ratio | No | Video aspect ratio (16:9, 9:16, 1:1) | |
| end_keyframe_id | No | ID of an uploaded image asset to use as end keyframe | |
| start_keyframe_id | No | ID of an uploaded image asset to use as start keyframe | |
| start_keyframe_url | No | URL of image to use as start keyframe (alternative to start_keyframe_id) |