PopNowAPI Docs
Main content

Wan 2.2 API reference

Simple five-second clips at 480p or 720p

Call Wan 2.2 from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.

At a glance

Made by
Alibaba
Output
Video
From
$0.24 USD per request

Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.

Create Video

alibaba/wan-2.2/text-to-video

Price

OptionUSD
480p$0.24 per request
720p$0.48 per request

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 5,000 charactersDescribe the subject, action, camera, light, pacing, and boundaries for the shot.
aspect_ratioOptionalstring16:916:9, 9:16Output aspect ratio.
resolutionOptionalstring480p480p, 720pOutput resolution.
enable_prompt_expansionOptionalbooleanfalse—Allow the service to expand the submitted creative brief before generation.
seedOptionalinteger—0 to 2147483647Random seed. Keep it fixed only for controlled comparisons, not as a frame-identical guarantee.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

POST /api/v1/jobs/createTask
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: $(uuidgen)" \
  -d '{
  "model": "alibaba/wan-2.2/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "resolution": "480p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Image to Video

alibaba/wan-2.2/image-to-video

Price

OptionUSD
480p$0.24 per request
720p$0.48 per request

Parameters

FieldTypeDefaultAllowedWhat it does
image_urlRequiredstring (uri)——Opening frame as a JPEG, PNG or WebP image of up to 10 MB. The clip starts from this image.
promptRequiredstring—up to 5,000 charactersDescribe what happens after the opening frame: the action, the camera, and the mood.
negative_promptOptionalstring—up to 500 charactersWhat must not appear in the clip.
resolutionOptionalstring480p480p, 720pOutput resolution.
enable_prompt_expansionOptionalbooleanfalse—Allow the service to expand the submitted creative brief before generation.
seedOptionalinteger—0 to 2147483647Random seed. Keep it fixed only for controlled comparisons, not as a frame-identical guarantee.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.

POST /api/v1/jobs/createTask
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: $(uuidgen)" \
  -d '{
  "model": "alibaba/wan-2.2/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "resolution": "480p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page