跳到主要内容
Alibaba检查中

wan-2.5-preview/text-to-video

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

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

模型能力

Create a 5- or 10-second Wan 2.5 Preview video with optional audio input.

480p–1080p · 5 or 10 seconds

输入参数

仅列出此模型接受的字段。必填字段必须提供。

字段类型必填默认值可选值与约束
prompt
string必填—

1–1500 chars

negativePrompt
string可选—

0–500 chars

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>

duration
string必填"5"

可选值: "5", "10"

size
string必填"1920*1080"

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

可选值: "832*480", "480*832", "624*624", "1280*720", "720*1280", "960*960", "1088*832", "832*1088", "1920*1080", "1080*1920", "1440*1440", "1632*1248", "1248*1632"

promptExtend
boolean可选true

Whether to enable prompt intelligent rewriting.

seed
integer可选—

Random seed

0–2147483647

限制与行为

  • 仅支持异步:先提交任务,再轮询结果。
  • prompt: 1–1500 chars
  • negativePrompt: 0–500 chars
  • seed: 0–2147483647
  • 媒体输入接受公开 HTTPS URL,或 POST /api/v1/media 返回的 media:<uuid> 引用。