Wan 2.6 Flash Image to Video
alibaba/wan-2.6-flash/image-to-video
Generate 5, 10 or 15 second videos from one image, at 720P or 1080P, with optional audio.
Examples

Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| image_url *Image | image_upload | — | 1–1 items | The image for generating the output. |
| audio_urlAudio URL | audio_upload | — | — | Audio URL to guide generation (optional). |
| audioAuto Generate Audio | boolean | true | — | Whether to generate a video with sound. Parameter priority: audio > audio_url. When audio=false, even if an audio_url is passed, the output will still be a silent video, and billing will be calculated based on the silent video. |
| promptPrompt | textarea | — | ≤ 1500 chars | The positive prompt for the generation. |
| negative_promptNegative Prompt | textarea | — | ≤ 500 chars | The negative prompt for the generation. |
| resolutionResolution | select | 1080P | 720P | 1080P | The resolution of the generated media. |
| durationDuration | select | 5 | 5 | 10 | 15 | The duration of the generated media in seconds. |
| shot_typeShot Type | select | single | single | multi | The type of shots to generate. |
| prompt_extendEnable Prompt Expansion | boolean | true | — | If set to true, the prompt optimizer will be enabled. |
| seedSeed | number | — | 0 ~ 2147483647 · step 1 | The random seed to use for the generation. |
Output fields
| Field | Type | Description |
|---|---|---|
| videos | array<string> |
API
Call this model through one unified REST API. Get a key on the API Keys page.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6-flash/image-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image_url": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/31/0d2b8fc70ea0.jpeg"
],
"audio": true,
"prompt": "Cinematic slow camera push-in on the subject as neon lights flicker in the background, subtle head movement, natural blinking, gentle wind in hair and coat, realistic motion, moody atmosphere, detailed reflections, smooth video, high quality",
"negative_prompt": "blurry, low resolution, distorted face, extra limbs, unnatural motion, flickering, jitter, warped anatomy, oversaturated colors, text, watermark, frame artifacts, abrupt camera movement",
"resolution": "1080P",
"duration": 5,
"shot_type": "single",
"prompt_extend": true,
"seed": 12345
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6-flash/image-to-video",
headers=HEADERS,
json={
"input": {
"image_url": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/31/0d2b8fc70ea0.jpeg"
],
"audio": True,
"prompt": "Cinematic slow camera push-in on the subject as neon lights flicker in the background, subtle head movement, natural blinking, gentle wind in hair and coat, realistic motion, moody atmosphere, detailed reflections, smooth video, high quality",
"negative_prompt": "blurry, low resolution, distorted face, extra limbs, unnatural motion, flickering, jitter, warped anatomy, oversaturated colors, text, watermark, frame artifacts, abrupt camera movement",
"resolution": "1080P",
"duration": 5,
"shot_type": "single",
"prompt_extend": True,
"seed": 12345
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 1800s server-side.
deadline = time.time() + 1860
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6-flash/image-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"image_url": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/31/0d2b8fc70ea0.jpeg"
],
"audio": true,
"prompt": "Cinematic slow camera push-in on the subject as neon lights flicker in the background, subtle head movement, natural blinking, gentle wind in hair and coat, realistic motion, moody atmosphere, detailed reflections, smooth video, high quality",
"negative_prompt": "blurry, low resolution, distorted face, extra limbs, unnatural motion, flickering, jitter, warped anatomy, oversaturated colors, text, watermark, frame artifacts, abrupt camera movement",
"resolution": "1080P",
"duration": 5,
"shot_type": "single",
"prompt_extend": true,
"seed": 12345
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 1800s server-side.
const deadline = Date.now() + 1860 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Documentation
Wan 2.6 Flash Image to Video
alibaba/wan-2.6-flash/image-to-video
Generate 5, 10 or 15 second videos from one image, at 720P or 1080P, with optional audio.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
image_url | array | true | — | The image for generating the output.; 1–1 URLs |
audio_url | string | false | — | Audio URL to guide generation (optional). |
audio | boolean | false | true | Whether to generate a video with sound. Parameter priority: audio > audio_url. When audio=false, even if an audio_url is passed, the output will still be a silent video, and billing will be calculated based on the silent video. |
prompt | string | false | — | The positive prompt for the generation.; max 1500 characters |
negative_prompt | string | false | — | The negative prompt for the generation.; max 500 characters |
resolution | string | false | "1080P" | The resolution of the generated media. 720P, 1080P |
duration | integer | false | 5 | The duration of the generated media in seconds. 5, 10, 15 |
shot_type | string | false | "single" | The type of shots to generate. single, multi |
prompt_extend | boolean | false | true | If set to true, the prompt optimizer will be enabled. |
seed | integer | false | — | The random seed to use for the generation. [0, 2.14748e+09] |
Pricing
| Resolution | audio=true USD/s | audio=false USD/s |
|---|---|---|
| 720P | $0.05 | $0.025 |
| 1080P | $0.075 | $0.0375 |
Total = unit price × duration. Defaults: 1080P, audio=true, 5 seconds, $0.375 (37.5 credits). duration accepts the integers 5, 10, 15. audio=false produces silent video even when audio_url is supplied. Input images and audio have no separate fee. image_url is a single-item URL array in Nami.
Alibaba International standard USD list prices. USD 1 = 100 credits. Account discounts are applied separately.
API
curl -X POST https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.6-flash/image-to-video \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"input": {
"seed": 12345,
"prompt": "Cinematic slow camera push-in on the subject as neon lights flicker in the background, subtle head movement, natural blinking, gentle wind in hair and coat, realistic motion, moody atmosphere, detailed reflections, smooth video, high quality",
"duration": 5,
"image_url": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/31/0d2b8fc70ea0.jpeg"
],
"shot_type": "single",
"resolution": "1080P",
"prompt_extend": true,
"negative_prompt": "blurry, low resolution, distorted face, extra limbs, unnatural motion, flickering, jitter, warped anatomy, oversaturated colors, text, watermark, frame artifacts, abrupt camera movement",
"audio": true
}
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
-H "Authorization: Bearer $API_KEY"
Poll task_uuid until completed or failed. On success, output.videos contains output URL strings.
Related models
xAI Grok Imagine Video v1.5 Image to Video
Animate one input image with a text prompt into a 1-15 second video at 480p or 720p.
Vidu Q4 Preview Image to Video
Generate a 3–16 second video from a prompt and one image, with optional audio and prompt expansion. Supports 540p, 720p, 1080p, 2k and 4k.
vidu/q3/image-to-video-spicy
Vidu Q3 Image-to-Video Spicy generates unlimited high-quality videos from images with smooth animations and diverse motion, optimized for scalable content generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Vidu Q3 Image To Video
Vidu Q3 Image-to-Video turns text prompts into high-quality videos with exceptional visual fidelity and diverse motion. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

MiniMax H3 Spicy Image to Video
Animate a first-frame image with optional prompt and last-frame guidance. Supports 480p, 540p, 768p and 1080p video, with durations from 3 to 15 seconds.
MiniMax H3 Image to Video
MiniMax H3 Image to Video animates a first-frame image into a coherent 2K video, with natural-language motion instructions and optional last-frame control for consistent motion, scene continuity, and cinematic video generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
ltx-2.5/image-to-video
LTX 2.5 Image-to-Video animates a first-frame image into high-fidelity synchronized audio-video content, with optional last-frame guidance and 720P / 1080P / 2K / 4K output for cinematic videos, social content, ads, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
ai/ltx-2.3-spicy/image-to-video-lora
LTX 2.3 Spicy LoRA Image to Video API turns a reference image and prompt into expressive AI videos using selectable LoRA presets, optional LoRA strength overrides, duration, and resolution controls. Run fast REST inference on MaaS with no cold starts and affordable pricing.