Skip to main content

GET /v1/chatgpt-images/generations/

Check the current status of your image generation task.
task_uuid
string
required
Task UUID returned from the generate endpoint
pending
string
Task is in queue waiting to be processed
processing
string
Image is currently being generated
completed
string
Image generation completed successfully
failed
string
Image generation failed with error
curl -X GET https://platform.runblob.io/v1/chatgpt-images/generations/dc62d83d-1953-4bca-8554-222679a7a4a9 -H "Authorization: Bearer YOUR_API_KEY"
{
  "task_uuid": "dc62d83d-1953-4bca-8554-222679a7a4a9",
  "status": "completed",
  "prompt": "cat and dog",
  "result_image_url": "https://cdn.example.com/images/dc62d83d.png",
  "message": null
}
Tasks timeout after a certain period. Failed tasks return specific error codes in the message field.