Use the edit interface to modify externally provided images. You can perform partial repainting or directly alter the image.
Request
Body Params application/json
{
"prompt": "Convert the image to Ghibli style",
"imageBase64": "data:image/png;xxx"
}
Request Code Samples
curl --location '/mj/submit/edit' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Convert the image to Ghibli style",
"imageBase64": "data:image/png;xxx"
}'
Responses
application/json
{
"code": 1,
"description": "Submit success",
"result": "1734937261701344"
}
Modified at 2026-10-19 10:10:04