Voice Library
30 premium voices with unique characteristics and localized names.
Overview
All 30 voices work with all 74 supported languages. Voice names are localized - "Peter" in English becomes "Rahul" in Hindi, "Pierre" in French, etc.
Localized Voice Names
When you request voices with a language parameter, names are translated to culturally familiar equivalents. The underlying voice stays the same.
Get Available Voices
GET
/api/v1/voices
# Get all voices (English names)
curl "https://yourvoic.com/api/v1/voices" \
-H "X-API-Key: YOUR_API_KEY"
# Get voices with Hindi names
curl "https://yourvoic.com/api/v1/voices?language=hi" \
-H "X-API-Key: YOUR_API_KEY"
# Filter by gender
curl "https://yourvoic.com/api/v1/voices?gender=female" \
-H "X-API-Key: YOUR_API_KEY"
Voice Names by Language
| Language | Code | Female Voices | Male Voices |
|---|---|---|---|
| English (US) | en-US |
Kylie, Emma, Olivia, Sophia, Ava | Peter, James, William, Alexander, Benjamin |
| English (UK) | en-GB |
Emma, Sophie, Charlotte, Amelia, Isla | Oliver, George, Harry, Oscar, Jack |
| Hindi | hi |
Deepika, Priya, Anjali, Pooja, Meera | Rahul, Vikram, Arjun, Amit, Raj |
| Spanish | es |
María, Carmen, Ana, Laura, Isabel | Carlos, José, Antonio, Miguel, David |
| French | fr |
Marie, Sophie, Julie, Camille, Léa | Pierre, Jean, Marc, Nicolas, Thomas |
| German | de |
Anna, Maria, Julia, Sophie, Emma | Hans, Peter, Klaus, Michael, Thomas |
| Japanese | ja |
Yuki, Sakura, Hana, Aoi, Miku | Takeshi, Kenji, Hiroshi, Yuta, Ryu |
| Chinese | zh |
Li Na, Wei Wei, Mei, Xiao, Lin | Wei, Jun, Chen, Ming, Feng |
| Arabic | ar |
Fatima, Aisha, Layla, Nour, Sara | Ahmed, Mohammed, Omar, Ali, Hassan |
| Tamil | ta |
Priya, Kavya, Meera, Lakshmi, Divya | Rajan, Arun, Kumar, Senthil, Vijay |
Voice Characteristics
| Attribute | Values | Description |
|---|---|---|
| gender | male, female | Voice gender |
| age | young, middle, senior | Perceived age group |
| style | narrative, conversational, news | Speaking style |
| use_case | audiobook, IVR, e-learning, etc. | Recommended usage |
Using Voices
import requests
# Using English voice
response = requests.post(
"https://yourvoic.com/api/v1/tts/generate",
headers={"X-API-Key": "your_api_key"},
json={
"text": "Hello, welcome to YourVoic!",
"voice": "Peter",
"language": "en-US"
}
)
# Using Hindi voice
response = requests.post(
"https://yourvoic.com/api/v1/tts/generate",
headers={"X-API-Key": "your_api_key"},
json={
"text": "नमस्ते, YourVoic में आपका स्वागत है!",
"voice": "Deepika", # or "Rahul" for male
"language": "hi"
}
)
# Female voice
response = requests.post(
"https://yourvoic.com/api/v1/tts/generate",
headers={"X-API-Key": "your_api_key"},
json={
"text": "Hi, I'm Emma!",
"voice": "Emma",
"language": "en-US"
}
)
Voice API Response
{
"voices": [
{
"id": "peter",
"name": "Peter",
"gender": "male",
"age": "middle",
"style": "narrative",
"languages": ["en-US", "en-GB", "en-AU"],
"sample_url": "https://yourvoic.com/samples/peter.mp3"
},
{
"id": "emma",
"name": "Emma",
"gender": "female",
"age": "young",
"style": "conversational",
"languages": ["en-US", "en-GB"],
"sample_url": "https://yourvoic.com/samples/emma.mp3"
}
],
"total": 30
}
Best Practices
- Match voice to content - Use narrative voices for audiobooks, conversational for chatbots
- Preview before production - Test voices with your actual content
- Stay consistent - Use the same voice throughout a project
- Consider your audience - Use localized names that resonate with users