Generate video with kwaivgi/kling-v1.6-i2v-pro
Generates a video using the kwaivgi/kling-v1.6-i2v-pro model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.
Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters.
length <= 2000The duration of the generated media in seconds.
"5" | "10"Tail frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.
The guidance scale to use for the generation.
0.50 <= value <= 1Negative text prompt; Cannot exceed 2500 characters.
length <= 2500Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "kwaivgi/kling-v1.6-i2v-pro", "image": "https://static.atlascloud.ai/media/images/1747220408880912820_13ZWSPLJ.jpg", "prompt": "A girl falling slowly underwater, calm and serene facial expression, light and shadow dancing on her face. She gently raises both arms, hair flowing softly in water, high-quality visuals, slow motion, cinematic lighting" }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}