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, 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.'
});

Frequently Asked Questions

  • What durations and resolutions does Wan v2.7 Text-to-Video support?

    Clips run 2 to 15 seconds, with a default of 5 seconds, at 720p or 1080p. Five aspect ratios are available: 16:9, 9:16, 1:1, 4:3, and 3:4.

  • How does multi-shot narrative control work in Wan v2.7 Text-to-Video?

    You control shot structure through prompt language. Describe a sequence spanning multiple moments or locations, and Wan v2.7 Text-to-Video introduces scene cuts and transitions to match the narrative rather than rendering one continuous take.

  • Does Wan v2.7 Text-to-Video generate audio?

    Yes. Audio generates natively in the same pass as the video. You can also supply an optional audio input to drive the generation when a soundtrack or voice line should shape the motion.

  • How does Wan v2.7 Text-to-Video differ from the previous Wan text-to-video model?

    Wan v2.7 Text-to-Video delivers smoother, more coherent motion than the 2.6 generation and supports audio input to drive generation. Resolution and aspect ratio coverage carry over, and duration is adjustable anywhere from 2 to 15 seconds.

  • How do I use Wan v2.7 Text-to-Video through AI Gateway?

    Call Wan v2.7 Text-to-Video with generateVideo from the AI SDK, passing your prompt plus optional resolution and duration settings. You can also try prompts first in the playground on this page.

  • Does AI Gateway offer Zero Data Retention for Wan v2.7 Text-to-Video?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.