BrightShotBrightShot API
Status

Get generation status

Check the status of a generation request and retrieve results.

GET
/api/v1/prediction/{request_id}
AuthorizationBearer <token>

API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

Path Parameters

request_idstring

The request ID returned from a generation endpoint

Response Body

application/json

application/json

application/json

curl -X GET "https://api.bright-shot.com/api/v1/prediction/string"

{
  "status": "processing"
}

{
  "error": "Invalid API key"
}
{
  "error": "Prediction not found"
}