Skip to main content
POST
/
api
/
team
/
customVoices
JavaScript
import BrainbaseLabs from 'brainbase-labs';

const client = new BrainbaseLabs({
  apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});

await client.team.customVoices.create({
  elevenlabsVoiceId: 'elevenlabsVoiceId',
  voiceName: 'voiceName',
});

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
elevenlabsVoiceId
string
required

The ElevenLabs voice ID

voiceName
string
required

A custom name for the voice

Response

Custom voice created