模版信息列表
GET
/mirror/templates
无界魔镜魔镜作画
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gate.wujieai.net/wj-open/v1/mirror/templates'
返回响应
🟢200OK
application/json
Body
code
string <string>
响应code
示例值:
200
message
string <string>
失败信息
示例值:
success
data
array[object (TemplateInfoVo_response) {9}]
返回数据
template_id
integer <int32>
模板id
示例值:
460
template_name
string <string>
模板名称
示例值:
毕业照
gender
integer <int32>
可选
示例值:
1
category_name
array[string]
模板所属场景
示例值:
[证件照,毕业照]
template_url
string <string>
模版封面图
示例值:
https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_0_0_new3_.png
example_urls
array[string]
模板示例图,4张
示例值:
[https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_0_0_new3_.png,https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_1_0_new3_.png,https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_2_0_new3_.png,https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_3_0_new3_.png]
avg_consuming_seconds
integer <int32>
可选
示例值:
30
model_code
integer <int32>
可选
如果需要关注背后算力,可能用到该值
示例值:
511
model_name
string <string>
可选
示例值:
私人影像
示例
{
"code": "200",
"message": "success",
"data": [
{
"template_id": 460,
"template_name": "毕业照",
"gender": 1,
"category_name": [
"证件照",
"毕业照"
],
"template_url": "https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_0_0_new3_.png",
"example_urls": [
"https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_0_0_new3_.png",
"https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_1_0_new3_.png",
"https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_2_0_new3_.png",
"https://cdn.wujiebantu.com/ai/mirror_template/biyezhao_example_3_0_new3_.png"
],
"avg_consuming_seconds": 30,
"model_code": 511,
"model_name": "私人影像"
}
]
}
修改于 2024-09-19 08:39:24