About Wan 2.2
Wan 2.2 image to video requires image_url and prompt and returns one five second silent clip.
Call it with the model name alibaba/wan-2.2/image-to-video on POST /jobs/createTask, from $0.24.
Introduction
Wan 2.2 Image to video starts from a picture you supply and animates what happens next. Two inputs are required: an opening frame in JPEG, PNG or WebP of up to 10 MB, and a prompt of up to 5,000 characters that describes the motion. Each request returns one silent five-second clip at 480p, the default, or 720p.
Choose a Wan 2.2 mode by starting material
| What you have at the start | Mode | What the request needs |
|---|---|---|
| a written scene or script | Wan 2.2 Text to video | a prompt; 16:9 or 9:16 |
| a still you want to keep | Wan 2.2 Image to video | an image and a prompt; the frame sets the shape |
Key features
The frame carries the appearance
Subject, wardrobe, set and light direction all come from the opening image, so the prompt does not have to describe them again. That makes this mode the right one for material that has to match: in the serum-bottle example the frame fixes the label and silhouette, and the prompt asks only for a camera arc and moving light.
The shape comes from the image
There is no aspect-ratio setting on this endpoint. 16:9 and 9:16 are the safest proportions, because a frame in other proportions can come back resized and centre-cropped. Crop the image to the delivery shape before you upload it.
Fixed length, picture only
Every take is five seconds of video without sound, and neither length nor audio can be changed. With those fixed, motion is the only variable, which is why each published example asks for a single movement or a single cause and effect.
Prompt expansion changes more than the wording
Prompt expansion is off by default. Switching it on can change the look of the render, not only the text of the brief, so compare against a run with it off before you keep it. The chime-and-the-figure example leaves it off so that its sentence runs exactly as written.
Request parameters
| Parameter | Required | Description |
|---|---|---|
enable_prompt_expansion | No | Lets the model add detail to a short prompt. Default: false |
image_url | Yes | The picture to start from. |
negative_prompt | No | Things you don't want to see. |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 480p · 720p · Default: 480p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per run |
|---|---|
| resolution 480p | $0.24 |
| resolution 720p | $0.48 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Moving a product still
Send an approved packshot and ask for a camera move or a change in light while the product stays where it is. The serum-bottle example shows the pattern: the camera arcs a slow quarter turn around a dropper bottle, a soft band of window light slides across the glass, and the prompt states that the bottle itself does not move.
One performance beat from a portrait
The slip-dress example starts from a studio portrait and asks for a single piece of action: she shifts her weight, turns her shoulders toward the lens, takes two slow steps and holds the look. The camera is locked, the grey studio backdrop is left untouched, and the take is rendered at 720p.
Motion with a visible cause
In the chime-and-the-figure example a wind chime turns and a shape behind a gauze curtain shifts with it, the curtain's shadow travelling across the scene. Writing cause and effect into a short silent clip gives the movement a reason and keeps it from reading as a loop.
Prompt guide & pro tips
Prepare the frame before the prompt
Crop the image to 16:9 or 9:16 and check that it already shows the wardrobe, set and light you want, because the prompt is not the place to change them. Remove overlays or stray subjects you do not want animated, and keep the file within 10 MB.
Describe only what happens after the frame
State who or what moves, the direction and pace of that movement, and then the camera behaviour. Redescribing objects that are already visible spends characters without adding motion. A line that says what must stay still, such as the bottle that does not move, is worth including.
Draft at 480p, deliver at 720p
Fix a seed between 0 and 2147483647 when you compare a 480p draft with its 720p rerender from the same frame. For a random draw, leave the seed out rather than sending 0.
Review the whole clip before you expand the action
Watch the opening, the largest movement and the final second. If a face, label or outline drifts, cut the number of simultaneous movements before you rewrite the prompt. When the next shot needs a different composition, start from a new frame instead of asking the motion to reach it.
API quick start
Call the Wan 2.2 API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model alibaba/wan-2.2/image-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "alibaba/wan-2.2/image-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"resolution": "480p"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
About the Wan 2.2 Image to Video endpoint
There is no aspect ratio field, so crop the frame to the delivery shape first.
A simple camera arc or a single action suits the five second length best.
Wan 2.2 API questions
How much does the Wan 2.2 API cost?
Wan 2.2 starts at $0.24 per run with Image to Video, its lowest-priced task. Prices by option: 480p $0.24 per run, 720p $0.48 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Wan 2.2 · Image to Video API?
Resolutions: 480p · 720p; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.
More about Wan 2.2
- Endpoints
- All Wan 2.2 endpoints and pricing
- Endpoints
- Wan 2.2 · Create Video