This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
---
## 视频生成接口文档
### 基本信息
- **接口地址:** `http://192.168.10.70:8000/`
- **API 版本:** 1.0
### 生成动态视频
- **路径:** `/dynamic-video`
- **请求方法:** `POST`
- **描述:** 上传一张图片,生成带有动态效果的视频。
#### 请求参数
| 参数名 | 类型 | 描述 |
| ------ | ---- | ---- |
| image | File | 必填。要上传的图片文件。 |
#### 响应
| 字段 | 类型 | 描述 |
| ---- | ---- | ---- |
| message | string | 视频正在生成,请稍后。 |
| uid | string | 任务的唯一标识符。 |
### 生成静态视频
- **路径:** `/silent-video`
- **请求方法:** `POST`
- **描述:** 上传一张图片,生成无声的视频。
#### 请求参数
| 参数名 | 类型 | 描述 |
| ------ | ---- | ---- |
| image | File | 必填。要上传的图片文件。 |
#### 响应
| 字段 | 类型 | 描述 |
| ---- | ---- | ---- |
| message | string | 视频正在生成,请稍后。 |
| uid | string | 任务的唯一标识符。 |
### 查询任务状态
- **路径:** `/status/{uid}`
- **请求方法:** `GET`
- **描述:** 通过任务的唯一标识符查询任务的状态和结果。
#### 请求参数
| 参数名 | 类型 | 描述 |
| ------ | ---- | ---- |
| uid | string | 必填。任务的唯一标识符。 |
#### 响应
| 字段 | 类型 | 描述 |
| ---- | ---- | ---- |
| status | string | 任务的状态(processing, completed, failed)。 |