视频历史
请求URL:
/videoTaskHistory
请求方式:
- POST
header:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Authorization | 是 | string | 授权token |
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| page | 否 | uint | 页码 |
| pageSize | 否 | uint | 展示数 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"id": 141,
"styleId": 2,
"taskId": "153",
"promptId": "313902995386602",
"covering": "https://muyuhan.s3.amazonaws.com/faceWap/test/original/1758189373388767000_lLGbcWMJ.jpg",
"origin": "https://muyuhan.s3.amazonaws.com/faceWap/test/original/1758518732366602175_eRXFjb1J.mp4",
"reason": "",
"state": 30,
"createdAt": 1758489933,
"videoTemp": {
"id": 2,
"title": "Butt Tease IV",
"thumb": "https://muyuhan.s3.amazonaws.com/facewap/thumb/Butt+Tease+IV.png?v=1",
"covering": "https://muyuhan.s3.amazonaws.com/facewap/covering/Butt+Tease+IV.webp?v=1",
"video": "https://muyuhan.s3.amazonaws.com/facewap/video/Butt+Tease+IV.mp4?v=2",
"pid": 0,
"gid": 0,
"favoriteCount": 1,
"sort": 48,
"isHome": 1,
"prompt": "She smiles seductively at the camera, her eyes glinting with allure. Then, she turns her back to the camera, her movements fluid and graceful. With a subtle shift of her weight, she raises her hips, her body moving in a smooth, controlled motion. Her hands gently pull up the skirt, the fabric lifting to reveal a little bit of her beautifully sculpted curves",
"author": "alvjay",
"createdAt": 1753913160,
"updatedAt": 1761181034
}
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | array | 数据 |
| - id | uint | 视频ID |
| - taskId | uint | 任务主键ID |
| - promptId | string | 任务ID |
| - covering | string | 封面图 |
| - origin | string | 视频地址 |
| - reason | string | 失败原因:new_sensitive;unknown error |
| - state | uint8 | 任务状态:2-失败;10-等待生成;20-生成中;30-生成成功 |
| - createdAt | int64 | 视频生成时间 |
| - videoTemp | struct | 视频模版信息 |
| -- id | uint | 视频模版ID |
| -- title | string | 视频模版标题 |
| -- thumb | string | 视频模版缩略图 |
| -- covering | string | 视频模版封面图 |
| -- video | string | 视频模版视频 |
| -- prompt | string | 视频模版提示词 |
| -- author | string | 视频模版创作者 |
备注 错误码: 510 系统异常 800 参数错误