生成视频
generate_videoSubmit a video generation task using a model and parameters. Returns the result URL if completed within the wait period, or a task ID to query later.
Instructions
提交视频生成任务(通常耗时较长)。 先用 describe_model 确认该 model 的参数。默认等待 60s:短任务直接返回结果 URL;长任务超时返回 task_id,用 get_task 继续查询。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | 模型 id | |
| params | Yes | 请求参数对象(不含 model),如 {prompt, aspect_ratio, ...},见 describe_model | |
| inline_image | No | 图像成功时是否内联回传图片(默认 true,仅 generate_image 生效;大图自动降级为纯 URL) | |
| wait_seconds | No | 最长等待秒数,默认 60,设 0 立即返回 task_id |