cURL
curl --request GET \ --url https://api.mulerouter.ai/vendors/openai/v1/gpt-image-2/generation/{task_id} \ --header 'Authorization: Bearer <token>'
{ "task_info": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "completed", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "images": [ "<string>" ] }
Retrieve the status and result of a generation task.
task_info.id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Task result
Show child attributes
Generated/edited image URLs (only present when status is completed)