curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A beautiful landscape with mountains and lakes at sunset"
}
'{
"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"
}
}
}Wan 2.7 Image is the standard text-to-image model with faster generation speed. Supports up to 2K resolution, thinking mode, sequential generation, and custom color themes. Does not support 4K.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A beautiful landscape with mountains and lakes at sunset"
}
'{
"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 - 5000"A beautiful landscape with mountains and lakes at sunset"
Output resolution. Preset: 1K, 2K. Or custom pixels (format: widthheight, range [768768, 2048*2048]). Does not support 4K
"2K"
Number of images. Default mode (enable_sequential=false): 1-4, default 4. Sequential mode (enable_sequential=true): 1-12, default 12. Directly affects cost
1 <= x <= 121
Random seed for reproducible results
0 <= x <= 2147483647Enable thinking mode for enhanced reasoning and image quality. Only effective when enable_sequential=false. Increases generation time
Enable sequential mode for generating multiple coherent images