Skip to main content
The Finesse TypeScript SDK wraps the API in a typed client for TypeScript and JavaScript. It covers voices, cloning, one-shot and streamed speech, and realtime sessions for voice agents, and it handles retries, timeouts and errors for you.

TypeScript

On npm. Node 18+, Bun, Deno and browsers.

Python

On PyPI. Sync and async clients, Python 3.10+.

Source on GitHub

finesse-node and finesse-python, both Apache-2.0.
The guides below use TypeScript. The Python SDK has the same features with Python names: its page covers the essentials, and its README on GitHub has the rest.

What you get

  • Typed requests and responses that use the API’s own field names, so they match the API reference.
  • Realtime over one WebSocket: stream text in as your LLM writes it, get audio back, cancel on barge-in.
  • Safe retries: calls that cost credits send an Idempotency-Key, so a retry never bills twice.
  • One error hierarchy with machine-readable codes and request IDs.

Hello, Finesse

Which method should I use?

Guides

Voices

List, get, update and delete voices.

Clone a voice

From a reference clip to a ready voice.

Text to speech

One-shot and streamed speech.

Realtime

Voice agents over one WebSocket.

Short-lived tokens

Speech from browsers and devices without a key.

Errors and retries

Error types, retries, timeouts.