cURL
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 } }
The get generation endpoint lets users fetch the details for a generation using its id.
API key needed to access our public endpoints. You can find yours under the 'Account' section of the website
The id of the generation
Details of a generation.
Show child attributes
The date and time when the feed item was created
1675732000
"gen_01"
The id of the media
"media_01"
The height of the media
512
The width of the media
The type of the media
image
video
"image"
The status of the media
pending
success
failed
"success"
The url of the media. In case of success, contains the media url. In case of failed, it is empty. In case of pending, this field will not be sent.
"object-url"
The error if the request was not successful
The pagination information
The page number
1
The page size
1 <= x <= 50
10
The total number of items
100
Was this page helpful?