generate_video
Turn text prompts into videos via DashScope. Choose resolution and duration, then receive the output file path after the video is downloaded to the local output directory.
Instructions
文生视频。生成结果下载到本地输出目录并返回路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | 档位:standard(wan2.7-t2v)/pro(wan2.7-t2v 1080P)/max(happyhorse-1.1-t2v),默认 standard。 | standard |
| wait | No | true=等待完成并下载;false=提交后返回 task_id | |
| prompt | Yes | 视频内容描述。 | |
| confirm | No | 必须为 true 才会实际调用付费生成接口;false 时只返回预计费用。 | |
| duration | No | 秒数 | |
| resolution | No | 720P/1080P;480P 自动升级为 720P | 720P |