4Z API

Submit Change (Pan / Zoom) Task

Endpoint: POST https://4zapi.com/mj/submit/change

Pan (extend direction) or Zoom Out (extend canvas) on an existing image.

Request body (application/json)

  • action (string, required): Action type ["PAN_LEFT", "PAN_RIGHT", "PAN_UP", "PAN_DOWN", "ZOOM_OUT_2X", "ZOOM_OUT_1_5X"]
  • taskId (string, required): Original task ID
  • notifyHook (string): Callback URL
  • state (string): Custom pass-through state

Request example

{
  "action": "PAN_RIGHT",
  "taskId": "1743326750223591"
}