Generate a video from elements
kling_elements_videoA video combining images (image_0..3) and elements (element_1..3, kling-v3-0) as described in the prompt. kling-v3-0: 3-15 s, up to 3 inputs in all, sound on by default; kling-v1-6 (default): 5 or 10 s, images only. ~20 credits for 5 s on kling-v1-6. A job, like kling_text_to_video. POST /videos/image2video-elements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | std (default), pro or 4k. | |
| No | The Kling account email. Optional: by default the account with the most free job slots; results name the account used. Pass it whenever an input belongs to one account (an uploaded file, a voice, an element, your own avatar or motion, a task_id). | ||
| prompt | Yes | What happens in the video. | |
| image_0 | No | Image 0: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_1 | No | Image 1: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_2 | No | Image 2: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_3 | No | Image 3: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| duration | No | Seconds: kling-v3-0 3-15, kling-v1-6 5 or 10 (default 5). | |
| element_1 | No | Element 1 (kling-v3-0): an element id (u_… / o_…). | |
| element_2 | No | Element 2 (kling-v3-0): an element id (u_… / o_…). | |
| element_3 | No | Element 3 (kling-v3-0): an element id (u_… / o_…). | |
| model_name | No | kling-v1-6 (default) or kling-v3-0. | |
| aspect_ratio | No | 16:9 (default), 9:16 or 1:1 (kling-v1-6). | |
| enable_audio | No | kling-v3-0: sound on (default) or off. | |
| negative_prompt | No | What to avoid (kling-v1-6). |