Skip to main content
POST
/
kling-v1.6-mi2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/image-to-video/kling/kling-v1.6-mi2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_list": [
    {
      "image": "https://example.com/character.jpg"
    }
  ],
  "prompt": "A character walking in the park"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-mi2v001",
    "model_id": "kling-v1.6-mi2v"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
image_list
object[]
required

List of reference images (1-4 images). Each image can be a URL or Base64 encoded string.

Required array length: 1 - 4 elements
Example:
[
{
"image": "https://example.com/character1.jpg"
},
{
"image": "https://example.com/character2.jpg"
}
]
prompt
string
required

Video generation prompt, supports Chinese and English (1-2500 characters)

Required string length: 1 - 2500
Example:

"Two characters walking together in a park, cinematic quality"

negative_prompt
string

Negative prompt describing undesired elements (1-2500 characters)

Required string length: 1 - 2500
Example:

"blurry, low quality, distorted, static"

mode
enum<string>
default:std

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

Available options:
std,
pro
Example:

"std"

duration
enum<integer>
default:5

Video duration in seconds (5 or 10 seconds)

Available options:
5,
10
Example:

5

aspect_ratio
enum<string>
default:16:9

Video aspect ratio. Supported values: 16:9 (horizontal), 9:16 (vertical), 1:1 (square)

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

"16:9"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required