Skip to main content
GET
/
api
/
v3
/
predictions
/
e2e61cbf-XXX
/
result
Query Task
curl --request GET \
  --url https://gptproto.com/api/v3/predictions/e2e61cbf-XXX/result \
  --header 'Authorization: <authorization>'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Overview

Nano-banana Query TaskIf enable_sync_mode set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}