Alibaba's Tongyi Lab shipped the full Wan 2.7 suite on April 6, 2026, and the spec sheet reads like a direct shot at the closed-source video leaders: a 27B Mixture-of-Experts model, a new Thinking Mode that plans a shot before rendering it, native audio, and 1080p clips up to 15 seconds, available through Alibaba Cloud and API providers rather than as open weights. Within weeks the model was live across nearly every major inference provider, with public per-second prices starting around $0.06 for 720p.
This guide covers everything verified: what Wan 2.7 actually adds over Wan 2.6, when to call the text-to-video endpoint versus image-to-video, how the async job lifecycle works with real request examples, how per-second pricing compares across providers, and how to integrate it through a single Modellix key. Can you put it into a production pipeline today, and which endpoint should that pipeline actually call?
Wan 2.7 Capabilities Explained: Thinking Mode, Native Audio, and 4 Production Advantages
Wan 2.7 is the latest release in Alibaba's Wan (Tongyi Wanxiang) video family. According to the Tongyi Lab announcement on April 6, 2026, the suite spans text-to-video, image-to-video, reference-to-video, and instruction-based video editing. Four things matter once you move past the demo reel.
Thinking Mode changes how prompts resolve. Instead of denoising straight from the prompt, the model first interprets the instruction, plans composition and motion, then generates. In practice this means long or compound prompts (multiple subjects, staged camera moves, specific lighting) hold together better than they did in earlier Wan versions. It also means slightly higher latency on complex jobs, which matters when you size timeouts.
Native audio is generated with the video, not bolted on. Wan 2.7 produces a synchronized audio track in the same pass rather than requiring a separate lip-sync or sound model. For dialogue and ambient scenes this collapses a two-model pipeline into one call.
The 27B MoE architecture routes work to specialized experts. A Mixture-of-Experts design activates only part of the network per token, which is how a 27B model can stay cost-competitive with smaller dense models. Alibaba reports cinematic 1080p output up to 15 seconds per clip.
It is API-only. Alibaba has not released Wan 2.7 weights; the open-weight Wan line stops at Wan 2.2 (Apache 2.0, on Hugging Face). You reach 2.7 through Alibaba Cloud Model Studio or an API provider, so price and latency depend on who serves it, which is what the rest of this guide helps you compare.
Sample generated through Modellix's unified API: a first frame from Seedream 4.5, animated by the Wan series image-to-video model (Wan 2.2 i2v-flash). One API key, two models.
Step back from the spec sheet and Wan 2.7's place in the 2026 landscape is clear: it is the cost-performance route. Premium closed models like Google's Veo still lead on raw fidelity, so if absolute output quality is the only metric that matters, that is where to look. Wan 2.7 competes on a different axis. Open weights create real price competition (the per-second rates below), the model is built for fast iteration, and a standard async API makes it straightforward to drop into an existing pipeline. For teams optimizing cost per usable clip instead of chasing the top of a quality benchmark, that is usually the better trade.
Wan 2.7 vs Wan 2.6: What Changed and Whether It Is Worth Switching
If your pipeline was built on Wan 2.6, the move to 2.7 comes down to three deltas.
| Dimension | Wan 2.6 | Wan 2.7 |
|---|---|---|
| Prompt handling | Direct generation | Thinking Mode (plan, then render) |
| Audio | Add-on / separate step | Native synchronized audio |
| Max clip | Shorter single-call clips | Up to 15 seconds at 1080p |
| Weights | API only | API only (open weights stop at Wan 2.2) |
| Best for | Fast, low-cost T2V baseline | Complex prompts, dialogue, longer takes |
Wan 2.6 has been retired on Modellix, so for new work the real choice is between Wan 2.7 and Wan 3.0. Stay on 2.7 when you need negative_prompt, a driving audio track on image-to-video, or video continuation, which 3.0 does not offer. Move to 3.0 when you need clips longer than 15 seconds or want to generate from a pptx, pdf, or web page.
Text-to-Video vs Image-to-Video: Which Endpoint Your Pipeline Needs
Modellix exposes Wan 2.7 as two production endpoints. Picking the wrong one wastes render budget on the wrong input shape.
Text-to-video (wan2.7-t2v) takes a text prompt and generates a clip from scratch. Reach for it when you have no source frame: concept exploration, B-roll, fully synthetic scenes, and storyboard-to-motion work where the look is described, not provided.
Image-to-video (wan2.7-i2v) takes one or more reference images plus a prompt and animates them. Reach for it when the first frame is fixed: product shots that must stay on-brand, character consistency across clips, animating an existing illustration, or any workflow where the visual identity is locked and only motion is generated.
A simple rule: if a human would need to see a picture first to know what the output should look like, use image-to-video. If the prompt alone is enough, use text-to-video. Both endpoints share the same request schema, the same async lifecycle, and the same pricing model, so switching between them is a one-line change.
Wan 2.7 API Request Lifecycle: Submit, Poll, and Retrieve
This section is for developers building Wan 2.7 into a backend, batch job, or agent workflow. If you are still validating creative quality, use the Playground guide first; use the lifecycle below when you are ready to automate generation.
Wan 2.7 video generation is asynchronous. You submit a job, poll for status, then retrieve the result. The pattern is identical across t2v and i2v.
Step 1: Submit the Job
Text-to-video:
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-t2v \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A cyclist riding through neon-lit Tokyo streets at night, cinematic tracking shot, light rain",
"duration": 10,
"resolution": "1080P"
}'
For image-to-video, swap the endpoint and pass a reference image instead of relying on the prompt alone:
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/wan2.7-i2v \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"first_frame": "https://example.com/product-shot.jpg",
"prompt": "Camera slowly orbits the product, soft studio lighting, subtle steam rising",
"duration": 8,
"resolution": "1080P"
}'
The submission response is the same shape for both endpoints:
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}
Pass images and video references as URLs rather than inline blobs. Because Thinking Mode adds planning overhead before generation starts, set your first poll later than you would for a simpler model.
Step 2: Poll for Status
Use the get_result.url from the submission response and sort every response into three buckets:
| Status bucket | Examples | Action |
|---|---|---|
| In-progress | pending, processing |
Back off and re-poll with exponential backoff plus jitter |
| Blocked | invalid_input, content_policy |
Fix the input. Do not retry as-is. |
| Terminal | success, failed |
Collect the result or surface the error. Stop polling. |
A workable cadence for 1080p clips: first check at 20 seconds, then exponential backoff starting at 5s, capped at 30s, with a maximum of 12 attempts. Add roughly 20% jitter when you run concurrent jobs so your polls do not stampede.
Step 3: Retrieve and Validate Results
On a terminal success, the result payload carries the output video URL. Log at minimum the task_id, your own correlation ID, the input hash, the output URL, the estimated cost, and wall-clock time from submit to terminal state. Store the output URL immediately if it feeds a downstream edit or stitch step.
Wan 2.7 API Pricing: Per-Second Billing and How Providers Compare
Alibaba serves Wan 2.7 itself and through API providers, so the price depends on where you call it. Most providers bill text-to-video per second of output, while image-to-video and reference-to-video are often billed per run because of the added conditioning work. The table below compares per-second rates across the providers most teams evaluate, using their public list prices.
| Provider | 720p | 1080p | 10s 1080p clip |
|---|---|---|---|
| Modellix (unified API) | $0.09/s | $0.135/s | $1.35 |
| EvoLink | $0.086/s | $0.144/s | $1.44 |
| getimg.ai | $0.10/s | $0.15/s | $1.50 |
| apiframe | $0.12/s | n/a | n/a |
Modellix rates are from the Wan 2.7 model pages; other rates are each provider's public list price, so check their pages before you commit. At these rates, a 10-second 1080p text-to-video clip runs roughly $1.35 to $1.50. Image-to-video typically costs more per equivalent output: Segmind, for example, lists Wan 2.7 reference-to-video at $0.625 for 720p and $0.9375 for 1080p per request.
Two things drive your actual bill more than the headline rate. First, you pay for output seconds, so your discard rate (failed or rejected jobs) directly shapes monthly cost. Second, resolution: 1080p runs materially more than 720p across every provider, so default to 720p for development and reserve 1080p for final renders.
On Modellix, Wan 2.7 text-to-video lists at $0.09 to $0.135 per second (720P to 1080P), billed per request with full job-level cost logging. It is not the lowest 720P rate in the table; the value sits beyond the headline number: one API key, one billing surface, and the same async pattern whether you call Wan 2.7, Seedance, or Kling. Current per-model rates are listed at docs.modellix.ai/get-started/pricing.
Single-Endpoint Access: One API Key for Every Major Video Model
Running Wan 2.7 direct from one reseller, Seedance from another, and Kling from a third means managing separate accounts, separate API keys, separate billing dashboards, and separate retry and polling logic for each. The moment you want to compare two models on the same prompt, you are reconciling two different response schemas.
Modellix solves this with a unified AI media API: one endpoint, one API key, one billing dashboard, and consistent async job patterns across every model. Wan 2.7 text-to-video and image-to-video, Seedance 2.0, Kling, Seedream, and Hailuo all share the same submit-poll-retrieve lifecycle. The idempotency and observability setup you build for one model works for all of them.
To benchmark Wan 2.7 against another model, you change a slug in the endpoint path, not your architecture. Run the same prompt across Wan 2.7 and Seedance, compare task time and discard rate, then route by use case in production.
From a procurement standpoint, Modellix's parent company JG Group is NASDAQ-listed, which matters when a vendor-stability or audit-trail question lands on the integration. Full billing history and per-job cost logging are available in the dashboard without filing a support ticket.
4 Reliability Patterns for Production Video API Pipelines
Past the proof-of-concept stage, these patterns cut operational pain.
Separate your retry buckets. Keep transient failures (5xx, network timeout before acknowledgment) in an auto-retry queue with backoff, and permanent failures (invalid input, content policy, quota) in an alert-and-stop queue. Mixing them is how you build a silent budget-burning loop.
Validate inputs locally before submitting. Confirm required fields and types, run a preflight HEAD request on every reference URL to check it resolves and meets size limits, and catch logical contradictions in the prompt before they cost a render.
Size timeouts for Thinking Mode. Wan 2.7 plans before it generates, so cold-start and complex-prompt latency runs higher than a direct-generation model. Set your first poll later and your overall timeout longer than you would for Wan 2.6.
Monitor cost slope, not just cost total. Log estimated cost per job including retries, then roll up P50 and P95 weekly. P95 cost-per-job tells you when a new resolution setting is quietly getting expensive before it shows up on the invoice.
Collection unavailable: video-generator
How to Test Wan 2.7 in 30 Seconds
Every method starts with a Modellix account. Sign in with email, Google, or GitHub, add credit, and pay only for what you generate. There is no subscription.
Create your Modellix account →
Method 1: Playground
No code. Open the Wan 2.7 T2V model page, paste a prompt, and review the clip in your browser.
Method 2: API, Through Your Coding Agent
Paste this into Claude Code, Codex, or Cursor. One sentence and one API key are all your agent needs: change the model name and docs link, and the same prompt batch-generates assets with any model on Modellix.
My Modellix API key is mdlx-••••••••••••••••••••••••. Read https://docs.modellix.ai/get-started/index.md and https://docs.modellix.ai/alibaba/wan-2-7-t2v.md, then use Wan 2.7 T2V to generate one 5-second 16:9 clip for each prompt in prompts.txt. Poll each task until it finishes and save the MP4 files to ./clips.
Swap the masked key for your own from the Modellix console. Treat it like a password and share it only with agents you trust. The API guide covers the raw request format.
Method 3: Skill
Install the Modellix skill once. After that, your agent finds the right model and request fields by itself.
npx skills add https://github.com/Modellix/modellix-plugin --skill modellix
Use the Modellix skill to generate a 5-second clip with Wan 2.7 T2V, then download it to ./clips.
Setup for each agent host is in the Skill guide.
Method 4: CLI
For scripts and scheduled jobs. One command submits the task, waits, and prints the result URL.
npm install --global modellix-cli
export MODELLIX_API_KEY="your_api_key"
modellix-cli model run --model-slug alibaba/wan2.7-t2v \
--body '{"prompt":"A cyclist rides through a rainy neon street at night, reflections on wet pavement"}' \
--wait --timeout 15m --quiet
For batches, put one request per line in a JSONL file and run modellix-cli model batch. See the CLI guide.
Frequently Asked Questions About the Wan 2.7 API (2026)
What is the difference between Wan 2.7 text-to-video and image-to-video?
Text-to-video generates a clip from a prompt alone, with no source frame. Image-to-video animates one or more reference images using the prompt for motion direction. Use text-to-video for synthetic scenes and concept work, and image-to-video when the first frame is fixed, such as product or character-consistent content. Both share the same request schema and async lifecycle.
How much does the Wan 2.7 API cost?
Most providers bill text-to-video per second of output. Public list prices run from about $0.086 per second at 720P to $0.15 per second at 1080P, so a 10-second clip lands around $0.86 to $1.50. On Modellix it is $0.09 (720P) or $0.135 (1080P) per second. Reference-to-video and video editing cost more.
Is Wan 2.7 better than Wan 2.6?
For complex prompts, dialogue with synchronized audio, and longer single-call clips, yes. Wan 2.7 adds Thinking Mode, native audio, and clips up to 15 seconds at 1080p. Wan 2.6 has since been retired on Modellix; for clips longer than 15 seconds, look at Wan 3.0 instead.
Is Wan 2.7 open source?
No. Alibaba has not released Wan 2.7 weights; the open-weight line ends at Wan 2.2 (Apache 2.0, on Hugging Face). Wan 2.7 is available through Alibaba Cloud Model Studio and API providers such as Modellix.
Does Wan 2.7 generate audio?
Yes. Wan 2.7 produces synchronized native audio in the same generation pass, rather than requiring a separate lip-sync or sound model. To sync the clip to your own track instead, pass audio_url on text-to-video or driving_audio on image-to-video.
How do I access Wan 2.7 on Modellix?
Get an API key at modellix.ai/console/api-key. Both endpoints are available under the alibaba/ namespace: https://api.modellix.ai/api/v1/alibaba/wan2.7-t2v for text-to-video and alibaba/wan2.7-i2v for image-to-video. No separate Alibaba Cloud account required. The full Wan 2.7 family, including image models, is listed on the Wan 2.7 series page.
How does Modellix pricing compare to going direct to Alibaba Cloud?
Modellix lists Wan 2.7 at $0.09 per second for 720P and $0.135 for 1080P, with no subscription. Alibaba's official rate differs by region, so compare against the region you would actually use. Per-model pricing is at docs.modellix.ai/get-started/pricing. Beyond price, the value is one API key, one billing dashboard, and the same async pattern across Wan 2.7, Seedance, Kling, and Hailuo.
Build with the latest AI models
Explore image, video and audio models through one API.
Start building



