generate_video
Generate videos from text, images, or source videos by choosing from 48 AI models for text-to-video, image-to-video, and video-to-video creation.
Instructions
Generate videos from text, images, or other videos. 48 models including Hailuo, Seedance, Kling (1.6/3.0/O1), Sora, Veo 3.1, Runway gen-4.5, WAN (2.2/2.5/2.6), LTX, Luma Ray 2, Mochi, VEED, Vidu, Higgsfield, and more.
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 to use. Options: hailuo: Hailuo 2.3, hailuo-i2v: Hailuo 2.3 I2V, seedance-t2v: Seedance T2V, seedance-i2v: Seedance I2V, seedance-f2v: Seedance Frame2Video, dreamactor-motion: DreamActor Motion Control, kling-3.0-t2v: Kling 3.0 T2V, kling-3.0-i2v: Kling 3.0 I2V, kling-avatar-v2-pro: Kling Avatar v2 Pro, kling-o1-edit-video: Kling O1 Edit Video, kling-o1-frame2video: Kling O1 Frame2Video, kling-o1-ref-i2v: Kling O1 Ref I2V, kling-o1-ref-v2v: Kling O1 Ref V2V, kling-v2.6-motion: Kling v2.6 Motion, kling-1.6-t2v: Kling 1.6 T2V, kling-1.6-i2v: Kling 1.6 I2V, sora-t2v: Sora T2V, sora-i2v: Sora I2V, veo-3.1: Veo 3.1, runway-gen4.5: Runway gen-4.5, ltx-v2-pro: LTX V2 Pro, ltx-2-19b: LTX-2 19B, ltx-2-video: LTX-2 Video, luma-ray2-flash-i2v: Luma Ray 2 Flash I2V, wan-2.6-t2v: WAN 2.6 T2V, wan-2.6-i2v: WAN 2.6 I2V, wan-2.6-i2v-flash: WAN 2.6 I2V Flash, wan-2.2-animate: WAN 2.2 Animate, pixazo-wan-i2v: Pixazo WAN I2V, wan-2.2-i2v: WAN 2.2 I2V, wan-2.2-s2v: WAN 2.2 S2V, wan-2.5-t2v: WAN 2.5 T2V, wan-2.5-i2v: WAN 2.5 I2V, wan-t2v: WAN T2V (Alibaba), wan-i2v-alibaba: WAN I2V (Alibaba), higgsfield-soul: Higgsfield AI Soul, higgsfield-i2v: Higgsfield I2V, omnihuman-v1.5: ByteDance OmniHuman v1.5, decart-lucy: Decart Lucy Edit Video, dreamactor-v2: Dreamactor v2, topaz-upscale-video: Topaz Upscale Video, veed-fabric: VEED Fabric 1.0, veed-bg-remover: VEED Video BG Remover, vidu-q2-pro: Vidu Q2 Pro, p-video: P Video, mochi-v1: Mochi v1, baidu-genflare: Baidu GenFlare 2.0, sd-video: SD Text to Video | hailuo |
| prompt | Yes | Text description of the video to generate | |
| duration | No | Video duration in seconds | |
| audio_url | No | Audio URL for lip-sync (for wan-2.2-s2v) | |
| image_url | No | Source image URL (for image-to-video models) | |
| video_url | No | Source video URL (for video-to-video models like kling-o1-edit-video) | |
| last_frame | No | Last frame image URL (for frame-to-video models) | |
| resolution | No | Video resolution (e.g. 720P, 1080P) | |
| first_frame | No | First frame image URL (for frame-to-video models) |