API ReferenceGetting started
Introduction
One REST API to clone a voice from a short sample and turn text into studio-mastered speech in that voice.
The JSF Labs API exposes two capabilities behind one gateway. You send audio and get back a reusable voice; you send text and get back speech in that voice. Both endpoints share the same authentication, rate limits, character-based billing and error format — once you've called one, you already know how to call the other.
Clone a voiceUpload a short sample and receive a portable
jsf_ voice ID.Text to speechSend text with a voice ID and get back a hosted, loudness-normalized audio file.QuickstartClone a voice and speak with it in two calls.Error codesEvery error code, grouped by cause.Everything is synchronous: each request returns the finished result, so there are no jobs to poll and no webhooks to configure.
Base URL
All endpoints live under a single versioned base. Every path in these docs is written in full, including the version prefix.
Base URL
https://www.jsflabs.io/api/v1Requests must be sent over HTTPS. Plain HTTP is not supported.
At a glance
| Format | REST · JSON and multipart |
| Auth | x-api-key header |
| Rate limit | 50 requests / minute per key |
| Output | Hosted WAV, -14 LUFS |
