Skip to content
Developers

API keys and the voice API

Create keys for the /v1 API: text to speech, speech to text and agents, with JavaScript and Python SDKs.


  1. Go to API keys & usage and click Create key. Name it so you can tell keys apart, like Production or Mobile app.
  2. Copy the key straight away: it is shown only once.
  3. Call the API with the key in the x-api-key header. Copy a curl example gives you a working request.
curl -X POST https://lipivo.com/v1/text-to-speech \
  -H "x-api-key: YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"text": "Hello! Your order arrives tomorrow."}'
  • SDKs: npm i lipivo (JavaScript) and pip install lipivo (Python).
  • Text to speech costs credits per character, speech to text per second of audio, agents on our models per token.
  • Each key shows what it spent this month. Revoke a key and apps using it get 401 errors straight away.

Related guides