Wan 2.6 API

Alibaba's Wan 2.6 video model with synchronized audio and clips up to 15 s

alibaba/wan-2.6
AlibabaVideo clips

About this model

Wan 2.6 is the video generation series that Alibaba unveiled on December 16, 2025. Alibaba describes it as adding a reference-to-video model and upgrading its text-to-video and image-to-video models, with improved audio-visual synchronization and video output up to 15 seconds.

Alibaba’s Model Studio documentation lists 720P and 1080P output for the Wan 2.6 text-to-video model, with clip lengths of 2 to 15 seconds. Alibaba has since moved its documentation toward newer Wan versions, so Wan 2.6 is an earlier generation.

Pick it for general-purpose clips from a prompt; limits on length and resolution depend on the mode you use, so check them for your request.

Use cases

  • Short clips from text or images
  • Videos with synchronized sound
  • Social and marketing video

Input and output

Input
Text prompt, optionally image
Output
Video clip

Developer

Developer
Alibaba
Type
Video clips

Wan 2.6 request example

Use https://gatelum.com/v1 as the base URL and pass alibaba/wan-2.6 in the model field. You create the key in your account after signing up.

# Requires jq.
(
set -e

job=$(
curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/videos' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "alibaba/wan-2.6",
  "prompt": "Waves slowly rolling onto a sandy beach, aerial view",
  "seconds": 5
}
JSON
)
job_id=$(printf '%s\n' "$job" | jq -er '.id')

while :; do
  case "$(printf '%s\n' "$job" | jq -er '.status')" in
    processing) sleep 5 ;;
    succeeded) printf '%s\n' "$job" | jq -r '.url'; break ;;
    *) printf '%s\n' "$job" >&2; exit 1 ;;
  esac
  job=$(curl --silent --show-error --fail-with-body \
    --header 'Authorization: Bearer glt_YOUR_KEY' \
    'https://gatelum.com/v1/videos/'"$job_id")
done
)