curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/qwen-image-2.0-pro/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic still of an astronaut exploring an alien planet"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}Qwen-Image 2.0 Pro is the most capable model in the Qwen-Image series, with superior text rendering, realistic textures, and semantic adherence. Supports larger resolutions and batch generation of 1-6 images.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/qwen-image-2.0-pro/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic still of an astronaut exploring an alien planet"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}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
Image description text, supports Chinese and English
1 - 800"A serene Japanese garden with cherry blossoms"
Negative prompt describing unwanted content
500"blurry, low quality"
Image size (format: width*height). Supports larger resolutions than plus/max series
2688*1536, 2368*1728, 2048*2048, 1728*2368, 1536*2688 "2048*2048"
Number of images to generate (1-6)
1 <= x <= 61
Random seed for reproducible results
0 <= x <= 214748364742
Enable intelligent prompt rewriting
true