curl; any HTTP client works the same way.
1
Create an API key
In the Finesse dashboard, go to Developers → API Keys
and create a key. Copy the
flv_… secret right away: it’s shown only once. Then put it in your
environment, where the examples below find it:2
Find a voice
Any voice you can use works: one of your own, or one from the public catalog. Only voices whose
status is
ready can speak; see Working with voices.3
Synthesize speech
hello.wav, a 24 kHz WAV file you can play.Prefer a library? The TypeScript SDK (
npm install @flamai/finesse) and
the Python SDK (pip install flam-finesse) do this in a few lines.Next steps
Stream audio
Start playback before the full clip is ready.
Clone a voice
Make a voice from a reference clip.
Build a voice agent
Speak text as your LLM writes it, over one WebSocket.
Handle errors
Error codes, retries and request IDs.

