GET
/
pub
/
v2
/
assets
/
{asset_id}
curl --request GET \
  --url https://api.rendernet.ai/pub/v2/assets/{asset_id} \
  --header 'X-API-KEY: <x-api-key>'
{
  "data": {
    "size": {
      "height": 512,
      "width": 512
    },
    "duration": 30,
    "frames": 200,
    "url": "object-url",
    "id": "asset_id",
    "status": "active",
    "type": "image"
  },
  "err": {}
}

V2 offers streamlined and precise attributes in requests and responses, making asset usage more efficient and simpler.

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

asset_id
string
required

The id of the asset

Response

200 - application/json
The asset is successfully fetched
data
object
err
object

The error if the request was not successful