DeerAPI 提交编辑任务接口:通过 POST /mj/submit/edits 调用 Midjourney API,支持图片编辑(maskBase64+prompt,可选原图)与转绘(image+prompt)。
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>"
}Bearer token authentication. Use your DeerAPI key.
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>"
}