Request
curl --location 'https://api.unifically.com/gpt-image-1/status/4926fe1a-b7fb-4da4-b726-8f5de4a33767' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json'
Path Parameters
The task ID returned from the generation request
Response
Task status data
Current status: pending, processing, completed, or failed
Show output properties (when completed)
URL of the generated image
Error details (if failed)
Status Values
| Status | Description |
|---|
pending | Task is queued |
processing | Image is being generated |
completed | Image generation is complete |
failed | Generation failed with an error |
Response Examples
{
"code": 200,
"data": {
"status": "completed",
"task_id": "4926fe1a-b7fb-4da4-b726-8f5de4a33767",
"output": {
"image_url": "https://storage.unifically.com/images/4926fe1a.png"
},
"error": {}
}
}
Poll this endpoint periodically to check generation progress