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

Wan 2.6 Flash Image to Video Examples 1

Parameters

NameTypeDefaultConstraintsDescription
image_url *Imageimage_upload—1–1 itemsThe image for generating the output.
audio_urlAudio URLaudio_upload——Audio URL to guide generation (optional).
audioAuto Generate Audiobooleantrue—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.
promptPrompttextarea—≤ 1500 charsThe positive prompt for the generation.
negative_promptNegative Prompttextarea—≤ 500 charsThe negative prompt for the generation.
resolutionResolutionselect1080P720P | 1080PThe resolution of the generated media.
durationDurationselect55 | 10 | 15The duration of the generated media in seconds.
shot_typeShot Typeselectsinglesingle | multiThe type of shots to generate.
prompt_extendEnable Prompt Expansionbooleantrue—If set to true, the prompt optimizer will be enabled.
seedSeednumber—0 ~ 2147483647 · step 1The random seed to use for the generation.

Output fields

FieldTypeDescription
videosarray<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

ParameterTypeRequiredDefaultDescription
image_urlarraytrue—The image for generating the output.; 1–1 URLs
audio_urlstringfalse—Audio URL to guide generation (optional).
audiobooleanfalsetrueWhether 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.
promptstringfalse—The positive prompt for the generation.; max 1500 characters
negative_promptstringfalse—The negative prompt for the generation.; max 500 characters
resolutionstringfalse"1080P"The resolution of the generated media. 720P, 1080P
durationintegerfalse5The duration of the generated media in seconds. 5, 10, 15
shot_typestringfalse"single"The type of shots to generate. single, multi
prompt_extendbooleanfalsetrueIf set to true, the prompt optimizer will be enabled.
seedintegerfalse—The random seed to use for the generation. [0, 2.14748e+09]

Pricing

Resolutionaudio=true USD/saudio=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.

Alibaba official pricing

Related models

xAI Grok Imagine Video v1.5 Image to Video
Image to VideoX Ai

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.

from $0.850 / per run
Vidu Q4 Preview Image to Video
Image to VideoVidu

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.

from $0.475 / per run
vidu/q3/image-to-video-spicy
Image to VideoVidu

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.

from $0.750 / per run
Vidu Q3 Image To Video
Image to VideoVidu

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.

from $0.750 / per run
MiniMax H3 Spicy Image to Video
Image to VideoMinimax

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.

from $0.200 / per run
MiniMax H3 Image to Video
Image to VideoMinimax

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.

from $0.650 / per run
ltx-2.5/image-to-video
Image to VideoLtx 2.5

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.

from $0.500 / per run
ai/ltx-2.3-spicy/image-to-video-lora
Image to VideoLightricks

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.

from $0.150 / per run