get_task
Retrieve the current status and latest result payload for a gpt-image-2 task. Provide the task ID and the action endpoint (edit_image or text_to_image).
Instructions
Fetch the current status and latest result payload for a gpt-image-2 task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Endpoint the task was created on. | |
| task_id | Yes | Task id returned when the task was created. |