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
[Core Function] Wan 2.7 I2V is Alibaba’s flagship multimodal image-to-video model. [Strengths] It supports multimodal input (text, image, audio, video) for first-frame, start-and-end-frame (FL2V), and video continuation tasks. [Best For] Highly recommended for: complex image animation, cinematic transitions, and video extension workflows. [Limitations] Do NOT use this model if you only need a quick, simple animation where HappyHorse might be faster. [Routing] Use this model by default for complex image-to-video or video continuation tasks.
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"
}
}
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
- 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.
^(https?://|oss://|data:image/)"https://example.com/first.png"
"oss://dashscope-instant/example/first.png"
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
Optional last frame image URL. Requires first_frame. Supports HTTP/HTTPS URL, OSS URL, or image base64 data URI.
^(https?://|oss://|data:image/)Optional driving audio URL (HTTP/HTTPS/OSS). Do not pass with first_clip.
^(https?://|oss://)Optional text prompt, max 5000 chars.
5000Optional negative prompt, max 500 chars.
500Output resolution tier.
720P, 1080P Video duration in seconds.
2 <= x <= 15Enable prompt intelligent rewrite.
Random seed for reproducibility.
0 <= x <= 2147483647