Skip to main content
POST
/
mj
/
submit
/
edits
提交编辑任务
curl --request POST \
  --url https://api.deerapi.com/mj/submit/edits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "xxxx"
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>"
}
一:编辑图片 maskBase64是必填的,图片需要修改的区域透明表示 prompt必填 image选填,这是原图 二:转绘图片 只需要填image和prompt

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your DeerAPI key.

Body

application/json
prompt
string
default:Hello
required
image
enum<string>
Available options:
url,
base64
state
string
notifyHook
string
noStorage
boolean

Response

200 - application/json

Success

code
integer
description
string
result
string