Wan 2.6 Spicy API

by Alibaba

Wan 2.6 image-to-video in 5, 10 or 15 seconds

alibaba/wan-2.6-spicy/image-to-video
  • Up to 1080p
  • 5–15s clips
  • Image to Video

About Wan 2.6 Spicy

Wan 2.6 image-to-video in 5, 10 or 15 seconds.

Call it with the model name alibaba/wan-2.6-spicy/image-to-video on POST /jobs/createTask, from $0.475.

Request parameters

ParameterRequiredDescription
audio_urlNoThe voice or music track to use.
duration_secondsNoLength of the generated clip. 5 · 10 · 15 · Default: 5
enable_prompt_expansionNoLets the model add detail to a short prompt. Default: false
image_urlYesThe picture to start from.
negative_promptNoThings you don't want to see.
promptNoDescribe what you want to make.
resolutionNoChoose an available output size. 720p · 1080p · Default: 720p
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647
shot_typeNoOne continuous shot, or let the model cut it into several shots. single · multi · Default: single

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.

OptionUSD per second
resolution 720p$0.095
resolution 1080p$0.1425

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.6 Spicy API in three steps

  1. 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.
  2. Send the request. POST /jobs/createTask with model alibaba/wan-2.6-spicy/image-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. 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.6-spicy/image-to-video",
  "input": {
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "duration_seconds": 5,
    "resolution": "720p",
    "shot_type": "single"
  }
}'

# 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.6 Spicy API questions

How much does the Wan 2.6 Spicy API cost?

Wan 2.6 Spicy costs $0.475 for a 5-second clip. Prices by option: 720p $0.095 per second, 1080p $0.1425 per second. 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 is the model name for Wan 2.6 Spicy in the API?

Put alibaba/wan-2.6-spicy/image-to-video for Image to Video in the model field of POST /jobs/createTask.

What are the limits of the Wan 2.6 Spicy API?

Clip length: 5–15 s; Resolutions: 720p · 1080p; Prompt length (characters): 1,500. Requests outside these limits are rejected before anything is charged.

More about Wan 2.6 Spicy