More modelsKwaivgiKling v2.1 t2v master

Generate video with kwaivgi/kling-v2.1-t2v-master

Generates a video using the kwaivgi/kling-v2.1-t2v-master 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

promptstring

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

Lengthlength <= 2000
duration?string

The duration of the generated media in seconds.

Value in"5" | "10"
aspect_ratio?string

Generated video aspect ratio.

Value in"16:9" | "9:16" | "1:1"
guidance_scale?number

The guidance scale to use for the generation.

Default0.5
Range0 <= value <= 1
negative_prompt?string

Negative 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.1-t2v-master",    "prompt": "Capture a dynamic, high-speed chase scene featuring two motorcycles navigating through a bustling cityscape at night. The camera alternates between close-up shots of the riders\' intense expressions, the glowing neon signs of the city, and the sleek lines of the motorcycles as they weave through traffic. The sound of revving engines and the hum of the city create an exhilarating atmosphere."  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}