Docs menuinvideo Platform docsQuickstartFor AI agentsAPI referenceAuthenticationRequestsFilesErrorsLimitsBilling and balanceCatalogueProvider keys (BYOK)Formats and model IDsChat completionsOpenAI ResponsesAnthropic MessagesGeminiStreaming chat answersTools (function calling)Structured output (JSON)VideoAudioUse your own SDKOpenAI mediaElevenLabsReplicatefalGemini mediaxAIRunwayLumaDeepgram and CartesiaMakers' own APIsVideo provider formatsImage provider formatsAudio provider formatsLLM provider formatsGenerate and edit imagesTest your integrationWorkspaces and membersSecurityService accountsModels
View as markdown

Authentication

Send your API key as a Bearer token. Keys belong to a workspace.

Every call needs an API key in the Authorization header (the catalogue does not):

bash
curl https://platform-api.invideo.io/v1/models \
  -H "Authorization: Bearer $INVIDEO_API_KEY"

Keys

  • Each API key belongs to a workspace. Every key of a workspace shares its models, its limits and its spend.
  • Make and delete keys in the console, under API keys. You can view a key only when you create it.
  • A key starts with iv_ and has 75 characters: iv_ + 22 characters + _ + 49 characters.
  • Delete a key and it stops at once. Make a new key before you delete the old one to rotate without downtime.

Keep keys secret

  • Call the API from your server. Never put a key in a browser, a mobile app or a public repository.
  • Use one key per app or environment, so you can turn one off without stopping the others.
  • If a key leaks, delete it in the console at once. See Security.

Errors

A missing, invalid, disabled or expired key returns 401:

json
{ "error": "unauthorized", "message": "..." }
Authentication - Docs | invideo Platform