The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
prompt
Type:string
Default value:-
Description:Required positive prompt describing the scene, subject motion, camera behavior, and any desired dialogue, music, sound effects, or ambient audio.
Range:
Max: 2500
first_frame
Type:image
Default value:
Description:Optional first-frame image. When provided, the task uses image-to-video; otherwise it uses text-to-video. Accepts a URL or base64 for JPG, JPEG, or PNG up to 50 MB, with both dimensions at least 300 px and an aspect ratio from 1:2.5 to 2.5:1.
aspect_ratio
Type:enum
Default value:16:9
Description:Generated frame aspect ratio for text-to-video. Image-to-video derives its framing from the input image.
Choices:16:9, 9:16, 1:1
duration
Type:enum
Default value:5
Description:Generated video duration in seconds. Supported values are 5 and 10.
Choices:5, 10
Examples
Pricing
Model pricing for kwaivgi/kling-2-6. Looking for volume pricing? Get in touch.