Image Local Edit (Edits)
Endpoint: POST https://4zapi.com/mj/submit/edits
Edit a masked region on an existing image; optional prompt guidance.
Request body (application/json)
prompt(string, required): New prompt for the edited regiontaskId(string, required): Original task IDmaskBase64(string): Mask image Base64 (white areas are the edit region)notifyHook(string): Callback URLstate(string): Custom pass-through state