Kling O3 Video
Authorizations
API Key for API endpoints
Body
- Text Image To Video
- Frame To Video
- Reference To Video
- Video To Video
- Video Reference To Video
Text prompt for video generation
Workflow type: text/image-to-video, frame-to-video, reference-to-video, video-to-video (edit), or video-reference-to-video.
"text-image-to-video"Video duration in seconds
3 <= x <= 15Whether to generate audio for the video
Preserves original audio from the reference video (video-to-video modes).
generation quality
standard, pro Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720
9:16, 16:9, 1:1 Start frame image URL for image-to-video.
Start frame image URL (alias for image_url in reference-to-video mode).
End frame image URL for image-to-video / reference-to-video.
First frame image URL for frame-to-video mode.
Optional last frame image URL for frame-to-video mode.
Reference images for style/appearance; cite in prompt as @Image1, @Image2. Max 4 total (combined with elements).
4Compatibility alias for image_urls.
4Reference video URL for video-to-video modes (mp4/mov, 3-10s, 720-2160px, max 200MB).
Description of what to exclude from the generated video
Response
Generation submission accepted
Generation id.
Queue status
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED, CANCELED Normalized input payload for the generation task.
- Text Image To Video
- Frame To Video
- Reference To Video
- Video To Video
- Video Reference To Video
Credit usage breakdown for the request
Machine-readable generation error code. Present when status is FAILED.
Sanitized human-readable failure message. Present when status is FAILED.