增强效果列表

请求URL:

  • /getEnhanceList

请求方式:

  • GET

header:

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

参数:

参数名 必选 类型 说明

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "title": "Background Blur",
            "config": [
                {
                    "id": 1,
                    "title": "Low",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 2,
                    "title": "Medium",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 3,
                    "title": "High",
                    "value": 100,
                    "covering": "xxx"
                }
            ],
            "face": 1,
            "workflowId": 0,
            "createdAt": 1747935859,
            "updatedAt": 1747936264
        },
        {
            "id": 2,
            "title": "Background Enhance",
            "config": [
                {
                    "id": 1,
                    "title": "Low",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 2,
                    "title": "Medium",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 3,
                    "title": "High",
                    "value": 100,
                    "covering": "xxx"
                }
            ],
            "face": 0,
            "workflowId": 0,
            "createdAt": 1747935859,
            "updatedAt": 1747937324
        },
        {
            "id": 3,
            "title": "Face Retouch",
            "config": [
                {
                    "id": 1,
                    "title": "Low",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 2,
                    "title": "Medium",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 3,
                    "title": "High",
                    "value": 100,
                    "covering": "xxx"
                }
            ],
            "face": 1,
            "workflowId": 0,
            "createdAt": 1747935859,
            "updatedAt": 1747936264
        },
        {
            "id": 4,
            "title": "Face Enhancer",
            "config": [
                {
                    "id": 1,
                    "title": "Low",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 2,
                    "title": "Medium",
                    "value": 100,
                    "covering": "xxx"
                },
                {
                    "id": 3,
                    "title": "High",
                    "value": 100,
                    "covering": "xxx"
                }
            ],
            "face": 1,
            "workflowId": 0,
            "createdAt": 1747935859,
            "updatedAt": 1747936264
        },
        {
            "id": 5,
            "title": "High-definition magnification(高清放大图)",
            "config": null,
            "face": 0,
            "workflowId": 3,
            "createdAt": 1747956135,
            "updatedAt": 1747956250
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
- id int 效果ID
- title string 效果标题
- face int 是否面部专用:1-是;0-否
- workflowId int 工作流ID
- config array 效果配置
-- id int 配置ID
-- title string 配置标题
-- value string|int 参数值
-- covering string 配置封面

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

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-05-23 17:05:05

results matching ""

    No results matching ""