contents; do not send model_name or the Legacy image_list and video_list fields.
Output resolution supports 720p, 1080p, and 4k through settings.resolution.
Capabilities
- Text-to-video with a prompt.
- Image, video, and element references.
- Video editing with a
base_videocontent item. - Multi-shot prompting and optional synchronized sound where supported by the model.
Create a task
cURL
refer_image, feature_video, first_frame, last_frame, or base_video items to contents when the workflow needs media. Give referenced items an id and mention them as @id in the prompt.
Query the task
cURL
data.id; a successful query returns the generated media in data[].outputs[].
Reference and combination rules
refer_imagesupplies appearance, scene, or style references;first_frame,middle_frame, andlast_frameconstrain keyframes.feature_videosupplies motion, style, or camera references.base_videoedits a source video and may appear at most once.- Give each media item a unique
idand reference it as@idin the prompt. Keep the prompt item incontents. - Image inputs use JPG, JPEG, or PNG, with public URLs or supported Base64. Videos use accessible MP4 or MOV URLs.
settings.aspect_ratiois required when no first frame or source video determines the composition. Source-video editing follows the source duration whensettings.durationis omitted.- Multi-shot prompts use one to six shot segments whose durations add up to the requested duration. A base-video edit does not use multi-shot generation.
Kling 3.0 Omni API reference
View the v2 contents and task fields.