About Wan 2.7 Spicy
Wan 2.7 image-to-video that can follow your audio track.
Call it with the model name alibaba/wan-2.7-spicy/image-to-video on POST /jobs/createTask, from $0.6175.
Request parameters
| Parameter | Required | Description |
|---|---|---|
audio_url | No | The voice or music track to use. |
duration_seconds | No | Length of the generated clip. ≥ 2 · ≤ 15 · Default: 5 |
enable_prompt_expansion | No | Lets the model add detail to a short prompt. Default: true |
generate_audio | No | Adds sound made to match the picture: voices, ambience and effects. Default: true |
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. 720p · 1080p · Default: 720p |
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 second |
|---|---|
| resolution 720p | $0.1235 |
| resolution 1080p | $0.19 |
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.7 Spicy 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.7-spicy/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.7-spicy/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": "720p"
}
}'
# 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.7 Spicy API questions
How much does the Wan 2.7 Spicy API cost?
Wan 2.7 Spicy starts at $0.6175 for a 5-second clip with Image to Video, its lowest-priced task. Prices by option: 720p $0.1235 per second, 1080p $0.19 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.7 Spicy in the API?
Put alibaba/wan-2.7-spicy/image-to-video for Image to Video; alibaba/wan-2.7-spicy/video-extend for Extend Video in the model field of POST /jobs/createTask.
What are the limits of the Wan 2.7 Spicy API?
Clip length: 2–15 s; Resolutions: 720p · 1080p. Requests outside these limits are rejected before anything is charged.
More about Wan 2.7 Spicy
- Endpoints
- Wan 2.7 Spicy · Extend Video