矢量图
POST
/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
}
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
string
必需
data
object
必需
aiLabMutation
object
必需
示例
{
"code": "string",
"message": "string",
"data": {
"aiLabMutation": {
"vectorStudioCreateV2": {
"key": "string",
"aiType": "AI_LAB_INFINITE_ZOOM"
}
}
}
}
最后修改时间: 1 年前