More modelsKwaivgiKling v2.5 turbo pro image to video

Generate video with kwaivgi/kling-v2.5-turbo-pro/image-to-video

Generates a video using the kwaivgi/kling-v2.5-turbo-pro/image-to-video model.

POST
/api/v1/model/generateVideo
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

duration?string

The duration of the generated media in seconds.

Value in"5" | "10"
guidance_scale?number

The guidance scale to use for the generation.

Default0.5
Range0 <= value <= 1
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, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.

negative_prompt?string

Negative text prompt; Cannot exceed 2500 characters.

Lengthlength <= 2500
promptstring

Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters.

Lengthlength <= 2500

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "kwaivgi/kling-v2.5-turbo-pro/image-to-video",    "image": "string",    "prompt": "string"  }'
{
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ],
  "id": "string",
  "model": "string",
  "outputs": [
    "string"
  ],
  "status": "string",
  "urls": {}
}