图片模版分组

请求URL:

  • /imageGroupList

请求方式:

  • POST

header:

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

参数:

参数名 必选 类型 说明
appId string
udid string

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "title": "BoyFriend Prank",
            "sort": 0,
            "imageTemplates": [
                {
                    "id": 2,
                    "title": "Crushed Whip",
                    "description": "Drop a car pic and we'll crush it",
                    "covering": {
                        "after": "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png",
                        "before": "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png"
                    },
                    "prompt": "A thirtless, well built, handsome plumber is fixing the sink.",
                    "images": null,
                    "apiType": 1,
                    "price": 5,
                    "isShow": 1,
                    "isAudit": 0,
                    "sort": 0,
                    "updatedAt": 1766359972,
                    "imageParam": null,
                    "imageTemplateCovering": {
                        "before": "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png",
                        "after": "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png"
                    }
                }
            ]
        },
        {
            "id": 2,
            "title": "Instant Haircut",
            "sort": 1,
            "imageTemplates": [
                {
                    "id": 1,
                    "title": "Beach Wave",
                    "description": "See yourself with a beach wave look",
                    "covering": {
                        "after": "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png",
                        "before": "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png"
                    },
                    "prompt": "The girl in the first image, is in the exact lingerie from the second image.",
                    "images": [
                        "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png",
                        "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png"
                    ],
                    "apiType": 2,
                    "price": 10,
                    "isShow": 1,
                    "isAudit": 0,
                    "sort": 0,
                    "updatedAt": 1766359060,
                    "imageParam": [
                        "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png",
                        "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png"
                    ],
                    "imageTemplateCovering": {
                        "before": "https://i.postimg.cc/gkcNCRjc/0958c9b3397a7f6f4378cfb2e9577c69.png",
                        "after": "https://i.postimg.cc/Z5g6nvcv/e2b9464e3df42a2f65781ace66495d90.png"
                    }
                }
            ]
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data array 数据
- id uint 分组ID
- title string 分组标题
- imageTemplates array 图片模版
-- id uint 模版ID
-- title string 模版名称
-- imageTemplateCovering struct 模版封面
--- before string 模版封面1
--- after string 模版封面2
-- prompt string 模版提示词
-- price uint 模版价格
-- imageParam array 模版参考图

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

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-12-26 18:58:27

results matching ""

    No results matching ""