cURL
curl --request GET \ --url https://api.rendernet.ai/pub/v1/generations/media/{media_id} \ --header 'X-API-KEY: <x-api-key>'
{ "data": { "id": "media_01", "dim": { "height": 512, "width": 512 }, "type": "image", "status": "success", "url": "object-url" }, "err": {} }
The get media endpoint lets users fetch the details for a particular generated media 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 media
Details of a media generation.
Show child attributes
The error if the request was not successful
Was this page helpful?