Wan 2.6 API

Model-specific Buble API parameters, modes, pricing, and examples for Wan 2.6.

Wan 2.6 API

Wan 2.6 supports text-to-video and reference-to-video workflows with optional audio input for longer audio-driven scenes.

Model keys

  • wan/wan2.6 — Wan2.6

Supported modes and inputs

ModelModeLabelInput requirements
wan/wan2.6text_to_videoText to VideoPrompt max 2000 chars
Audio: 1-1 files, 50 MB, max 120s, formats mp3, wav, aac, m4a
wan/wan2.6reference_to_videoReference to VideoPrompt max 2000 chars
Images reference: 1-1 files, 10 MB, formats jpg, png, webp
Audio: 1-1 files, 10 MB, max 120s, formats mp3, wav, aac, m4a

Options

ModelOptionDefaultAllowed valuesApplies to
wan/wan2.6duration5s5s, 10s, 15sAll modes
wan/wan2.6aspect_ratio16:916:9, 9:16, 1:1, 4:3, 3:4text_to_video
wan/wan2.6resolution720p720p, 1080pAll modes
wan/wan2.6short_typesinglesingle, multiAll modes
wan/wan2.6audiofalsetrue, falseAll modes

Pricing

ModelPricing
wan/wan2.64 credits per second; option multipliers: resolution={"720p":1,"1080p":1.5}

Production guidance

  • Pass mode explicitly.
  • Use only option values listed above.
  • Upload media with POST /api/v1/files before calling media-input modes.
  • Use the exact model key for the variant you want.

Example: text to video

curl https://buble.ai/api/v1/generations \
  -H "Authorization: Bearer $BUBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/wan2.6",
    "mode": "text_to_video",
    "prompt": "A cinematic product launch shot with slow camera movement, premium lighting, and realistic motion",
    "duration": "5s",
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "short_type": "single",
    "audio": "false"
  }'

Example: media-guided video

curl https://buble.ai/api/v1/generations \
  -H "Authorization: Bearer $BUBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/wan2.6",
    "mode": "reference_to_video",
    "prompt": "Animate the source into a polished cinematic motion shot with natural camera movement",
    "image_urls": ["https://example.com/reference.png"],
    "duration": "5s",
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "short_type": "single",
    "audio": "false"
  }'