generate_video
Generate a video from a text prompt using AI models like Hailuo, Kling, or Runway. Optionally start from an image and control duration and aspect ratio.
Instructions
Generate a video using Krea AI. Returns a job_id - use get_job to check status and get the result URL.
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 | Model: hailuo (default), kling, runway, pika, veo-3, wan, sora, luma | hailuo |
| prompt | Yes | Text description of the video to generate | |
| duration | No | Video duration in seconds | |
| image_url | No | Optional image URL for image-to-video generation | |
| aspect_ratio | No | Aspect ratio (16:9, 9:16, 1:1) | 16:9 |