Back to models
dashscope

Wan 2.6 Text to Video

wan2.6-t2v
dashscope0 contextFrom $0.040 /sec

Alibaba's most advanced video generation model, supporting over 10 visual creation capabilities in a unified system. Wan 2.6 generates 1080p video at 24fps from text, images, reference videos, or audio, with native audio-visual synchronization and precise lip-sync. Key features include reference-to-video (insert a character's appearance and voice into new scenes), multi-shot storytelling from simple prompts, synchronized sound effects and music, and support for 16:9, 9:16, and 1:1 aspect ratios with clips up to 15 seconds.

Total Context0
PricingFrom $0.040 /sec

Providers for Wan 2.6 Text to Video

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

dashscope
Total Context0
PricingPriced by generation parameters

Sample code and API for Wan 2.6 Text to Video

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Video GenerationAnyInt async media

Create a generation task, then poll its status for artifacts.

/v1/videos/generations
# 1. Create a generation task and save its ID.
TASK_ID=$(curl 'https://api.anyint.ai/v1/videos/generations' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
  "model": "wan2.6-t2v",
  "prompt": "Describe a calm futuristic city at sunrise.",
  "duration_seconds": 5,
  "aspect_ratio": "16:9"
}' | jq -r '.task.id')

# 2. Poll until task.status is completed or failed.
curl 'https://api.anyint.ai/v1/async-tasks/'"$TASK_ID" \
  -H "Authorization: Bearer <YOUR_API_KEY>"