curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-i2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_frame": "https://example.com/first.png"
}
'{
"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 I2V
Alibaba’s image-to-video model for animating a start frame, bridging two frames, or continuing a clip, with synchronized sound. It makes a 2 to 15 second clip at 720P or 1080P.
POST
/
alibaba
/
wan2.7-i2v
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-i2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_frame": "https://example.com/first.png"
}
'{
"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"
}
}
}Body
application/json
- Option 1 — Frame mode
- Option 2 — Continuation mode
Wan 2.7 image-to-video. Choose one option — Frame and Continuation fields are mutually exclusive. prompt is optional. Do not mix first_frame with first_clip. driving_audio is only valid with first-frame modes.
Required. First frame image URL. Supports HTTP/HTTPS URL, OSS URL, or image base64 data URI. Do not pass first_clip.
Pattern:
^(https?://|oss://|data:image/)Examples:
"https://example.com/first.png"
"oss://dashscope-instant/example/first.png"
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="