api-keys
Generate Temp Token
Swap an API key for a short-lived token usable from JS clients.
The token is short-lived (TTL controlled by server) and stores the API key UID in Redis. The actual API key is never stored in Redis.
Usage: wss://host/api/speech/tts?token={returned_token}
get/api-keys/token
Request
- Base URLhttps://api.gradium.ai/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
Changes
No operation changes recorded.