GET
/
pub
/
v1
/
generations
/
{generation_id}
curl --request GET \
  --url https://api.rendernet.ai/pub/v1/generations/{generation_id} \
  --header 'X-API-KEY: <x-api-key>'
{
  "data": {
    "created_at": 1675732000,
    "generation_id": "gen_01",
    "media": [
      {
        "id": "media_01",
        "dim": {
          "height": 512,
          "width": 512
        },
        "type": "image",
        "status": "success",
        "url": "object-url"
      }
    ]
  },
  "err": {},
  "pagination": {
    "page": 1,
    "page_size": 10,
    "total": 100
  }
}

Headers

X-API-KEY
string
required

API key needed to access our public endpoints. You can find yours under the 'Account' section of the website

Path Parameters

generation_id
string
required

The id of the generation

Response

200 - application/json
Details of a generation.
data
object
err
object

The error if the request was not successful

pagination
object

The pagination information