- 无界AI企业服务
- 无界AI企业智能客服
- 更新日志
- 公告
- API接入指南
- 作画指南
- AI专业版作画
- AI普通版作画
- AI视频生视频
- AI咒语解析
- 付费开通API
- AI化身&个性相机
- 提升作画效率
- 自定义镜像
- 用户账户
- LLM对话聊天
- 实验室
矢量图
POST
https://gate.wujieai.net/wj-open/v1/ai/pro/lab/createVectorsStudio
请求参数
Body 参数application/json
input
object (AiVectorStudioCreateInput)
矢量图创建入参数
height
integer | null
Int
initImage
string | null
String
initImageParam
object (RelationPostUrlParam) | null
可选
noiseTolerance
integer | null
Int
notifyUrl
string | null
String
quantize
integer | null
Int
style
integer | null
Int
threshold
integer | null
Int
transparentPNG
boolean | null
Boolean
vectorRes
array[object (AiVectorStudioImageInput) {2}] | null
可选
vectorization
boolean | null
Boolean
whiteMarginFormat
boolean | null
Boolean
whiteOpaque
boolean | null
Boolean
width
integer | null
Int
示例
{
"input": {
"height": 0,
"initImage": "string",
"initImageParam": {
"key": "string",
"url": "string"
},
"noiseTolerance": 0,
"notifyUrl": "string",
"quantize": 0,
"style": 0,
"threshold": 0,
"transparentPNG": true,
"vectorRes": [
{
"type": "BASE",
"url": "string"
}
],
"vectorization": true,
"whiteMarginFormat": true,
"whiteOpaque": true,
"width": 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://gate.wujieai.net/wj-open/v1/ai/pro/lab/createVectorsStudio' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
code
string
必需
message
string
必需
data
object
必需
aiLabMutation
object
必需
示例
{
"code": "string",
"message": "string",
"data": {
"aiLabMutation": {
"vectorStudioCreateV2": {
"key": "string",
"aiType": "AI_LAB_INFINITE_ZOOM"
}
}
}
}
修改于 2023-10-20 08:01:25