Generate an omni video
kling_omni_videoKling Omni: a video from a prompt with references named in it as @image_N, @element_N, @video_N and @voice_N. omni_version v3 (default; 3-15 s, std / pro / 4k, up to 7 images + elements, enable_audio false is cheaper), o1 (3-10 s), v4 (Kling 4.0: 3-30 s, up to 10 images, 7 elements, 5 reference videos totalling ≤ 30 s, 3 voices from kling_list_voices, 15 references in all, audio always on), or v4-flash (Kling 4.0 Flash: 3-20 s, std / 720p only, reference videos totalling ≤ 20 s, no voices, 6 credits a second). frame_start / frame_end (o1 / v3) make a start-to-end video instead. With video_1 on o1 / v3 the length follows the video. Uses Kling credits (v3 std 6-9 a second). A job, like kling_text_to_video. POST /videos/omni.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | o1: std / pro; v3: std / pro / 4k; v4: std / pro. | |
| count | No | Videos per task, 1-4 (2+ needs Kling VIP; the cost multiplies). | |
| 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 | No | What happens; name references as @image_1, @element_1, @video_1, @voice_1 (o1 / v3 up to 1700 characters). | |
| image_1 | No | Reference image 1: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_2 | No | Reference image 2: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_3 | No | Reference image 3: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_4 | No | Reference image 4: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_5 | No | Reference image 5: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_6 | No | Reference image 6: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_7 | No | Reference image 7: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_8 | No | Reference image 8 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| image_9 | No | Reference image 9 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| video_1 | No | Reference video 1: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| video_2 | No | Reference video 2 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| video_3 | No | Reference video 3 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| video_4 | No | Reference video 4 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| video_5 | No | Reference video 5 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| voice_1 | No | Voice 1 (v4): an id or name from kling_list_voices on the same account. | |
| voice_2 | No | Voice 2 (v4): an id or name from kling_list_voices on the same account. | |
| voice_3 | No | Voice 3 (v4): an id or name from kling_list_voices on the same account. | |
| duration | No | Seconds (default 5): o1 3-10, v3 3-15, v4 3-30. | |
| image_10 | No | Reference image 10 (v4): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| element_1 | No | Element 1: an element id (u_… / o_…). | |
| element_2 | No | Element 2: an element id (u_… / o_…). | |
| element_3 | No | Element 3: an element id (u_… / o_…). | |
| element_4 | No | Element 4: an element id (u_… / o_…). | |
| element_5 | No | Element 5: an element id (u_… / o_…). | |
| element_6 | No | Element 6: an element id (u_… / o_…). | |
| element_7 | No | Element 7: an element id (u_… / o_…). | |
| frame_end | No | End frame (with frame_start): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| keep_audio | No | Keep video_1's sound. | |
| multi_shot | No | v3: Kling picks the shots. | |
| video_mode | No | With video_1: reference (default) or transform (o1 / v3: restyle the video itself). | |
| frame_start | No | Start frame (o1 / v3; not with image_N / element_N / video_1): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| aspect_ratio | No | 16:9 (default), 9:16, 1:1; auto and 21:9 on v4. | |
| enable_audio | No | v3 without a video: sound on (default) or off (cheaper). | |
| omni_version | No | o1, v3 (default), v4 or v4-flash. | |
| shot_1_prompt | No | Custom multi-shot: shot 1's prompt (with shot_1_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_2_prompt | No | Custom multi-shot: shot 2's prompt (with shot_2_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_3_prompt | No | Custom multi-shot: shot 3's prompt (with shot_3_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_4_prompt | No | Custom multi-shot: shot 4's prompt (with shot_4_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_5_prompt | No | Custom multi-shot: shot 5's prompt (with shot_5_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_6_prompt | No | Custom multi-shot: shot 6's prompt (with shot_6_duration; at least 2 shots, total 3-15 s; not with prompt / duration). | |
| shot_1_duration | No | Custom multi-shot: shot 1's seconds, 1-15. | |
| shot_2_duration | No | Custom multi-shot: shot 2's seconds, 1-15. | |
| shot_3_duration | No | Custom multi-shot: shot 3's seconds, 1-15. | |
| shot_4_duration | No | Custom multi-shot: shot 4's seconds, 1-15. | |
| shot_5_duration | No | Custom multi-shot: shot 5's seconds, 1-15. | |
| shot_6_duration | No | Custom multi-shot: shot 6's seconds, 1-15. |