Skip to main content
POST
/
mj
/
submit
/
retexture
cURL
curl --request POST \
  --url https://proxy.innk.cc/mj/submit/retexture \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image": "<string>",
  "prompt": "<string>",
  "notifyHook": "<string>",
  "state": "<string>",
  "noStorage": false
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>",
  "properties": {}
}

Authorizations

Authorization
string
header
required

身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。

Body

application/json
image
string
required

需要转绘的图片

prompt
string
required

提示词

notifyHook
string

回调URL

state
string

额外参数

noStorage
boolean
default:false

返回原始链接

Response

200 - application/json

Midjourney retexture response

code
integer<int32>
required

状态码: 1(提交成功), 21(窗口等待), 22(排队中), 23(队列满), other(错误)

description
string
required

描述

result
string
required

任务ID

properties
object

扩展字段