- 无界AI企业服务
- 无界AI企业智能客服
- 更新日志
- 公告
- API接入指南
- 作画指南
- AI专业版作画
- AI普通版作画
- AI视频生视频
- AI咒语解析
- 付费开通API
- AI化身&个性相机
- 提升作画效率
- 自定义镜像
- 用户账户
- LLM对话聊天
- OpenAI Image
矢量图
POST
https://gate.wujieai.net/wj-open/v1/ai/pro/lab/createVectorsStudio
请求参数
Body 参数application/json
input
object
可选
height
integer | null
Int
initImage
string | null
String
noiseTolerance
integer | null
Int
notifyUrl
string | null
String
quantize
integer | null
Int
style
integer | null
Int
threshold
integer | null
Int
transparentPNG
boolean | null
Boolean
vectorization
boolean | null
Boolean
whiteMarginFormat
boolean | null
Boolean
whiteOpaque
boolean | null
Boolean
width
integer | null
Int
示例
{
"input": {
"height": 512,
"width": 512,
"initImage": "https://cdn.wujiebantu.com/ai/251846EF8EBC6DA836CEF7C5A41AF6C9.png",
"noiseTolerance": 16,
"quantize": 16,
"style": 202,
"threshold": 50,
"transparentPNG": true,
"vectorization": true,
"whiteMarginFormat": true,
"whiteOpaque": true
}
}
示例代码
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 '{
"input": {
"height": 512,
"width": 512,
"initImage": "https://cdn.wujiebantu.com/ai/251846EF8EBC6DA836CEF7C5A41AF6C9.png",
"noiseTolerance": 16,
"quantize": 16,
"style": 202,
"threshold": 50,
"transparentPNG": true,
"vectorization": true,
"whiteMarginFormat": true,
"whiteOpaque": true
}
}'
返回响应
🟢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"
}
}
}
}