Wan 2.6 Image
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.6-image/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'{
"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"
}
}
}The wan-2.6-image supports image editing and mixed text-image output, meeting diverse generation and integration needs.
POST
/
wan2.6-image
/
async
Wan 2.6 Image
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.6-image/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'{
"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
application/json
Generation prompt
Required string length:
1 - 2000Input image URLs (0-4). With enable_interleave=true: 0-1 images; with enable_interleave=false: 1-4 images required. Order follows the returned image definition area.
Maximum array length:
4Negative prompt
Maximum string length:
500Output image resolution
Number of images to generate
Required range:
1 <= x <= 4Random seed
Required range:
0 <= x <= 2147483647Enable intelligent prompt rewriting
Enable text-image interleaving mode
Max images in interleave mode output
Required range:
1 <= x <= 5⌘I