Skip to content
Dashboard

Wan v2.7 Text-to-Video

Wan v2.7 Text-to-Video is the Wan 2.7 text-to-video model from Alibaba Cloud, generating clips of 2 to 15 seconds at 720p or 1080p with native audio and multi-shot narrative control through prompt language.

text-to-video
index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'alibaba/wan-v2.7-t2v',
prompt: 'A serene mountain lake at sunrise.'
});

Playground

Try out Wan v2.7 Text-to-Video by Alibaba Cloud. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

alibaba logo
Prompt (required)

Duration8s
2s15s
Resolution
Aspect ratio
Videos to generate
alibaba logo

Your generated video will appear here.

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Input
Output
Capabilities
ZDR
No Training
Release Date
Alibaba Cloud
Legal:Terms
Privacy
$0.10/sec+1 more
04/07/2026

More models by Alibaba Cloud

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
1M
2.5s
305tps
$0.32/M
$1.28/M
Read:$0.08/M
Write:$0.5/M
+2
alibaba logo
fireworks logo
togetherai logo
06/02/2026
991K
3.3s
53tps
$1.25/M
$3.75/M
Read:$0.25/M
Write:$1.56/M
alibaba logo
05/21/2026
1M
1.7s
109tps
$0.50/M
$3/M
Read:
$0.1/M
Write:
$0.63/M
+1
alibaba logo
togetherai logo
04/02/2026
1M
1.9s
162tps
$0.10/M
$0.40/M
Read:$0.0/M
Write:$0.13/M
+1
alibaba logo
02/24/2026
33K
$0.01/M
deepinfra logo
11/14/2025
262K
0.5s
88tps
$0.09/M
$0.10/M
deepinfra logo
novita logo
vertex logo
04/28/2025

About Wan v2.7 Text-to-Video

Wan v2.7 Text-to-Video is the text-to-video member of Alibaba Cloud's Wan 2.7 release. You provide a text prompt describing a scene, and Wan v2.7 Text-to-Video returns a finished clip of 2 to 15 seconds, with a default of 5 seconds, at 720p or 1080p. Five aspect ratio options cover landscape, portrait, square, and broadcast formats: 16:9, 9:16, 1:1, 4:3, and 3:4.

Multi-shot narrative control works directly through prompt language. Describe a sequence of events spanning multiple moments or locations, and Wan v2.7 Text-to-Video structures the clip with scene cuts and transitions rather than forcing everything into one continuous take. Audio generates natively in the same pass, and an optional audio input can drive the generation, which is useful when a soundtrack or voice line should shape the motion.

Compared to the 2.6 generation, the 2.7 line delivers smoother, more coherent motion, so subjects and camera moves hold together more reliably across the frame. That improvement compounds in multi-shot output, where consistency across cuts determines whether a generated sequence reads as one cohesive piece.

What To Consider When Choosing a Provider

  • Configuration: Pricing is per second of generated video and varies by resolution, so duration and output size are your two main cost levers. A 15-second 1080p clip sits at the top of the range; shorter 720p clips are the economical draft tier.
  • Configuration: Run a few test prompts in the AI Gateway playground before full integration to calibrate generation times and confirm the output style matches your production bar.
  • Zero Data Retention: AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.
  • Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.

When to Use Wan v2.7 Text-to-Video

Best for

  • Production Short-Form Video: Advertising, social content, and product demos generated from a prompt alone
  • Multi-Scene Narrative Prompts: Scene cuts and transitions structured by prompt language instead of manual editing
  • Audio-Led Generation: Clips where a supplied soundtrack or voice line should drive the motion
  • Vertical and Broadcast Formats: Deliverables across the five supported aspect ratios from 9:16 to 4:3

Consider alternatives when

  • Reference-Based Identity: Wan-v2.7-r2v carries a real subject's appearance and voice from reference material into the output
  • Animating an Existing Image: The Wan image-to-video models are built for image-driven workflows
  • Previous-Generation Pipelines: Wan-v2.6-t2v remains available for workflows already tuned to the earlier release

Conclusion

Wan v2.7 Text-to-Video is Alibaba Cloud's current production tier for text-to-video work in the Wan family. Clips up to 15 seconds, native audio, prompt-driven multi-shot structure, and smoother motion than the 2.6 line make Wan v2.7 Text-to-Video a solid default for teams shipping video generation features on AI Gateway.