By executing the edit API, you can edit the externally transmitted image, perform partial redrawing, or directly change the image.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"prompt": "Convert image to Ghibli style",
"imageBase64": "data:image/png;xxx"
}
Request Code Samples
curl --location -g --request POST 'https://apipro.ao/mj/submit/edit' \
--header 'Authorization: {YOUR KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "将图片转为吉卜力风格",
"imageBase64": "data:image/png;xxx"
}'
Responses
{
"code": 1,
"description": "Submit success",
"result": "1734937261701344"
}
Modified at 2026-07-09 10:12:26