- 触站AI API接口使用说明
- 返回结构
- 更新历史
- 基础
- 工作流(AI小工具)
- 应用工具(电商工具)
- 通用AI绘画(触站AI绘画)
- 模型训练
- MJ绘画
- 示例&DEMO
获取应用工具选项详情
POST
https://ai.huashi6.com/aiapi/utilityTool/detail
最后修改时间:2024-11-12 09:59:34
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
utilityToolId
integer
应用工具id
示例
{
"utilityToolId": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ai.huashi6.com/aiapi/utilityTool/detail' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
data
object
必需
name
string
电商工具名
options
array [object {4}]
选项列表
maskRequired
boolean
遮罩图是否必填
code
integer
API统一响应码
msg
string
错误消息
success
boolean
是否处理成功
示例
{
"data": {
"name": "人台图生成",
"id": 1,
"options": [
{
"id": 1,
"name": "选择模特",
"required": true,
"items": [
{
"id": 1,
"name": "亚洲男",
"coverImageUrl": "https://imgsource.huashi6.com/images/aiWorks/f936970280188/2024/07/23/10274_62489041087.png"
},
{
"id": 2,
"name": "亚洲女",
"coverImageUrl": "https://imgsource.huashi6.com/images/aiWorks/f936970280188/2024/07/23/10274_62489041087.png"
}
]
}
],
"maskRequired": true
},
"code": 0,
"success": true
}
修改于 2024-11-12 09:59:34