4Z API

Get Task Status by ID

Endpoint: GET https://4zapi.com/mj/task/{id}/fetch

Query the current status/result of a task submitted via POST /mj/submit/imagine, /mj/submit/action, etc. When status is SUCCESS, imageUrl is valid and buttons lists the available follow-up actions (customId).

Parameters

  • id (path, string, required): Task ID
  • Authorization (header, string): Bearer API Key