More modelsKwaivgiKling v2.1 i2v master
Generate video with kwaivgi/kling-v2.1-i2v-master
Generates a video using the kwaivgi/kling-v2.1-i2v-master model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
imagestring
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.
promptstring
Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters.
Length
length <= 2000duration?string
The duration of the generated media in seconds.
Value in
"5" | "10"guidance_scale?number
The guidance scale to use for the generation.
Default
0.5Range
0 <= value <= 1negative_prompt?string
Negative text prompt; Cannot exceed 2500 characters.
Length
length <= 2500Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "kwaivgi/kling-v2.1-i2v-master", "image": "https://static.atlascloud.ai/media/images/1749522950129341275_kHvrnkgd.jpeg", "prompt": "The scene opens with a small fishing boat caught in the midst of a raging storm. The sky is dark and ominous, filled with swirling clouds and flashes of lightning. The sea is tumultuous, with massive waves crashing against the boat, threatening to capsize it. The boat\'s deck is slick with rain, and the crew members are struggling to maintain control." }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}