Authentication
Every request must carry your API key in the header Authorization, prefixed with Bearer .
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.
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.
When you create a key you choose what it may call. A request to an endpoint outside that scope returns 403.
| Permission | Gives access to |
|---|---|
tts | Text to speech |
stt | Former transcription permission (retired: still accepted, but has no effect) |
mt | Translation |
inference | Full access (all capabilities) |
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.
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.
Authorization: Bearer sk-intermo-YOUR_KEY
{
"error": {
"message": "Missing bearer token. Use 'Authorization: Bearer sk-intermo-...'.",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}