Skip to content
AlibabaChecking

wan-2.5-preview/text-to-video

wan-2-5-preview-text-to-video

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

Parameters

Required
prompt: stringrequired

1–1500 chars

duration: stringrequired
size: stringrequired

Specify the resolution of the generated video, in the format of width*height.

Common options
audioUrl: string

Audio file URL; the model will use this audio to generate a video. Duration: 3–30 seconds. File size: no more than 15 MB. Oversize handling: If the audio length exceeds the specified duration value (e.g., 5 seconds), the first 5 seconds will be automatically captured and the rest discarded. If the audio is shorter than the video duration, the portion beyond the audio length will be silent in the video. For example: if the audio is 3 seconds long and the video duration is set to 5 seconds, the output video will have sound for the first 3 seconds and be silent for the remaining 2 seconds. HTTPS audio URL or media:<uuid>

Advanced (3)
negativePrompt: string

0–500 chars

promptExtend: boolean

Whether to enable prompt intelligent rewriting.

seed: integer

Random seed 0–2147483647

Request preview

{
  "model": "wan-2-5-preview-text-to-video",
  "input": {
    "duration": "5",
    "size": "1920*1080",
    "promptExtend": true
  }
}

The web playground sends this body with your signed-in session. From code, send the same body with an API key.

Estimated charge

Loading price…

Credits are reserved when a task is accepted and charged only on success. Failed tasks release the reservation; unconfirmed outcomes remain reserved until verified.