Kling Video V2

kling-video-v2-master-text-to-video

post

Generate video clips from your prompts using Kling 2.0 Master

Header parameters
AuthorizationstringRequiredExample: sk-Qp03mnjjNqXKxpnw5qQ4IqVABNfad5YOk1axUhp7pJbokFmu
Body
modelstringRequired

model is the model name

Example: kling-video-v2-master-text-to-video
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
durationstring · enumOptional

The duration of the generated video in seconds Default value: "5"

Possible enum values: 5, 10

Default: 5Example: 5Possible values:
aspect_ratiostring · enumOptional

The aspect ratio of the generated video frame Default value: "16:9"

Possible enum values: 16:9, 9:16, 1:1

Default: 16:9Example: 16:9Possible values:
negative_promptstringOptional

Default value: "blur, distort, and low quality"

Default: blur, distort, and low qualityExample: blur, distort, and low quality
cfg_scalenumberOptional

The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Default value: 0.5

Default: 0.5Example: 0.5
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/videos/generations
200Success