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' });

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
elevenlabsVoiceId
string
required

The ElevenLabs voice ID (name and owner are fetched automatically)

Response

Custom voice created