v1

latestOpenAPI 3.1.02026-07-26793302.3 KB

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.

Response

Success

codeinteger required

The status of the task

descriptionstring required
propertiesobject required
resultinteger required

The task ID of the returned task