跳到主要内容
Alibaba检查中

wan-2.5-preview/text-to-video

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

文生视频输出: 视频输入: 文本 + audio
正在加载价格…
官方原价 · 未验证
获取 API Key

参数

必填
prompt: string必填

1–1500 chars

duration: string必填
size: string必填

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

常用参数
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>

高级参数 (3)
negativePrompt: string

0–500 chars

promptExtend: boolean

Whether to enable prompt intelligent rewriting.

seed: integer

Random seed 0–2147483647

请求预览

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

网页 Playground 使用你的登录会话发送此请求体。在代码中请使用 API Key 发送相同内容。

预计费用

正在加载价格…

任务接收时预留额度,仅成功后扣费。失败任务释放预留额度;结果未确认时会保留额度,直到核实。