Quickstart
From sign-up to your first response in three minutes. These are curl requests: copy them as-is and change the file name.
Choose your path.
- Try it with no code — in the Studio, from your browser
- I come from OpenAI — change the base_url and that's it
- Transcribe audio — speech → text
- Generate speech — text → speech
- See all services — parameters and examples
1 · Create your key
In your account you create an API key. It starts with sk-echo- and is shown only once. Save it in a variable:
export UTTERA_API_KEY="sk-echo-…"
2 · Transcribe an audio
curl -X POST https://api.uttera.ai/v1/audio/transcriptions \
-H "Authorization: Bearer $UTTERA_API_KEY" \
-F file=@grabacion.mp3 \
-F model=whisper-1 \
-F response_format=text
3 · Generate speech
curl -X POST https://api.uttera.ai/v1/audio/speech \
-H "Authorization: Bearer $UTTERA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tts-1","voice":"alloy","input":"Hola, esto es Uttera."}' \
--output voz.mp3
4 · Coming from OpenAI
It is the same API. Change the base_url and the key; the rest of your code stays untouched:
from openai import OpenAI
client = OpenAI(base_url="https://api.uttera.ai/v1",
api_key="sk-echo-…")
5 · Check the cost
Every response carries its breakdown, and you can ask for the exact last charge:
curl -H "Authorization: Bearer $UTTERA_API_KEY" \
https://api.uttera.ai/v1/usage/last
6 · Next step
- No code: the Studio runs everything from the browser and shows the cost before and after.
- All services and their parameters, in API services.
- Authentication, errors and limits: Reference.