Authentication
Create an API key in the console and set it as SPEECHREVOLUTIONS_API_KEY. The SDKs read it automatically.
bash
export SPEECHREVOLUTIONS_API_KEY="stt_…"Every SDK reads the key from the environment, or you can pass it explicitly:
from speechrevolutions import SpeechRevolutions
client = SpeechRevolutions() # reads SPEECHREVOLUTIONS_API_KEY
client = SpeechRevolutions(api_key="stt_…") # or pass itTo point a client at a different host, such as staging, set SPEECHREVOLUTIONS_BASE_URL.
Call the API directly
Without an SDK, send the key in the X-API-Key header:
bash
curl -N -X POST "https://api.speechrevolutions.com/api/v1/transcribe" \
-H "X-API-Key: $SPEECHREVOLUTIONS_API_KEY" \
--data-binary @sample.mp3Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
429 | Rate limit exceeded |
Keep keys server-side
Never ship API keys in browser or mobile clients. Proxy through your backend, or use the console demo flows for public demos.