Skip to content

Text to Speech

Enter this command to use TTS (Text-to-Speech) for AutoGPT

python -m autogpt --speak

Eleven Labs provides voice technologies such as voice design, speech synthesis, and premade voices that AutoGPT can use for speech.

  1. Go to ElevenLabs and make an account if you don't already have one.
  2. Choose and setup the Starter plan.
  3. Click the top right icon and find Profile to locate your API Key.

In the .env file set:

  • ELEVENLABS_API_KEY
  • ELEVENLABS_VOICE_1_ID (example: "premade/Adam")

List of available voices

Note

You can use either the name or the voice ID to configure a voice

Name Voice ID
Rachel 21m00Tcm4TlvDq8ikWAM
Domi AZnzlk1XvdvUeBnXmlld
Bella EXAVITQu4vr4xnSDxMaL
Antoni ErXwobaYiN019PkySvjV
Elli MF3mGyEYCl7XYWbV9V6O
Josh TxGEqnHWrfWFTfGW9XjX
Arnold VR6AewLTigWG4xSOukaG
Adam pNInz6obpgDQGcFmaJgB
Sam yoZ06aMxZJJ28mfd3POQ