Wan 2.5 T2I Preview
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.5-t2i-preview/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A serene mountain landscape 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 text-to-image model generates images from text. wan2.5-t2i-preview allows free size selection within total pixel area and aspect ratio constraints.
POST
/
wan2.5-t2i-preview
/
async
Wan 2.5 T2I Preview
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.5-t2i-preview/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A serene mountain landscape 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
application/json
Image description text
Required string length:
1 - 2000Example:
"A serene mountain landscape at sunset"
Negative prompt
Maximum string length:
500Image size (format: width*height). Total pixels [768×768, 1440×1440], aspect ratio [1:4, 4:1]
Example:
"1280*1280"
Number of images to generate
Required range:
1 <= x <= 4Example:
4
Random seed
Required range:
0 <= x <= 2147483647Enable intelligent prompt rewriting
⌘I