Lewati ke konten utama
Logo model

API Wan 2.6

  • Teks ke Video
  • Gambar ke Video
  • Referensi ke Video
Mode
Ketuk untuk mengunggahMP3, WAV, FLAC, OGG · Maks 15MB
1
2
Output

Hasil video Anda akan muncul di sini

Diperbarui

What is the Wan 2.6 API?

The Wan 2.6 API is live on UnificAlly as alibaba/wan-2.6-video, from $0.09 per second of video. Wan 2.6 is Alibaba's December 2025 upgrade to the Wan video line. It exposes three modes on UnificAlly: text-to-video, image-to-video, and reference-to-video. The reference-to-video mode accepts up to five references (a mix of images and videos, with a cap of three videos) mapped to character names in the prompt. Multi-shot generation chains 2–8 segments with per-shot prompts and durations in a single call. Output runs at 720p or 1080p, 2 to 15 seconds, with auto-generated audio on by default.

Wan 2.6 API specs

Model IDalibaba/wan-2.6-video
EndpointPOST https://api.unifically.com/v1/tasks
Request typesText-to-video (t2v), image-to-video (i2v), reference-to-video (r2v), multi-shot
Duration2 to 15 seconds, 2 to 10 seconds in reference-to-video. Default 5
Resolution720p, 1080p
AudioGenerated with the video, on by default. Custom track through audio_url
ReferencesUp to 5 reference images or videos in r2v, at most 3 of them videos
Rate at 720p$0.09/sec
Rate at 1080p$0.135/sec

Billing is per second of output, with no subscription. Reference videos add their own per-second charge. The pricing page shows the live Wan 2.6 API rates.

How to use the Wan 2.6 API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object.
  3. Read the task_id from the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.6-video",
    "input": {
      "prompt": "A cinematic shot of a red fox walking through a misty forest at dawn",
      "mode": "t2v",
      "resolution": "720p",
      "duration": 5
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

The finished task carries the video URL.

curl https://api.unifically.com/v1/tasks/{task_id} \
  -H "Authorization: Bearer YOUR_API_KEY"

Wan 2.6 API parameters

ParameterTypeDefaultWhat it does
promptstringnoneText description of the video. Required. In r2v, name the references character1, character2, and so on, in video_urls order
modestringt2vt2v, i2v, or r2v
start_image_urlstringnoneFirst-frame image for i2v (JPEG, PNG, BMP, WEBP). Required in that mode
video_urlsarraynoneReference image or video URLs for r2v. Up to 5, at most 3 videos. Each one is one character
audio_urlstringnoneCustom audio for audio-video sync (wav or mp3, max 15MB, 3 to 30 seconds)
multi_promptarraynoneMulti-shot segments as [{prompt, duration}]. Sets the shot type and the total duration
negative_promptstringnoneWhat to avoid in the video, up to 500 characters. Ignored in r2v
resolutionstring720p720p or 1080p
durationinteger5Video length in seconds, 2 to 15 (2 to 10 in r2v). Overridden by multi_prompt
prompt_extendbooleantrueIntelligent prompt rewriting
watermarkbooleanfalseAdds a watermark
audiobooleantrueGenerates audio with the video. Set false for a silent video
seedintegernoneSeed for reproducible results. Not supported in r2v
nsfw_checkbooleanfalseChecks the prompt and input images for NSFW content before generating

The Wan 2.6 API documentation has the full reference, with more request examples.

Image-to-video request

Set mode to i2v and pass the first frame as start_image_url.

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.6-video",
    "input": {
      "prompt": "The camera slowly pans up from below the sea turtle",
      "mode": "i2v",
      "start_image_url": "https://example.com/turtle.jpg",
      "resolution": "720p",
      "duration": 10
    }
  }'

Reference-to-video request

Set mode to r2v. Each entry in video_urls is one character, named in the prompt in array order.

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.6-video",
    "input": {
      "prompt": "character1 says to character2: I will rely on you tomorrow! character2 replies: You can count on me!",
      "mode": "r2v",
      "video_urls": ["https://example.com/person-a.mp4", "https://example.com/person-b.mp4"],
      "duration": 10
    }
  }'

Multi-shot request

Pass the shots in multi_prompt. The total duration is the sum of the segments.

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-2.6-video",
    "input": {
      "prompt": "Cinematic detective story",
      "multi_prompt": [
        {"prompt": "Wide shot of rainy New York streets, neon lights", "duration": 5},
        {"prompt": "Close-up of detective walking into an old building", "duration": 5}
      ],
      "resolution": "1080p"
    }
  }'

Key features of Wan 2.6

Four features cover what changes versus Wan 2.5.

Reference-to-video for character consistency

Pass up to five references (images or videos, max three videos). Each reference becomes a named character in the prompt (character1, character2). Useful for ads with recurring presenters or product mascots.

Multi-shot in one call

Pass multi_prompt as an array of {prompt, duration} segments. The model chains 2–8 shots, picks shot type, and totals the duration. Useful for narrative ads with a clear arc.

2 to 15 second videos

Wider duration range than Wan 2.5. Reference-to-video caps at 10 seconds; the other two modes go to 15 seconds.

Audio in the same call

Auto-generated audio on by default. Pass audio_url for custom sync, or set audio: false for silent output. Same audio surface as Wan 2.5 with the longer duration range.

What Wan 2.6 is best for

  • Long-form videos up to 15 seconds

    Single-video duration extends to 15 seconds in text-to-video and image-to-video. Useful for narrative ads and explainer beats.

  • Multi-shot narratives

    2–8 segments per call with per-segment prompts. Useful for ads with a clear setup-beat-payoff arc.

  • Reference-to-video character continuity

    Up to five references mapped to character names in the prompt. Useful for recurring presenters and product mascots.

  • Custom audio sync

    Upload your own track when the audio mix is fixed and visuals need to match the beats.

  • Negative-prompt control

    Suppress unwanted content in text-to-video and image-to-video for brand-safe output.

  • Established production pipelines

    Mature parameter surface for workflows already running Wan 2.6.

Wan 2.6 variants

Wan 2.6 has two callable variants on the same API. Each one has its own model ID and price.

Wan 2.6 (standard)

The standard model. Use it for the final pass on hero videos, paid placements, and anything where peak quality matters more than throughput.

Wan 2.6 Flash

Faster queue and lower price per video on the same parameter surface. Use it for prompt sweeps, draft passes, and high-volume batches before locking the keepers on the standard model.

FAQ

Pertanyaan yang sering diajukan tentang Wan 2.6

Wan 2.6 is Alibaba's December 2025 video model. It supports text-to-video, image-to-video, and reference-to-video with up to five references (mix of images and videos, max three videos). Multi-shot mode chains 2–8 segments in one call. Output runs at 720p or 1080p, 2 to 15 seconds, with optional generated or custom audio.

For Wan 2.6, put a key from the API keys page in the Authorization: Bearer header and post to https://api.unifically.com/v1/tasks with model alibaba/wan-2.6-video. Billing is per second of output, and reference videos add their own per-second charge.

Pick a mode (t2v, i2v or r2v) and send a prompt, plus start_image_url for image-to-video or up to five video_urls for reference-to-video, with resolution (720p or 1080p) and duration from 2 to 15 seconds. multi_prompt chains several shots in one call, and the finished task carries the video URL.

Three. text-to-video (t2v) from a prompt, image-to-video (i2v) from a start_image_url, and reference-to-video (r2v) where you supply up to five reference files mapped to character names in the prompt.

Yes. Audio generation is on by default. Set audio: false for silent output, or pass an audio_url to drive audio-video sync to a fixed track.

2 to 15 seconds in text-to-video and image-to-video. Reference-to-video is capped at 2 to 10 seconds. Multi-shot duration is the sum of all segment durations.

Negative prompts apply to text-to-video and image-to-video. They are ignored in reference-to-video.

Use Wan 2.6 for established workflows and predictable single-reference scenes. Use Wan 2.7 when you need last-frame control, video continuation, lip-sync from a driving audio track, or up to five video references.

Same parameter shape and same modes. Wan 2.6 Flash runs on a faster queue at a lower price. Use Flash for throughput batches; use the standard Wan 2.6 for the keepers.

There is no free tier. New UnificAlly accounts get a $0.50 signup balance, enough for a short test on the standard route at $0.09 per second. The Wan 2.6 Flash route was retired on October 24, 2026. After that, billing is pay-per-use with no subscription, and your balance never expires.