风格详情

请求URL:

  • /getStyleInfo

请求方式:

  • GET

参数:

参数名 必选 类型 说明
style_id int 风格ID

返回示例

{
    "code": 0,
    "msg": "",
    "data": {
        "imageList": [
            {
                "id": 1,
                "task_id": 6,
                "path": "https://muyuhan.s3.us-east-1.amazonaws.com/webUI/test/original/thumbnail-image-20250415113142-285204.jpeg",
                "origin": "https://muyuhan.s3.us-east-1.amazonaws.com/webUI/test/original/image-20250415113142-285204.jpeg",
                "state": 0,
                "width": 992,
                "height": 992,
                "createdAt": -62135596800,
                "updatedAt": -62135596800
            },
            {
                "id": 2,
                "task_id": 7,
                "path": "https://muyuhan.s3.us-east-1.amazonaws.com/webUI/test/original/thumbnail-image-20250415113249-534103.jpeg",
                "origin": "https://muyuhan.s3.us-east-1.amazonaws.com/webUI/test/original/image-20250415113249-534103.jpeg",
                "state": 0,
                "width": 992,
                "height": 992,
                "createdAt": -62135596800,
                "updatedAt": -62135596800
            }
        ],
        "styleInfo": {
            "id": 1,
            "title": "3D卡通",
            "image": "https://muyuhan.s3.us-east-1.amazonaws.com/images/styles/3d.jpg",
            "modelName": "IP DESIGN _ 3D可爱化模型_V4.0",
            "modelBased": "DESIGN _ 3D",
            "modelFeature": [
                "3D",
                "卡通"
            ],
            "loras": [
                "kk-3D卡通人物粘土质感_V3.0"
            ],
            "isHost": 1,
            "isRecommend": 0,
            "isNew": 0,
            "sort": 0,
            "state": 1,
            "synopsis": "",
            "favoriteCount": 0,
            "version": "",
            "createdAt": 1744132909,
            "updatedAt": 1744592001
        }
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
- styleInfo struct 风格信息
-- id int 风格id
-- title string 风格名称
-- image string 风格图标
-- modelBased string 基于模型
-- modelFeature array 模型特性
-- synopsis string 简介
-- version string 版本号
-- favoriteCount int 点赞数
-- isFavorite bool 是否已点赞
- imageList array 模型图片
-- id int 图片ID
-- task_id int 任务ID
-- path string 缩略图地址
-- origin string 原图地址
-- width int 图片宽度
-- height int 图片高度

备注 分类值: 1-是 0-否

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-06-17 15:11:29

results matching ""

    No results matching ""