Skip to main content
POST
/
kling-v1.6-t2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/text-to-video/kling/kling-v1.6-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Ocean waves crashing on rocky shore at sunrise"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-def456",
    "model_id": "kling-v1.6-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:

"Ocean waves crashing on rocky shore at sunrise"

negative_prompt
string

Negative prompt describing undesired elements

Required string length: 1 - 2500
Example:

"static, boring"

cfg_scale
number
default:0.5

Prompt relevance (0.0-1.0). Only supported by V1 and V1.6.

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

0.6

mode
enum<string>
default:std

Generation mode: std (standard) or pro (professional)

Available options:
std,
pro
Example:

"pro"

aspect_ratio
enum<string>
default:16:9

Video aspect ratio

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

"9:16"

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