Wan 2.7 API

Create with references. Refine with words.

Hosted access to Alibaba’s Wan 2.7 video model on APIstable. Create from text, opening and ending frames, or up to five image and video references (10s max output with video references; voice samples attach to character images), or edit a 2–10s clip.

2–15s clips720p & 1080pNative audio4 modes in 1 API
Input
SpecificationsExample settings: 720p · 2s
Resolution
2s
Aspect ratio
The Playground always screens prompts and input images. To disable screening via the API, set nsfw_check to false.
Advanced settings
0 / 500Optional undesired content, up to 500 characters.
An integer between 0 and 2147483647. A fixed seed does not guarantee different outputs.

Checking availability…

OutputExample asset
Download MP4
0:00 / 0:00
/ Features

Wan 2.7 API Features

Define both opening and ending

Provide a starting frame and an optional ending frame to guide how a shot transitions between two planned compositions.

Keep characters and settings recognizable

Combine up to five reference images and clips to guide recurring characters, products, locations, and visual style across new shots.

Give a character a reference voice

Pair a voice sample with a character image so dialogue scenes reflect the tone and vocal identity you want.

Revise existing footage with words

Edit a 2–10 second source clip using written directions and up to four reference images to adjust outfits, objects, backgrounds, or style.

Keep original audio or generate new sound

When editing footage, choose whether to preserve the source clip’s dialogue and music or generate fresh sound to fit the edited scene.

Choose the length of your shot

Text, image, and image-only reference clips support 2–15 seconds; video references cap output at 10 seconds. Edits follow the source length or shorten it to 2–10 seconds, never beyond the source.

Add prepared audio to an image scene

In image-to-video mode, pair an opening image with one 2–30 second voiceover or music track to guide the scene. Video output still stays within 2–15 seconds.

1080p API default; 720p for lower-cost tests

All four workflows default to 1080p in the API. Choose 720p when you want a lower-cost concept test, and review each generated clip before delivery.

/ Use cases

Wan 2.7 API Use Cases

Product reveals between two keyframes

Connect a before-and-after still or two storyboard frames to stage a guided camera move or packaging reveal.

Recurring characters in new scenes

Place the same character or brand mascot into fresh locations and angles using reference images for stronger visual continuity.

Dialogue scenes with reference voices

Match a character portrait with a short voice sample to prototype talking-head beats and character-led spots.

Multi-asset storyboard drafts

Storyboard artists can combine character, prop, and location references with written scene directions to create a draft for reviewing composition and art direction.

Motion-led edits of a short clip

Creative teams can use video editing with a 2–10 second source clip and reference images to try changes to the subject or look while directing motion in the edit prompt. Review how closely the result follows the source.

Wardrobe, prop, and background revisions

Update clothing, swap props, or change a backdrop on an existing 2–10 second clip without filming again.

Visual restyling of live footage

Transform an existing short clip into a new lighting mood, color palette, or illustrative look using text and reference stills.

Visual edits that keep dialogue

Editors can change a short talking-head scene while keeping its source audio. If the output is shortened, the retained sound corresponds to the shortened segment.

/ Examples

Wan 2.7 API examples

Watch Wan 2.7 examples, then load a prompt and workflow into the workbench to try them.

Blue glass light study
Text to video2s · 1:1

Blue glass light study

A single transparent cobalt-blue glass sphere on a matte cream stone pedestal, slow smooth camera orbit, crisp moving caustic reflections and soft studio shadows, premium macro product cinematography. No people, logos, text, music, or speech. Gentle airy room tone.

265 chars
Steampunk woman and robot underwater
References5s · 16:9

Steampunk woman and robot underwater

Steadicam tracking shot from the side. A wide underwater boulevard lined with glowing lanterns and coral archways, fish drifting between the buildings. The steampunk woman (image1) walks slowly along the street, one hand trailing along a brass railing, head turning to take it all in. The robot (image2) walks beside her, slightly behind. Camera tracks them from the right. Woman: "How long has it been here?" Robot: "Four hundred and twelve years." Woman (stopping): "And no one found it?" Robot: "No one looked."

Add at least 1 reference image or video to generate (this prompt references 2 character images: image1 for the steampunk woman and image2 for the robot).
514 chars
Sunglass flamingos and Dutch angle
Frames10s · ≈16:9

Sunglass flamingos and Dutch angle

The flock of flamingos in yellow sunglasses stands in the bright daylight as in the image. The camera frame slowly tilts to a Dutch angle. Funky bass groove begins. One flamingo — slightly taller than the others — notices the tilt, looks directly at the lens, then deliberately tilts its own head to match. Flamingo: "Better. Now we're both weird."

Add a first frame to generate
348 chars
TV-headed office figure
Frames10s · ≈16:9

TV-headed office figure

Starting from the front view, the camera slowly orbits behind the TV-headed figure, settling over its shoulder and looking out across the dim, blurred office into the darkness beyond. A deep ambient bass tone hums. The figure doesn’t move, but the screen’s glow casts a faint rectangle of light forward into the dark room. TV Head (quietly): “Something’s out there.” The screen flickers once. “It’s been watching us back.”

Add a first frame to generate
422 chars
Two people in a parked car
Text to video10s · 16:9

Two people in a parked car

Rain-streaked glass, night, interior car — dashboard light only. Two people sit in a parked car outside a lit house, neither moving. Woman (staring ahead): "I don't know how to go in there and pretend everything's fine."

220 chars
Child and talking fox at a campfire
Text to video10s · 16:9

Child and talking fox at a campfire

Prompt inferred from the video

At a small campfire in a dense green forest at dusk, a young child in a cream shirt sits beside a large gray-orange fox. Cut from a wide two-shot to the child speaking and then the fox replying, with warm firelight on their faces and a soft leafy background. Storybook cinematic realism. The audible script was not transcribed.

327 chars
Chess players replaced by bear and dog
Video edit5s · 16:9

Chess players replaced by bear and dog

Replace the two elderly men with the bear from image1 and the dog from image2. The bear sits on the left side of the chess table, the dog sits on the right. Both retain the original chess-playing posture and movements. Keep the wooden table, chess pieces, warm lamp lighting, and cozy room atmosphere unchanged. Add ambient sounds of a crackling fireplace and the soft click of chess pieces being placed.

Add a 2–10s source video to generate (to recreate this edit, also add 2 optional reference images: image1 for the bear and image2 for the dog).
404 chars
Winter shoreline video edit
Input
Output
Video edit2s · 16:9

Winter shoreline video edit

Keep the white paper boat, its motion, camera movement and water ripples unchanged. Replace the distant background with a softly blurred snowy mountain shoreline and cool blue winter light. Preserve realistic paper texture and gentle water sounds. No people, writing, logos, music, or speech.

292 chars

Wan 2.7 API · Pricing

One per-second rate across all four Wan 2.7 workflows (default 1080p). Text and image generation bill output seconds; reference-to-video and video editing bill input video seconds plus measured output seconds.

+10%
Top up $1,500+ and get 10% bonus credits.
View top-up options
WorkflowOutput resolutionStandardWaveSpeedfal
Text to video720pWith bonus ≈ $0.077 / sRegular $0.085 / s17.0 credits / s$0.100 / s29.4% more$0.100 / s29.4% more
Text to video1080pWith bonus ≈ $0.127 / sRegular $0.140 / s28.0 credits / s$0.150 / s17.9% more$0.150 / s17.9% more
Image to video (first/last frame)720pWith bonus ≈ $0.077 / sRegular $0.085 / s17.0 credits / s$0.100 / s29.4% more$0.100 / s29.4% more
Image to video (first/last frame)1080pWith bonus ≈ $0.127 / sRegular $0.140 / s28.0 credits / s$0.150 / s17.9% more$0.150 / s17.9% more
Reference to video720pWith bonus ≈ $0.077 / billable sRegular $0.085 / billable s17.0 credits / billable s-$0.100 / billable s29.4% more
Reference to video1080pWith bonus ≈ $0.127 / billable sRegular $0.140 / billable s28.0 credits / billable s-$0.100 / billable s21.4% less
Video edit (5s source → 5s output)720pWith bonus ≈ $0.155 / output sRegular $0.170 / output s34.0 credits / output s (17.0 credits / billable s × 2)$0.200 / output s29.4% more$0.100 / output s35.3% less
Video edit (5s source → 5s output)1080pWith bonus ≈ $0.255 / output sRegular $0.280 / output s56.0 credits / output s (28.0 credits / billable s × 2)$0.300 / output s17.9% more$0.150 / output s41.1% less
/ API

Integrate the Wan 2.7 API

The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.

  1. Choose an input

    Write a prompt, add any reference files, and choose the video settings.

  2. Review the request

    Confirm the mode, resolution, and clip length. Each request returns one video; reference and edit workflows also bill input-video seconds.

  3. Read the result

    Use the task ID to check the status and retrieve the video URLs.

Parameter
Description
modelwan-2.7
inputwan-2.7 text_to_video: public HTTPS media without credentials, custom ports, or # fragments; 1 video per request; fallback unavailable. Billable seconds = requested output seconds. Video continuation and effects templates are not supported. When nsfw_check is true, APIstable screens text and images before submission; omitted or false skips APIstable screening. Video and audio are passed to the model provider, which applies its own moderation.
input.modeExplicit workflow mode: text_to_video (default), image_to_video, reference_to_video, or video_edit; never inferred from media.
input.promptRequired scene instruction, 1–5,000 characters.
input.resolutionOutput resolution: 720p (17.0 credits/billable s) or 1080p (default, 28.0 credits/billable s).
input.durationOutput seconds, integer 2–15 (default 5).
input.aspect_ratioOptional output aspect ratio (16:9, 9:16, 1:1, 4:3, 3:4); defaults to 16:9.
{
  "model": "wan-2.7",
  "input": {
    "prompt": "A single transparent cobalt-blue glass sphere on a matte cream stone pedestal, slow smooth camera orbit, crisp moving caustic reflections and soft studio shadows, premium macro product cinematography. No people, logos, text, music, or speech. Gentle airy room tone.",
    "resolution": "720p",
    "aspect_ratio": "1:1",
    "seed": 20261125,
    "watermark": false,
    "prompt_extend": true,
    "nsfw_check": true,
    "output_count": 1,
    "official_fallback": false,
    "duration": 2,
    "mode": "text_to_video"
  }
}
/ Compare

Compare Wan 2.7 API with other Wan models

Use one APIstable key across Wan 2.6, Wan 2.7, and Wan 3.0. Pick the version that matches your inputs, clip length, and budget.

ModelBest forResolutionDurationStarting rate
Wan 2.7 APICurrent pageOpening and ending keyframes, up to 5 image or video references (2–10s with video references), voice samples attached to character images, and text-guided editing of existing clips.720p / 1080p2–15s; with video references: 2–10s. Edits keep source length or shorten it.720p · 17.0 credits ($0.085) / billable s
Wan 2.6 APIPrompt or opening-image clips with synchronized sound, multi-shot storytelling, and the lower 2.6/2.7 rate.720p / 1080p5s / 10s / 15s720p · 13.0 credits ($0.065) / s
Wan 3.0 Standard APILonger clips up to 30 seconds or automatic length, broader multimodal references, documents or public static webpages, and optional fallback.480p / 720p / 1080p2–30 seconds or automatic480p · 7 credits ($0.035) / s
Wan 3.0 Prime APISame Wan 3.0 capabilities and input options on a separate published rate tier, with optional fallback.480p / 720p / 1080p2–30 seconds or automatic480p · 11 credits ($0.055) / s
/ FAQ

Wan 2.7 API FAQ

Find answers about pricing, generation results, and API access.

Which creative workflows does Wan 2.7 support?

Wan 2.7 supports four workflows under one public model: text-to-video, opening/ending keyframe animation, multi-reference video generation with optional character-image voices, and text-guided editing of an existing short clip. API requests default to text-to-video when mode is omitted and require an explicit mode for the other three workflows.

When should I choose Wan 2.7 over Wan 2.6 or Wan 3.0?

Choose Wan 2.7 for ending frames, multiple references, image-bound character voices, finer duration choices, or editing an existing short clip. Choose Wan 2.6 for lower-cost prompt or single-image generation. Consider Wan 3.0 for longer or automatic-length clips, documents, or public static webpages; reference-video input plus output must remain within 30 seconds.

What can Wan 2.7 video editing change?

Video editing revises a 2–10 second source clip using written directions and up to four optional reference images—such as changing outfits, props, backgrounds, visual style, or directed motion. It can keep the source length or shorten it from the start, but cannot extend past the source duration.

What is the difference between text and image modes?

Text-to-video takes only a prompt and lets you pick from five standard aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4). Image-to-video requires an opening frame—which sets the output proportions—and optionally accepts an ending frame and one custom soundtrack.

What media can I upload?

Use public HTTPS links for images (JPEG, PNG, BMP, or WebP—all without alpha channels), MP4/MOV video clips, and WAV/MP3 audio. Reference mode accepts up to 5 images and videos combined (including an optional first frame), while video editing takes one 2–10s source clip and up to 4 images. Check the workbench tooltips or API docs for exact file-size, pixel, and duration limits.

How do I start using the Wan 2.7 API?

Create an API key and submit tasks to APIstable’s task-creation endpoint using model "wan-2.7", then poll the task ID for the finished video. Omitting the mode defaults to text-to-video; specify the mode explicitly for image, reference, or video-edit workflows.

How can I keep a shot more stable?

Community testing suggests focusing each clip on a single main subject, one clear camera or subject move, and concrete sound cues—and keeping fast multi-subject action simple. These practices can help, though visual consistency is never guaranteed and results still require review.

Will a reference image preserve every facial or product detail?

Reference images and videos guide appearance, clothing, and setting, but they do not guarantee identical faces, hands, or small text across every frame. Always inspect generated clips before publishing.

How are Wan 2.7 generation, references, and edits priced?

Text and image modes bill requested output seconds, while reference and edit modes bill every supplied input video’s seconds plus measured output seconds (images and voice clips add no video seconds). For example, editing a 5s clip at 1080p at full length bills 10 seconds (280.0 credits / $1.400). See the Wan 2.7 API · Pricing section above for 720p/1080p rates and top-up bonus pricing.

How long can each workflow generate?

Text, image-to-video, and image-only reference clips accept integer durations from 2 to 15 seconds (default 5s). Adding any reference video lowers the cap to 10 seconds, and video editing either matches the 2–10s source or trims it from the start.

How do soundtracks, character voices, and original audio work?

Wan 2.7 always generates native audio (no global mute toggle). Custom audio is mode-specific: image-to-video takes one 2–30s soundtrack, reference mode binds a 1–30s voice clip to a character image only, and video editing chooses between keeping source audio or regenerating it.

Can Wan 2.7 extend clips, output 4K, or use separate model IDs?

No. APIstable does not expose video continuation/extension or 480p/4K output on Wan 2.7, and editing cannot lengthen a source clip. All four workflows run under model "wan-2.7" rather than separate R2V or video-edit model IDs.

What happens if generation fails, and how long are outputs stored?

Failed generations charge 0 credits and release reserved credits automatically, and final settlement never exceeds the reserved cap. Wan 2.7 runs on a single direct channel (one video per request, no fallback) and retains archived outputs for 14 days. APIstable screens text and images before submission. Video and audio are passed to the model provider, which applies its own moderation.

CREATE VIDEO

Try the Wan 2.7 API now

Enter a prompt and generate a video in the workbench.