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.
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 |