最近使用模板列表

请求URL:

  • /recentList

请求方式:

  • POST

header:

参数名 必选 类型 说明
Authorization string 授权token

参数:

参数名 必选 类型 说明
appId string
udid string
type uint8 类型:1-视频;2-生图

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 2,
            "title": "生图模版",
            "covering": "https://muyuhan.s3.amazonaws.com/images/styles/anime.jpg",
            "image": "https://muyuhan.s3.amazonaws.com/images/styles/anime_new.jpg",
            "workflowId": 0,
            "prompt": "生图模版提示词",
            "favoriteCount": 0,
            "isAudit": 0,
            "pid": 4,
            "sort": 0,
            "createdAt": 1757464077,
            "updatedAt": 1757468143
        },
        {
            "id": 1,
            "title": "生图模版",
            "covering": "https://muyuhan.s3.amazonaws.com/images/styles/anime.jpg",
            "image": "https://muyuhan.s3.amazonaws.com/images/styles/anime_new.jpg",
            "workflowId": 0,
            "prompt": "生图模版提示词",
            "favoriteCount": 0,
            "isAudit": 0,
            "pid": 3,
            "sort": 0,
            "createdAt": 1757464077,
            "updatedAt": 1757468143
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据
- id int 生图(生视频)模版ID
- title string 标题
- thumb string 缩略图(视频专有)
- covering string 封面图
- video string 视频地址(视频专有)
- workflowId int 工作流ID
- favoriteCount int 使用(点赞)数
- prompt string 任务提示词
- createdAt int64 添加时间
- updatedAt int64 修改时间

备注 错误码: 510 系统异常 800 参数错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-09-12 10:05:08

results matching ""

    No results matching ""