Skip to content

Migrate From ElevenLabs

Braiv’s Text to Speech API is designed to make migration from ElevenLabs straightforward for server-side integrations.

ElevenLabsBraiv
https://api.elevenlabs.io/v1https://api.braiv.com/v1
ElevenLabs API keyBraiv API key
ElevenLabs voice_idBraiv voice clone id
ElevenLabs model idbraiv-speech-v1

If your ElevenLabs client supports a custom baseUrl, point it at Braiv:

import { ElevenLabsClient } from '@elevenlabs/elevenlabs-js';
const client = new ElevenLabsClient({
apiKey: process.env.BRAIV_API_KEY,
baseUrl: 'https://api.braiv.com/v1',
});
const audio = await client.textToSpeech.convert('YOUR_VOICE_ID', {
text: 'The first move is what sets everything in motion.',
modelId: 'braiv-speech-v1',
});
Terminal window
curl -X POST "https://api.braiv.com/v1/text-to-speech/YOUR_VOICE_ID" \
-H "xi-api-key: $BRAIV_API_KEY" \
-H "Content-Type: application/json" \
--output speech.wav \
--data '{"text":"Hello from Braiv.","model_id":"braiv-speech-v1"}'
  • Braiv currently returns WAV audio during the beta.
  • Voice cloning and voice management are handled in the Braiv app, not via public API endpoints yet.
  • Plan eligibility is checked when keys are generated and whenever requests are made.