Skip to main content

Alibaba's Wan 2.2 text-to-video turns a written shot into one silent five-second clip. Choose 16:9 or 9:16 and 480p or 720p, with optional prompt expansion and a seed to repeat a draw.

Filtering differs by endpoint: Image to video — Softened, Text to video — Filtered.

From $0.24/request

Workbench

Input

Text to video
353/5000
The shot itself, up to 5,000 characters: who, one action, one camera move, then light. A clear verb moves the result more than a stack of adjectives. at least 1 characters · at most 5000 characters
16:9 or 9:16, default 16:9. There is no square or 4:3 option on this endpoint.
affects price
480p or 720p, default 480p. It is the only setting that changes the price.
Prompt expansion
Off by default. When on, a short brief is rewritten into a fuller one before generation; leave it off once your prompt is a precise shot description.
Seed
0 to 2147483647. Hold it while comparing one change at a time; leave it out for variety. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
Example result

Related models and next tasks

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

One written shot, one fixed five-second clip

The Wan 2.2 text-to-video API turns a written shot of up to 5,000 characters into a single five-second video with no soundtrack, rendered at 480p or 720p in either 16:9 or 9:16. Those are the two resolutions Alibaba lists for the open-weight Wan 2.2 text-to-video and image-to-video models it published in July 2025. Billing here is per clip rather than per second, so a crowded street scene and a locked-off portrait cost the same at the same tier.

Open the playground
One written shot, one fixed five-second clip
Prompt length
Up to 5,000 characters
Clip length
5 seconds, fixed — no duration field
Resolution
480p or 720p (default 480p), sets the price
Aspect ratio
16:9 or 9:16, default 16:9
Audio
None, picture only
Seed
0 to 2,147,483,647, optional
Per clip, not per second
What the prompt asks for never moves the priceThis endpoint charges one price per clip, and the resolution tier is the only field on the request that shifts it. Five seconds of a crowd scene and five seconds of a static portrait are charged the same at 480p, so a queue of a hundred prompts can be costed from the tier alone.
Shape is a submit-time choice
Pick 16:9 or 9:16 before you writeaspect_ratio is set on the request, and the API has no crop step after generation. A clip that comes back in the wrong shape has to be recropped in an editor, so settle the delivery frame first and write the framing of the shot to match it.
Optional rewrite
Prompt expansion stays off unless you askenable_prompt_expansion defaults to false, so the text you send is the text that reaches generation. Switch it on when a brief is one thin line, and leave it off once the prompt already names subject, action, camera and light.

What the Wan 2.2 API does well

One request, one clip, one price

One request, one clip, one price

Every call returns exactly one five-second video, and no field asks for more or less time. That takes duration out of cost planning: a request is priced by the tier it runs at, and nothing in the wording of the prompt changes that number.

Two delivery shapes, nothing in between

Two delivery shapes, nothing in between

16:9 and 9:16 are the two shapes this endpoint renders, chosen with aspect_ratio at submit time. There is no square option, no 4:3 and no custom width and height, so a placement that needs any other shape has to be cut out of one of these two after the clip comes back.

  • Prompt expansion as an opt-in step

    A one-line idea can be filled out into a longer shot description before the render starts, which helps when the brief is thin. Once the prompt already carries subject, action, camera and light, leaving the flag off keeps the result closer to the words you sent.

  • Seed isolates one change at a time

    Holding seed constant while editing only the wording lets two outputs be compared against each other. The schema is clear that this is not a frame-identical guarantee, only a way to keep one input fixed while another one moves.

  • Draft cheap, re-render the keeper

    480p runs the same prompt at a lower price than 720p, so early passes can stay on the cheaper tier while the shot is still being worked out. Resubmitting the kept prompt and seed at 720p renders the idea again at the higher tier; expect a close take, not the same frames.

  • Standard async task lifecycle

    Create calls accept an Idempotency-Key, and the task that comes back can be polled or delivered to a callback URL you register. After a network timeout, that stored key finds the task that already exists instead of starting a second one.

Who Wan 2.2 is for

  • A retry loop that cannot double-render a line

    Pipeline builders

    A retry loop that cannot double-render a line

    A batch worker can hold one Idempotency-Key per prompt in its job table. When a request times out and the loop retries, the key resolves to the task already created for that line, so a flaky connection costs waiting time and not a second render.

  • 9:16 renders without a delivery-time crop

    Social and vertical-first teams

    9:16 renders without a delivery-time crop

    With aspect_ratio set to 9:16, the render is portrait from the first pass, so nothing is discarded when the clip reaches a feed that shows it full-height. The alternative, generating 16:9 and cutting the sides off, throws away part of every frame you paid for.

  • Isolate wording changes with a fixed seed

    Prompt engineers

    Isolate wording changes with a fixed seed

    Holding aspect_ratio, resolution and seed constant while rewriting only the clause under test lets a shift in the output be attributed to that one edit, instead of to several variables moving together across two calls.

  • Discover the shot from words alone

    Teams without a starting frame yet

    Discover the shot from words alone

    When no reference image exists, this endpoint composes subject, action, camera and light from a written brief. Once a frame has been chosen or approved to build from, the image-to-video endpoint on this same family takes the work forward.

How to call the Wan 2.2 API

  1. Choose aspect_ratio before drafting

    16:9 or 9:16 is fixed once generation starts, and the API has no crop step afterwards. Settle the delivery shape before writing the prompt instead of deciding it after the first result comes back.

  2. Write the shot as one beat

    Name the subject, the single thing it does, how the camera behaves and the quality of the light. Five seconds does not hold a sequence of events, so a brief listing three of them usually returns a clip where none reads.

  3. Leave enable_prompt_expansion off for a precise brief

    Turn this field on only when the prompt is short or vague and needs filling out. A shot description that already states action, camera and light does not gain from being rewritten first.

  4. Draft at 480p with the seed held

    Generate the cheaper resolution tier while the shot is still being worked out. Keep the same seed if the next call only changes the wording, so the comparison between the two takes stays fair.

  5. Re-render the chosen take at 720p

    Resubmit the same prompt and seed with resolution set to 720p once a draft from the cheaper tier is worth delivering, instead of regenerating the shot from a freshly written prompt.

  6. Submit with an Idempotency-Key

    Store the returned task id, then poll the task or register a callback URL to receive the result. Look up the existing task after a timeout instead of creating a duplicate by resubmitting.

Wan 2.2 worked examples

  • A single camera move on a fixed subject

    One action and one camera direction keep the five-second window from trying to hold more than it can carry, which is the most common failure mode on a fixed-duration endpoint like this one.

    A glassblower turns a molten orange sphere at the end of a long pipe inside a dim workshop, sparks drifting past the lens, camera slowly circling the piece at waist height, warm firelight against a dark background
  • A 9:16 portrait shot for a vertical feed

    Portrait framing and a single continuous gesture loop cleanly without needing a crop after generation, which matters most for social placements where the frame is fixed by the platform, not the creator.

    Vertical shot of rain falling on a café awning at night, a hand reaches into frame to wipe condensation from the window, neon signage reflected on wet glass, static camera, slow motion
  • Testing wording with a fixed seed

    Locking the seed while only changing the adjective describing the light isolates that one variable across two calls, so the difference in the output can be attributed to the word that changed.

    A cyclist rides along an empty coastal road at golden hour, long shadows stretching across the tarmac, camera tracking alongside at a steady pace, warm low sun flaring at the edge of frame

Wan 2.2 API questions

Write the shot as one continuous moment: name the subject, the single thing it does, how the camera behaves and the quality of the light. Five seconds cannot carry a sequence, so a brief that lists three things happening in a row usually returns a clip where none of them reads clearly. Pick the moment worth holding, describe only that, and put the rest in a second request.

All Wan models22

Video models18