completed, the output field contains the generated contentfailed, the error field contains failure detailsAdd to request header:
Authorization: Bearer YOUR_API_KEY
The task ID returned from generation endpoints
Task detail retrieved successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Model used for the task
"gemini-3.1-flash-image-preview"
Task type identifier
"image.generation.task"
Task progress percentage (0-100)
0 <= x <= 100100
Task status
pending, processing, completed, failed, cancelled "completed"
Asynchronous task information
Task output type
text, image, audio, video "image"
Task output data, present when status is completed
Error details, present when status is failed