模版列表

请求URL:

  • /getTemplates

请求方式:

  • POST

参数:

参数名 必选 类型 说明
type int 模板类型:1-图片;2-视频
page int 当前页
pageSize int 展示数量

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 2,
            "title": "Braided Crown",
            "author": "Myq",
            "covering": "https://muyuhan.s3.amazonaws.com/facewap/img_temp/swap/virtual/Virtual+Salon_Braided+Crown.webp",
            "prompt": "In a natural, realistic style, transform the hairstyle of the person in the first image to perfectly match the hairstyle of the person in the second image — including texture, volume, parting, and any styling details such as braids, curls, or accessories. Ensure the change is seamless and anatomically accurate, preserving facial features and expression while altering only the hair. The result should look authentic, as if captured in a high-resolution photograph, with consistent lighting and background context. No additional elements or edits should be introduced — focus solely on the hairstyle transformation.",
            "price": 10,
            "isAudit": 1,
            "isShow": 1,
            "sort": 0,
            "type": 1,
            "createdAt": 1777340576,
            "updatedAt": 1777340576
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data array 数据列表
-id int 模版ID
-title string 模版标题
-author string 作者
-covering string 封面图
-prompt string 提示词
-price int 价格

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-04-28 18:37:26

results matching ""

    No results matching ""