curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-v3-t2i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic portrait of an astronaut standing in a desert at sunset"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-v3-t2i-123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-v3-t2i-123"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Kling V3 T2I
[Core Function] Kling V3 T2I is the flagship text-to-image model (POST /images/generations, model_name=kling-v3). [Strengths] High aesthetic quality, prompt adherence, 1K/2K. [Best For] Concept art and photorealistic generation without a reference image. [Limitations] No reference image; for I2I use kling-v3-i2i; for multi-image/series use kling-v3-omni-image. [Routing] Default for Kling text-to-image.
curl --request POST \
--url https://api.modellix.ai/api/v1/kling/kling-v3-t2i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic portrait of an astronaut standing in a desert at sunset"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-v3-t2i-123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-v3-t2i-123"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Image description text, supports Chinese and English
1 - 2500"A cinematic portrait of an astronaut standing in a desert at sunset"
Negative prompt describing undesired elements
1 - 2500"blurry, low quality, overexposed"
Image aspect ratio
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 "16:9"
Image resolution. Kling V3 supports both 1K and 2K output.
1k, 2k "2k"
Number of images to generate per request
1 <= x <= 93