- Translates text from one language to another
- Analyzes emotional content in the translated text
- Selects appropriate voices based on language and emotion
- Creates localized voices using Cartesia’s voice localization tools
- Generates audio output with emotion-appropriate voice characteristics
Code
cookbook/01_showcase/01_agents/translation_agent.py
Usage
1
Set up your virtual environment
2
Set your API key
3
Install dependencies
4
Run Agent