mm_query_video_task
Retrieve the progress of a video generation task using its task ID, and download the MP4 file to a specified output path when the task finishes.
Instructions
查询视频生成任务;成功后下载 MP4 到本地。
Args: task_id: mm_generate_video 返回的任务 ID。 output_path: 可选保存路径(默认 outputs/videos/)。
Returns: str: 任务仍处理中时返回当前状态;成功后返回视频文件路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |