https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can I use my elevenlabs API key to use voices in m...
# ❓・ai-evy-support
k
@AI Evy Can I use my elevenlabs API key to use voices in my account?
a
Thanks for tagging me @Krustle. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Retell AI does not currently support bringing your own ElevenLabs API key. [(1) ]() [(2) ]() However, you can still use ElevenLabs voices in Retell. You can add community voices from ElevenLabs to your voice library using the Add Voice API endpoint, which requires the
provider_voice_id
and optionally the
public_user_id
(required for ElevenLabs voices) . [(3) ]() Here's an example:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const voiceResponse = await client.voice.addResource({
  provider_voice_id: 'provider_voice_id',
  voice_name: 'x',
}) ;
console.log(voiceResponse.provider) ;
You can also search for available ElevenLabs community voices using the Search Voice endpoint with
voice_provider
set to
elevenlabs
. [(4) ]()
​ To learn more, see the sources I considered: [[1] Own provider API Key](https://discord.com/channels/1186424376300679209/1306210902067904552) [[2] Add own ElevenLabs API key (ElevenLabs Grant)](https://discord.com/channels/1186424376300679209/1232659853676253245) [[3] Add Voice](https://docs.retellai.com/api-references/add-voice) [[4] Search Voice](https://docs.retellai.com/api-references/search-voice) ​
k
@User SO can i Import a custom voice into retell that is not a community voice and public?