curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image-pro \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cozy flower shop with elegant windows, a beautiful wooden door, and flowers on display"
}
'{
"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"
}
}
}{
"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"
}Wan 2.7 Image Pro
[Core Function] Wan 2.7 Image Pro is Alibaba’s flagship reasoning-enhanced image generation model. [Strengths] It features built-in chain-of-thought reasoning (Thinking Mode), exceptional prompt accuracy, native 12-language text rendering, and generates ultra-high-resolution 4K images. [Best For] Highly recommended for: print-ready large-format posters, complex logical prompts, and generating images containing specific text/typography. [Limitations] Do NOT use this model if you need to generate batch images rapidly (use Wan 2.7 Image instead) or if you specifically need negative prompts (use Qwen Image 2.0 Pro). [Routing] Use this model by default for high-end, 4K, or text-heavy image generation tasks.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image-pro \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cozy flower shop with elegant windows, a beautiful wooden door, and flowers on display"
}
'{
"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"
}
}
}{
"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 - 5000"A cozy flower shop with elegant windows, a beautiful wooden door, and flowers on display"
Output resolution. Preset: 1K, 2K, 4K (4K only for text-to-image, non-sequential). Or custom pixels (format: widthheight, range [768768, 4096*4096])
"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 (no image input). Increases generation time
Enable sequential mode for generating multiple coherent images (e.g., comic panels, step-by-step illustrations)