GTMage-2.5
Get Task Status
Changed onPoll the status of an image generation task (any GTMage-2.5 model). Use the task ID returned from POST /v2/gt-mage/create-image.
Status values
| Status | Description |
|---|---|
| processing | Task is being processed |
| completed | Done — file_urls contains the generated images |
| failed | Error — see error field for details. Credits are automatically refunded |
Rate limit: 120 requests/minute per account, across all tasks. Prefer callback_url or the gt_mage_task_updated WebSocket event when you only need the final state.
get/v2/gt-mage/tasks/{id}
Request
- Base URLhttps://genaipro.io/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Task ID received from the create endpoint
Response
Task status
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"prompt": "A cat walking on the beach at sunset",
"file_urls": []
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
api operation id
getChatgptImageTaskremoved and replaced withgetGtMageTask - info
api tag
GTMage-2.5added - info
api tag
ChatGPT Imageremoved
- info