Skip to content
AlibabaChecking

Wan 2.7 / Text to Video

wan-2-7-text-to-video

text to videoOutput: VideoInput: text + audio
Loading price…
Official list price · Not verified

What it does

Generate video from text with optional audio.

2–15 seconds · 720p or 1080p

Input parameters

Only the fields this model accepts. Required fields must be provided.

FieldTypeRequiredDefaultAllowed values and constraints
prompt
stringrequired—

1–5000 chars

negativePrompt
stringoptional—

0–500 chars

audioUrl
stringoptional—

background music MP3 or WAV; maximum 15 MB.

HTTPS audio URL or media:<uuid>

duration
stringrequired"5"

One of: "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"

resolution
stringrequired"720P"

One of: "720P", "1080P"

aspectRatio
stringrequired"16:9"

Aspect ratio

One of: "16:9", "9:16", "1:1", "4:3", "3:4"

promptExtend
booleanoptionaltrue

Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption.

seed
integeroptional—

Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent

0–2147483647

Limits and behaviour

  • Asynchronous only: submit a task, then poll for the result.
  • prompt: 1–5000 chars
  • negativePrompt: 0–500 chars
  • seed: 0–2147483647
  • Media inputs accept public HTTPS URLs or media:<uuid> references from POST /api/v1/media.