Skip to main content
POST
/
kling-v1-t2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/text-to-video/kling/kling-v1-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A bird flying over mountains during sunset"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "kling-v1-t2v"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Video description text, supports Chinese and English

Required string length: 1 - 2500
Example:

"A bird flying over mountains during sunset"

negative_prompt
string

Negative prompt describing undesired elements

Required string length: 1 - 2500
Example:

"blurry, low quality, static"

cfg_scale
number
default:0.5

Prompt relevance, controls how closely the generated content matches the prompt (0.0-1.0). Only supported by V1 and V1.6.

Required range: 0 <= x <= 1
Example:

0.7

mode
enum<string>
default:std

Generation mode: std (standard, faster) or pro (professional, higher quality but longer processing)

Available options:
std,
pro
Example:

"pro"

camera_control
object

Camera motion control (only supported by V1). Contains type and config.

aspect_ratio
enum<string>
default:16:9

Video aspect ratio

Available options:
16:9,
9:16,
1:1
Example:

"16:9"

duration
enum<integer>
default:5

Video duration in seconds

Available options:
5,
10
Example:

10

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required