Access to dozens of AI APIs through a unique API.
Getting your API Key
Eden AI API token
Eden AI requires a Bearer authentification (also called token authentication). You can access to your API token on the homepage.
You need to write the API key in headers in this format:
{
'Authorization':'Bearer 🔑 Your_API_Key'
}
{
authorization: "Bearer 🔑 Your_API_Key"
}
...
-H 'content-type: application/json' \
..
Tokens carry many privileges, so be sure to keep them secure! Do not store your secret tokens in an .env file or share them in publicly accessible areas such as GitHub, client-side code, etc.
Sandbox API token
You can also use a Sandbox API token that allows you to make free calls and get dummy responses in order to implement and debug Eden AI without consuming credits.