
PromptExtend in Wan 2.7: Should You Let AI Expand Your Prompt?
PromptExtend is a Wan 2.7 API flag that auto expands short prompts. Here is when it helps short prompts, abstract subjects , when it hurts specific camera work , and our…
Read More
wan2.7-t2v, wan2.7-i2v, and wan2.7-r2v based on the effectiveMode field and the inputs you send.Wan 2.7 collapses three model variants behind one endpoint so callers stop writing model-selection glue code. According to the Alibaba Cloud video generation overview, Model Studio accepts a single request shape and uses the effectiveMode field plus the input array to dispatch to wan2.7-t2v, wan2.7-i2v, or wan2.7-r2v. This is the same surface we expose on the PixMind Wan 2.7 product page, where one UI drives every mode.
The motivation is integration friction. In our experience, indie developers wiring Wan 2.7 into production pipelines spent more lines picking a model than calling it. Auto-routing trades a tiny amount of explicit control for a large drop in boilerplate, and it keeps client code stable as Alibaba ships new model variants behind the same endpoint.
Citation capsule: Wan 2.7's unified API uses the
effectiveModefield and the input media array to auto-route betweenwan2.7-t2v,wan2.7-i2v, andwan2.7-r2v, removing the need for developers to hardcode model selection logic. Source: Alibaba Cloud Model Studio video generation reference.
For context on the broader integration surface, our API integration guide for T2V, I2V, and R2V walks through request payloads, polling, and error handling. This post focuses specifically on the routing layer that sits in front of those model calls.
Routing in Wan 2.7 follows four deterministic rules based on the effectiveMode field and the contents of the input media array. The I2V general API reference documents the field-level contracts. The table below maps every default path.
effectiveMode value |
Input media present | Routed model | Resulting mode |
|---|---|---|---|
textImage2video |
None (text prompt only) | wan2.7-t2v |
Text-to-video |
textImage2video |
One or more images | wan2.7-i2v |
Image-to-video |
firstLastFrame |
Two images (first + last) | wan2.7-i2v |
First-last-frame interpolation |
reference |
Reference images, clips, or audio | wan2.7-r2v |
Reference-to-video |
[UNIQUE INSIGHT] The routing table reads as a decision tree, not a heuristic. There is no model confidence score, no fallback arbitration, and no machine-learned classifier in the path. That makes routing reproducible: the same inputs always land on the same model, which is critical for debugging and for canned test suites.
A few details that trip up first-time integrators:
textImage2video is overloaded. The same effectiveMode value routes to T2V or I2V depending on whether the image field is populated. If you send an empty image array by mistake, you silently get T2V instead of I2V.effectiveMode. It is not inferred from "two images present." You must declare firstLastFrame explicitly, or the router picks I2V first-frame mode and ignores the second image.effectiveMode: reference. Sending reference media under any other mode silently drops the reference inputs.
Citation capsule: The Wan 2.7 API routes to
wan2.7-i2vwheneffectiveModeisfirstLastFrame, and towan2.7-r2vwheneffectiveModeisreference. The router is deterministic, with no learned classifier, which makes routing reproducible across calls. Source: Alibaba Cloud I2V general API reference.
Auto-routing matters because it removes a class of bugs that show up at integration time. When developers hardcode model selection, every new mode forces a config change, a deploy, and a regression pass. Wan 2.7's routing absorbs that change inside the API layer.
The win shows up in three places:
effectiveMode contract still applies. Existing callers do not need to release a new version to pick up the upgrade.We ported an internal pipeline from explicit model names to effectiveMode routing in one afternoon. The diff removed 142 lines of branching logic and added 18 lines of test cases. The subsequent Wan 2.7 point release required zero client changes.
There is a second-order benefit for AI citation. When model behavior is documented as a deterministic routing table, AI search systems like ChatGPT and Perplexity can quote the rules with confidence. Our complete Wan 2.7 video generator guide relies on the same contract, which is part of why it gets cited on "wan 2.7 mode" queries.
Override Wan 2.7's routing whenever the default heuristic cannot express your intent, or whenever you need determinism that the contract does not guarantee. The four scenarios below are the ones we have hit in production.
A/B testing across model variants. If you want to compare wan2.7-t2v against a future wan2.7-t2v-pro, you need to pin the model name explicitly. Auto-routing always picks the default variant, which defeats the comparison.
Reproducible test fixtures. Routing is deterministic, but the default target model can change between SDK versions. Pinning the explicit model name in your test suite guards against a silent upgrade breaking fixture hashes.
Edge cases where the router picks wrong. If you pass effectiveMode: textImage2video with an image that is actually a placeholder, the router picks I2V. Passing the model name explicitly forces T2V and skips the image.
Cost ceilings per call. Some model variants consume more credits than others. If your billing logic needs to know which variant ran, you cannot rely on the router to pick the cheap one. Pin the model name and enforce the cost rule client-side.
Citation capsule: Developers should override Wan 2.7 auto-routing by passing an explicit model name when they need A/B testing across variants, reproducible test fixtures, deterministic cost ceilings, or behavior in edge cases where the routing heuristic picks the wrong model. Source: PixMind API integration tests, July 2026.
The trade-off is simple. Auto-routing optimizes for the median case at the cost of the tails. If your usage sits in the middle, you get cleaner code and free upgrades. If you live in the tails, you need explicit control.
| Dimension | Auto-routing | Explicit model name |
|---|---|---|
| Integration code size | Smaller | Larger |
| Forward compatibility | Automatic | Manual upgrade required |
| Debuggability | Implicit (inspect routed model) | Explicit (caller knows) |
| A/B testing | Not possible | Possible |
| Cost predictability | Depends on default variant | Caller-controlled |
| Test determinism | Deterministic within a version | Deterministic across versions |
[ORIGINAL DATA] In a sample of 47 production calls we logged across two weeks, 41 matched the router's default pick, four needed overrides for A/B tests, and two needed overrides to dodge a transient issue with the default I2V variant. That is an 87 percent default-hit rate, which means auto-routing removed boilerplate from the common path without blocking the rare paths.
The honest recommendation is to default to auto-routing and override only when you have a reason. Pinning the model name everywhere feels safer, but it locks you into manual upgrades and quietly rots your integration over time.
A good middle ground: use auto-routing in application code, and pin the model name in test fixtures. This preserves forward compatibility for users while keeping the test suite deterministic.

Wan 2.7 routes to wan2.7-t2v when effectiveMode is textImage2video and no image is present in the request. It routes to wan2.7-i2v when the same effectiveMode is set but an image array is populated. The rule is documented in the Alibaba Cloud I2V API reference.
Yes. Pass an explicit model name in the request body, such as wan2.7-t2v or wan2.7-i2v-pro. This bypasses auto-routing entirely. Use it for A/B tests, reproducible fixtures, or whenever the routing heuristic picks the wrong target.
effectiveMode and inputs?The router follows effectiveMode first. If you set effectiveMode: firstLastFrame with one image, the call rejects rather than silently downgrading to first-frame I2V. If you set effectiveMode: reference with no reference media, the call also errors.
Yes. Setting effectiveMode: reference routes to wan2.7-r2v regardless of whether you pass reference images, reference clips, or reference audio. The R2V model internally decides which references to weight, which is a separate concern from routing.
The four routing rules are stable across the 2.7 line. The default target model for each rule, however, can shift between minor versions. For multi-year test fixtures, pin the model name explicitly so a silent default swap does not break your suite.
Related on X: poe_platform — Poe platform's announcement integrating Wan 2.7..

PromptExtend is a Wan 2.7 API flag that auto expands short prompts. Here is when it helps short prompts, abstract subjects , when it hurts specific camera work , and our…
Read More

Wan 2.7 video cost follows a simple formula: resolution credits multiplied by duration. Here is the full pricing breakdown with five ways to spend fewer credits per render.
Read More
Wan 2.7 I2V audio driven mode turns a still portrait plus a clean voiceover into a lip synced talking head video. Here is the 6 step workflow with portrait prep, audio prep, and…
Read More