curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-v1.5-t2i/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Portrait of a warrior in ancient armor, photorealistic"
}
'
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-def456",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-def456"
}
}
}An enhanced text-to-image model with improved realism and subject/face reference support for generating consistent character images at 1K resolution.
POST
/
kling-v1.5-t2i
/
async
curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-v1.5-t2i/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Portrait of a warrior in ancient armor, photorealistic"
}
'
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-def456",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-def456"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
application/json
Image description text, supports Chinese and English
Required string length:
1 - 2500Example:
"Portrait of a warrior in ancient armor, photorealistic"
Negative prompt describing undesired elements
Required string length:
1 - 2500Example:
"winter, snow, dead plants"
Image aspect ratio
Available options:
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 Example:
"4:3"
Image resolution. V1.5 only supports 1K
Available options:
1k Example:
"1k"
Number of images to generate per request
Required range:
1 <= x <= 9Example:
1
⌘I