Install
ws is only needed for realtime in Node. Bun, Deno and browsers have a built-in WebSocket.
Get an API key
- Sign in to the Finesse dashboard.
- Open Settings → API keys and create a key. Copy it right away: it is shown only once, and it
starts with
flv_. - Put it in your environment, where the SDK finds it:
Make a first call
hello.wav is a 24 kHz WAV file.
Requirements
- Node 18 or later, Bun, Deno, or a modern browser (with a token).
- TypeScript 4.7 or later, if you use TypeScript. Types are included.
- No runtime dependencies;
wsfor realtime in Node.
Runtimes
Browsers can’t keep an API key secret, so a client holding a key refuses to run in one. Use a
short-lived token instead.

