跳到主要内容
Alibaba检查中

Wan 2.7 / Text to Video

wan-2-7-text-to-video

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

参数

必填
prompt: string必填

1–5000 chars

duration: string必填
resolution: string必填
aspectRatio: string必填

Aspect ratio

常用参数
audioUrl: string

background music MP3 or WAV; maximum 15 MB. HTTPS audio URL or media:<uuid>

高级参数 (3)
negativePrompt: string

0–500 chars

promptExtend: boolean

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: integer

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

请求预览

{
  "model": "wan-2-7-text-to-video",
  "input": {
    "duration": "5",
    "resolution": "720P",
    "aspectRatio": "16:9",
    "promptExtend": true
  }
}

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

预计费用

正在加载价格…

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