Kooma API
Français API keys Sign up

Authentication

Every request must carry your API key in the header Authorization, prefixed with Bearer .

Keys start with sk-intermo-. Create them, scope them narrowly and delete them from API keys.

API access (approval)

Creating keys requires an account that is approved : request access from API keys describing your use case. Until the account is approved, POST /keys returns 403 api_access_required. Approval is granted once and covers all your keys.

Permissions (scope)

When you create a key you choose what it may call. A request to an endpoint outside that scope returns 403.

PermissionGives access to
ttsText to speech
sttFormer transcription permission (retired: still accepted, but has no effect)
mtTranslation
inferenceFull access (all capabilities)
Keep your key secret

A key gives access to your credit. Never put it never in browser-side code, a mobile app or a public repository. Call the API from your server. If a key leaks, revoke it from the console.

Test vs production

Create a key Personal for development and one key Service for production. You can set a credit cap and one list of allowed IP addresses per key.

HEADER
Authorization: Bearer sk-intermo-YOUR_KEY
401 Missing or invalid key
{
  "error": {
    "message": "Missing bearer token. Use 'Authorization: Bearer sk-intermo-...'.",
    "type": "invalid_request_error",
    "code": "invalid_api_key"
  }
}
↑↓ navigate↵ openesc close