Rend API

Get started

Authentication

Every request carries your key as a bearer token. A key belongs to your account and spends your account’s credit.

Accept the 18+ terms first. Rend’s models carry no editorial filter, so a key works only once its account has accepted the 18+ terms: sign in and accept them at rend.ai/confirm-18. It is one click, permanent, and covers every key on the account. GET /v1/models works before you accept, so you can check prices.

Send your key

HTTP
Authorization: Bearer rnd_api_...

With the OpenAI SDKs, pass the key as api_key (Python) or apiKey (JavaScript) and set the base URL to https://api.rend.ai/v1.

Older code using https://rend.ai/api/v1 keeps working: it is the same API, with the same keys, prices and replies.

Create and revoke keys

Keys live in API keys on platform.rend.ai, which you sign in to with your Rend account. Choose Create key, give it a name, and copy it right away: Rend shows a key once and keeps only a hash of it.

  • An account can have 20 active keys. Use one per app or environment so you can revoke one without touching the others.
  • Revoke stops a key at once. Requests already running finish.
  • Each key shows when it was created and last used.

What a key can do

A key calls the models: chat completions, compaction, images, videos and the model list. It cannot open, change or delete your projects or media. To let an agent work on your videos, connect it over MCP instead.

Keep keys safe

  • Keep keys on your server. Never put one in a web page, a mobile app or a public repository.
  • Read the key from an environment variable or your secret store.
  • If a key leaks, revoke it and create a new one. Every request a key made is in Settings → Usage.

Errors

Status Type and code Why
401 authentication_error No key, a key that is not a Rend key, or a revoked or expired key.
403 permission_error The key cannot call the API, for example a project computer’s key.
403 permission_error, code adult_confirm The account has not accepted the 18+ terms. Every call except GET /v1/models needs them. See Models & pricing.

The full list is in Errors.