Modal (Area Redesign & Zoom)
post/mj/submit/modal
Request body
maskBase64string
Base64-encoded mask image for partial inpainting. White areas are repainted; black areas are preserved.
promptstring
Text prompt describing the desired change for the selected region.
taskIdstring required
Task id from the parent task whose modal action you are continuing.
customIdstring required
The button customId that opened the modal, such as MJ::Inpaint::1::xxxx::SOLO from the Vary (Region) button. Required.
Response
Success
codeinteger required
The status of the task
descriptionstring required
propertiesobject required
resultinteger required
The task ID of the returned task