Generate a video
generate_videoMakes a video from an image the user owns (generation or upload). MOST EXPENSIVE operation: priced per second, charged when the clip completes, purchased credits only. Async: poll get_video. Quote with dry_run:true (free), then confirm the number with the user. PROMOTION until 2026-09-23: every Kling model is billed at a THIRD of the per-second rates listed below. dry_run returns the real discounted number; quote from it, not from this guide. Pick by job (credits per second, std/pro):
Bring a still to life: kling-v3, the default. 120/160; sound +40; 4K 600; 3-15s; lands on end_frame_id.
Cheapest clip WITH sound: veo-3.1-lite-generate-preview. 4, 6 or 8s; 8s = 280 total (1080p 440); end_frame_id.
Keep an existing clip's acting with a new person or scene: kling-v3-omni + reference_video_id (180/240, silent) + up to 3 reference_image_ids. Without a clip: kling-v3 prices, and 6 stills instead of 3.
Same at 120/160 when 10s, 1080p and silence are enough: kling-video-o1 + the clip. Without a clip it costs what kling-v3 costs and does less.
Copy a dance or gesture from a real clip onto the person in the still: kling-motion-control. 180/240 per second of the clip (3-30s), silent.
Edit a finished clip by describing the change, or sound plus reference stills: gemini-omni-1.1-flash. 140 at 720p (1080p 290, 4K 430, upscales); 3-10s chosen by the model, so state the length in the prompt; up to 3 reference_image_ids; end_frame_id. Reference clips are finished video ids (list_generations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default std (720p-class); pro 1080p-class; 4k where the guide lists it. | |
| audio | No | Kling 3.0/Omni only, never with a reference clip. | |
| model | No | Default kling-v3. | |
| prompt | Yes | The motion to depict; for a Gemini Omni edit, the change to make. | |
| dry_run | No | Quote only: exact credits_cost, nothing submitted or charged. | |
| duration | No | Whole seconds within the model's range. Default 5 (Veo 8); Motion Control uses the clip's. | |
| project_id | Yes | ||
| end_frame_id | No | Image the clip lands on (Kling 3.0, Veo, Gemini Omni). | |
| generation_id | Yes | Source image id (generation or upload). | |
| reference_video_id | No | A finished video id: the acting to keep (Omni/O1), the movement to copy (Motion Control), the clip to edit (Gemini Omni). | |
| reference_image_ids | No | Stills to stay faithful to. Omni/O1 up to 6, or 3 beside a reference clip (Kling counts both against one list). Gemini Omni 3. | |
| character_orientation | No | Motion Control: whose face, the still's or the clip's. Default video. |