About Wan 2.2 Plus
Wan 2.2 image-to-video with an optional end frame.
Call it with the model name alibaba/wan-2.2-plus/image-to-video on POST /jobs/createTask, from $0.095.
Request parameters
| Parameter | Required | Description |
|---|---|---|
duration_seconds | No | How long the clip runs. You pay per second. 5 · 8 · Default: 5 |
enable_prompt_expansion | No | Lets the model add detail to a short prompt. Default: false |
image_url | Yes | The picture to start from. |
last_image_url | No | Optional final frame, so the clip ends exactly where you want. |
prompt | Yes | Describe what happens after the opening frame: the action, the camera, and the mood. |
resolution | No | Output size. Bigger sizes look sharper and cost more. 480p · 720p · Default: 480p |
seed | No | Reuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647 |
Pricing
Prices are in USD. The API uses a separate USD balance. Website credits cannot be used or transferred to it, and API funds cannot be transferred to website credits. When a task is accepted, we reserve the maximum quoted amount from your API 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 second |
|---|---|
| resolution 480p | $0.019 |
| resolution 720p | $0.038 |
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.
API quick start
Call the Wan 2.2 Plus 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 use your separate USD balance.
- Send the request. POST /jobs/createTask with model alibaba/wan-2.2-plus/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-plus/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",
"duration_seconds": 5,
"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.
Wan 2.2 Plus API questions
How much does the Wan 2.2 Plus API cost?
Wan 2.2 Plus starts at $0.095 for a 5-second clip with Image to Video, its cheapest task. Prices by option: 480p $0.019 per second, 720p $0.038 per second. The API uses a separate USD balance. Website credits cannot be used or transferred to it, and API funds cannot be transferred to website credits. When a task is accepted, we reserve the maximum quoted amount from your API 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 is the model name for Wan 2.2 Plus in the API?
Put alibaba/wan-2.2-plus/image-to-video for Image to Video; alibaba/wan-2.2-plus/video-extend for Extend Video in the model field of POST /jobs/createTask.
What are the limits of the Wan 2.2 Plus API?
Clip length: 5–8 s; Resolutions: 480p · 720p. Requests outside these limits are rejected before anything is charged.
More about Wan 2.2 Plus
- Endpoints
- Wan 2.2 Plus · Extend Video