Gå til indhold

UlazAI udviklerdokumenter

Wan 2.6 Flash API

Wan 2.6 Flash reference

Wan 2.6 Flash docs for image-to-video and video-to-video

This guide covers the Wan 2.6 Flash video API in UlazAI. Use POST /api/v1/video-studio/generate/ and pass one of these model slugs: wan_2_6_flash_i2v or wan_2_6_flash_v2v.

Core endpoints

POST /api/v1/video-studio/generate/

GET /api/v1/video-studio/status/{job_id}/

GET /api/v1/video-studio/history/

Pricing (5s clips)

720p silent: 24 credits

720p audio: 48 credits

1080p silent: 36 credits

1080p audio: 72 credits

Mode-specific validation rules

Model slug Mode Duration Resolution Required input
wan_2_6_flash_i2v Image to video 5, 10 or 15 seconds 720p or 1080p Prompt (2-1500 characters) plus exactly one input_image_urls value (jpeg/png/webp, at least 256x256). The output inherits the image aspect ratio.
wan_2_6_flash_v2v Video to video 5 or 10 seconds 720p or 1080p Prompt (2-1500 characters) plus one to three input_video_urls values (mp4/mov/mkv, up to 10 MB each).

The sound flag decides the price and the native audio track: audio costs twice the silent rate and is always submitted as an explicit on/off value. Pass multi_shots (boolean) to let the model plan multiple shots.

Request snippets (Video Studio endpoint)

Image to video with audio

{
  "model_slug": "wan_2_6_flash_i2v",
  "prompt": "Slow dolly-in while the neon sign flickers and rain starts to fall",
  "input_image_urls": ["https://media.ulazai.com/examples/wan26-flash-source.jpg"],
  "duration_seconds": 5,
  "quality_mode": "720p",
  "sound": true
}

Video to video with two source clips

{
  "model_slug": "wan_2_6_flash_v2v",
  "prompt": "Regrade both shots to a warm cinematic sunset look with gentle camera motion",
  "input_video_urls": [
    "https://media.ulazai.com/examples/wan26-flash-shot-one.mp4",
    "https://media.ulazai.com/examples/wan26-flash-shot-two.mp4"
  ],
  "duration_seconds": 10,
  "quality_mode": "1080p",
  "sound": false
}

Related docs