Kling Video O3 4k
/v1/runKling Video O3 4k by KwaiVGI - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to kwaivgi/kling-video/o3/4k/reference-to-video.
Default: kwaivgi/kling-video/o3/4k/reference-to-video
Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both.
Image to use as the first frame of the video.
Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 7 total (elements + reference images) is allowed.
Image to use as the last frame of the video.
Video duration in seconds (3-15s).
Allowed values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Default: 5
Whether to generate native audio for the video.
Default: false
List of prompts for multi-shot video generation.
The type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure.
Allowed values: customize, intelligent
Default: customize
The aspect ratio of the generated image.
Allowed values: 16:9, 9:16, 1:1
Response Schema
The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.
Error message if the task failed. Empty on success.
Unique identifier for the generation task.
Model ID used for the prediction.
Array of generated content. Empty when status is not completed.
Status of the task: pending, running, completed, failed, or timeout.
Allowed values: pending, running, completed, failed, timeout
Model capabilities
Capabilities declared by the model registry.
Default: image-to-video
Execution mode declared by the model registry.
Default: async

