生图模型列表

请求URL:

  • /getImageModels

请求方式:

  • POST

header:

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

参数:

参数名 必选 类型 说明
appId string
udid string
location uint8 轮播图位置:1-马甲包顶部

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "title": "二次元",
            "fileName": "ecy.json",
            "covering": "https://muyuhan.s3.amazonaws.com/faceWap/ai_filter/disney.png",
            "dyParam": [
                {
                    "field": "text",
                    "index": "13"
                },
                {
                    "field": "seed",
                    "index": "12"
                }
            ],
            "content": "",
            "createdAt": 1747272394,
            "updatedAt": 1757474119
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据
- id int 轮播图ID
- title string 标题
- covering string 封面
- createdAt int64 添加时间
- updatedAt int64 修改时间

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

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-09-10 19:17:55

results matching ""

    No results matching ""