Seedance 2.5 from ByteDance is officially available on Apiframe.

Wan 2.7: The Complete Guide (2026)

Alibaba's Wan 2.7 explained: Thinking Mode, native audio, instruction-based editing, and how to call the API. Real examples included.

Renaud Last updated November 1, 2026 April 25, 2026 · 8 min read Beginner
Wan 2.7: The Complete Guide (2026)

Wan 2.7 is Alibaba Tongyi Lab's flagship AI video model, and it comes from a completely different family than ByteDance's Seedance line. It covers four modes (text-to-video, image-to-video, reference-to-video, and editing by instruction) with a planning step before generation and audio created alongside the picture. This guide covers what it is, what it can do, how pricing and access work, and how it compares with earlier Wan versions and with Seedance.

What is Wan 2.7?

Wan 2.7 is Alibaba Tongyi Lab's flagship AI video model, released in April 2026. It is not a single generation mode but a set of four: text-to-video, image-to-video, reference-to-video, and editing by instruction, all reachable through one API. You can generate a clip, animate a still, hold it to a reference, or revise it without switching tools.

Alibaba tested an early version of the model publicly under the codename Happy Horse before the Wan 2.7 name was attached to it. If you came across that name first, our Happy Horse 1.1 guide covers that side of the story.

Key features

Four modes in one model family. The same family handles generating from text, animating a still image, working from references, and revising a clip you already have, so you are not stitching together separate tools for each stage. Our AI video API guide has more on how multi-mode models compare with single-purpose ones.

Thinking Mode. Before generating, Wan 2.7 reads and plans your prompt, working out how the scene fits together first. In practice, that means clear direction on subject, lighting, camera, and mood gets you a more deliberate result rather than a loose match on keywords. Our piece on how prompt writing affects photorealistic output covers how to write that kind of direction.

Audio made with the video. It creates ambient sound, lip-synced dialogue, and background music in the same pass as the picture, and it can copy a voice from an audio reference instead of needing a separate voice model. For a wider look at which models do this, see our roundup of APIs that support synchronized audio with generated video.

First and last frame control. Set an opening frame and a closing frame, and Wan 2.7 fills in the motion between them. Useful whenever the exact first and last shot matters, such as a logo reveal or a before-and-after.

Editing by instruction. Give it a clip you already have plus a written instruction (change the background, swap an object, move the camera), and it applies the change to one area or across the whole clip without rendering from scratch. Our AI video editing API guide covers this kind of workflow in more depth.

Consistency across several references. It takes up to five image or video references to hold a character's identity and voice steady from shot to shot, alongside motion that follows real-world physics and 1080p output, and it runs noticeably faster than earlier Wan versions. The same approach applies to still images, which we cover in our guide to using reference images in AI image generation.

Specs at a glance

Aspect ratios16:9, 9:16, 1:1, 4:3, 3:4
Resolutions720p, 1080p
Durations2 to 15 seconds
AudioSupported, including voice copying from a reference
Avg. completion time~180 seconds
Image inputSupported (first frame, last frame, references)
Reference inputsUp to 5 images or video clips

Wan 2.7 vs Wan 2.5 and 2.6

If you are still on an earlier Wan version, or you searched for "Wan 2.5" or "Wan 2.6" and landed here instead, this is what is actually new in 2.7.

Thinking Mode and editing by instruction are both new in this release. Neither 2.5 nor 2.6 plans the prompt before generating, and neither supports text-driven changes to a clip you already have. Reference handling has also moved on: earlier versions took fewer references at once, while 2.7 takes up to five images or video clips to hold a character's identity and voice across a sequence. First and last frame control existed in an earlier form but is more reliable here, and generation is faster across the board.

If your work leans on editing existing footage or needs a character to stay recognizable across several shots, 2.7 is worth the move. If you are making simple one-off text-to-video clips, the practical difference is smaller. Our guide to testing the quality of AI-generated video gives you a consistent way to judge that on your own footage.

How to use Wan 2.7 (via API)

Using Wan 2.7 through an API follows the same pattern as most current video models: get a key, send a request, and collect the result.

bash
curl -X POST https://api.apiframe.ai/v2/videos/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
        "prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
        "model": "wan-2.7",
        "wan27Params": {
            "resolution": "720p"
        }
    }'

That returns a jobId right away, because generation runs in the background rather than holding the request open. Jobs finish in around three minutes on average. From there, keep checking the job status until it shows completed, or register a webhook so the result comes to you instead, which is the better pattern once you are past testing. Our walkthrough on setting up webhook callbacks for media generation shows how to wire that up.

For image-to-video, pass an image as the first frame. For first and last frame control, add a last_frame alongside your starting image or clip. For editing by instruction, point first_clip at an existing video and describe the change in your prompt. Our text-to-video API guide covers the full set of options, including negative prompts, automatic prompt expansion, and seeds for repeatable output. For a hands-on walkthrough with real code, see the text-to-video Python tutorial or, if you are starting from a still, the image-to-video Python tutorial.

Wan 2.7 examples and prompts

A few real prompts that show the range of what Wan 2.7 can do.

Text-to-video: "A 5-second clip of a chef slicing vegetables in a modern kitchen, smooth left-to-right pan, cinematic lighting."

Image-to-video: "A 5-second clip animating this product photo, slow turntable rotation, soft studio light." Pairs well with the catalog workflow in our AI product photography API guide.

First and last frame: "A 5-second clip morphing a closed flower bud into a full bloom," with the bud as the first frame and the open flower as the last.

Reference-driven consistency: "A 5-second clip keeping this character consistent as she walks through a busy market."

Audio in the same pass: "A 5-second clip of a drone rising over a mountain river at sunset, orchestral background music."

Editing by instruction: "Edit this 5-second clip, change the background to a rainy night, and keep the subject and motion intact."

Pricing and access

Wan 2.7 is billed per second of generated video, so a longer clip costs proportionally more, and resolution changes the per-second rate. You only pay for successful generations. For exact current rates, check the Wan 2.7 API page, since per-second pricing is worth confirming live rather than trusting a figure quoted in an article. For how it compares with other video models, see our AI video API pricing guide, and to work out what it means at your volume, our guide to estimating the monthly cost of AI video generation.

On access, you can reach Wan 2.7 through Alibaba Cloud Model Studio and the official Wan site, or through a unified API such as Apiframe, which gives you one key and one endpoint across every model on the platform rather than a separate account per provider. New Apiframe accounts come with free credits, so you can send real requests before adding billing.

How Wan 2.7 compares to Seedance

Wan 2.7 and ByteDance's Seedance line are two of the most complete video families available right now, and they solve overlapping problems in different ways. Wan 2.7's edge is Thinking Mode and editing by instruction: if your work involves revising existing footage with plain written instructions rather than regenerating from scratch, Wan 2.7 is built for that in a way Seedance is not. Seedance 2.5 goes further on single-pass length (30 seconds against Wan's 15) and on references (up to 50 against Wan's 5).

If you are deciding between them, or want the full picture on ByteDance's side, our Seedance 2.0 guide and Seedance 2.5 guide cover that family in the same depth as this page. Our Kling 3.0 guide and Veo 3 API guide do the same for two other strong options, and our roundup of the best AI video generation APIs puts Wan, Seedance, Kling, and others side by side.

What's next: Wan 3.0

Alibaba has since released Wan 3.0, which raises single-pass clip length from 15 to 30 seconds and keeps audio generated in the same pass. If 15 seconds covers your work and you already have prompts tuned for 2.7, there is no urgency to move. If you need longer single takes, 3.0 is the one to look at.

FAQ

What is Wan 2.7?

Wan 2.7 is Alibaba Tongyi Lab's flagship AI video model, released in April 2026. It covers four modes: text-to-video, image-to-video, reference-to-video, and editing by instruction.

What is Thinking Mode?

A planning step where the model reads and structures your prompt before generating, so clear, detailed direction produces a more deliberate result.

Does it generate audio?

Yes. Wan 2.7 creates audio in sync with the picture, including ambient sound, lip-synced dialogue, and background music, and it can copy a voice from a reference.

Can it edit existing videos?

Yes. Editing by instruction lets you change the scene, style, objects, or action in a clip you already have, using a written instruction, applied to one area or across the whole clip.

How is Wan 2.7 different from Wan 2.5 and 2.6?

Thinking Mode and editing by instruction are new in 2.7, reference handling now takes up to five inputs, and generation is faster overall. See the comparison section above.

How much does the Wan 2.7 API cost?

It is billed per second of generated video, and resolution affects the rate. Check the Wan 2.7 API page for current pricing.

Where can you access it?

Through Apiframe, as well as Alibaba Cloud Model Studio, the official Wan site, and the Qwen app.

💡
Ready to try it? Get an API key and start with free credits, or head to the Wan 2.7 API page for the full docs and live pricing.

Power your next AI product with Apiframe.

Instant access to 70+ media models through a single API. Start free and scale when you're ready.