curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image \
--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"
}
}
}{
"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
[Core Function] Wan 2.7 Image is a fast, reasoning-enhanced image generation model. [Strengths] It includes the chain-of-thought reasoning and text rendering of the Pro version, but is optimized for speed, supporting up to 2K resolution. [Best For] Highly recommended for: fast iterations, conceptual design, and generating accurate images with text at standard resolutions. [Limitations] Do NOT use this model if you require 4K print-ready resolution. [Routing] Use this for standard, everyday high-quality image generation requests.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-image \
--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"
}
}
}{
"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 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