Wan 2.6 Flash API reference
Quick multi-shot clips from a single image
Call Wan 2.6 Flash 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 credits, and a request you can paste into a terminal.
At a glance
- Made by
- Alibaba
- Output
- Video
- From
- 3.38 credits per second of output ($0.0338)
- Typical time
- about 81 s
1 credit = $0.01. A task holds the highest possible charge when it is accepted and settles the real amount when it finishes, rounded up to whole credits; failed tasks are not charged. Ask POST /api/v1/jobs/quote for the exact figure before you run.
Image to Video
alibaba/wan-2.6-flash/image-to-video
Price
| Option | Credits (per second of output) | US dollars |
|---|---|---|
generate_audio = false, resolution = 720p | 3.38 | $0.0338 |
generate_audio = false, resolution = 1080p | 5.06 | $0.0506 |
generate_audio = true, resolution = 720p | 6.75 | $0.0675 |
generate_audio = true, resolution = 1080p | 10.13 | $0.1013 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
image_urlRequired | string | — | — | Opening frame. The clip starts from this image. |
promptOptional | string | — | up to 1,500 characters | Describe what happens after the opening frame: the action, the camera, and the mood. |
negative_promptOptional | string | — | up to 500 characters | List what must not appear in the shot. |
audio_urlOptional | string | — | — | Optional voice or music track the clip follows for mouth shapes and pacing; the clip itself stays silent. |
generate_audioOptional | boolean | false | — | Generate a native soundtrack (voices, effects, ambience) with the picture. Audio costs twice as much per second. |
resolutionOptional | string | 720p | 720p, 1080p | Output resolution. |
duration_secondsOptional | integer | 5 | 5, 10, 15 | Requested output length in seconds. |
shot_typeOptional | string | single | single, multi | Single continuous shot, or a multi-shot edit. |
enable_prompt_expansionOptional | boolean | false | — | Allow the service to expand the submitted creative brief before generation. |
seedOptional | integer | — | 0 to 2147483647 | Random 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.
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.6-flash/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",
"duration_seconds": 5,
"resolution": "720p",
"generate_audio": false
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Reference to Video
alibaba/wan-2.6-flash/reference-to-video
Price
| Option | Credits (per second of output) | US dollars |
|---|---|---|
generate_audio = false, resolution = 720p | 3.38 | $0.0338 |
generate_audio = false, resolution = 1080p | 5.06 | $0.0506 |
generate_audio = true, resolution = 720p | 6.75 | $0.0675 |
generate_audio = true, resolution = 1080p | 10.13 | $0.1013 |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 1,500 characters | Describe the new scene: name each reference as character1, character2 and so on (videos first, then images), then setting, action, camera and light. |
negative_promptOptional | string | — | up to 500 characters | List what must not appear in the shot. |
reference_video_urlsOptional | array<string> | — | up to 3 items | Reference videos of the subjects to cast, up to 3 clips adding up to 5 seconds. Still images in reference_image_urls are numbered after them. |
reference_image_urlsOptional | array<string> | — | up to 5 items | Up to 5 still images of subjects to cast, alongside or instead of the reference videos; numbered after the videos. Videos and images together take at most 5 entries. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4 | Output aspect ratio. |
generate_audioOptional | boolean | false | — | Generate a native soundtrack (voices, effects, ambience) with the picture. Audio costs twice as much per second. |
resolutionOptional | string | 720p | 720p, 1080p | Output resolution. |
duration_secondsOptional | integer | 5 | 2 to 10 | Requested output length in seconds. |
shot_typeOptional | string | single | single, multi | Single continuous shot, or a multi-shot edit. |
enable_prompt_expansionOptional | boolean | false | — | Allow the service to expand the submitted creative brief before generation. |
seedOptional | integer | — | 0 to 2147483647 | Random 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 reference_video_urls. Replace them with your own public HTTPS links, uploads or saved assets.
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.6-flash/reference-to-video",
"input": {
"prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
"reference_video_urls": [
"https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4"
],
"duration_seconds": 5,
"resolution": "720p",
"generate_audio": false
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
