Documentation
¶
Overview ¶
Package voices provides reference information for ElevenLabs voices.
This package contains constants and metadata for ElevenLabs' pre-made voices, making it easier to reference voices by name rather than ID.
Note: Voice IDs and availability may change. Use client.Voices().List() for the authoritative list of available voices for your account.
Index ¶
Constants ¶
const ( // Rachel - Calm, young, American female. Great for narration and audiobooks. Rachel = "21m00Tcm4TlvDq8ikWAM" // Domi - Strong, young, American female. Confident and clear. Domi = "AZnzlk1XvdvUeBnXmlld" // Bella - Soft, young, American female. Warm and friendly. Bella = "EXAVITQu4vr4xnSDxMaL" // Antoni - Well-rounded, young, American male. Professional and warm. Antoni = "ErXwobaYiN019PkySvjV" // Elli - Emotional, young, American female. Expressive range. Elli = "MF3mGyEYCl7XYWbV9V6O" // Josh - Deep, young, American male. Authoritative and clear. Josh = "TxGEqnHWrfWFTfGW9XjX" // Arnold - Crisp, middle-aged, American male. Confident narrator. Arnold = "VR6AewLTigWG4xSOukaG" // Adam - Deep, middle-aged, American male. Rich and warm. Adam = "pNInz6obpgDQGcFmaJgB" // Sam - Raspy, young, American male. Casual and friendly. Sam = "yoZ06aMxZJJ28mfd3POQ" // Nicole - Soft, young, American female. Whispery and intimate. Nicole = "piTKgcLEGmPE4e6mEKli" // Glinda - Witch-like, middle-aged female. Theatrical and dramatic. Glinda = "z9fAnlkpzviPz146aGWa" // Clyde - War veteran, middle-aged, American male. Gruff and experienced. Clyde = "2EiwWnXFnvU5JabPnv8n" // Dave - Conversational, young, British-Essex male. Casual and natural. Dave = "CYw3kZ02Hs0563khs1Fj" // Fin - Sailor, old, Irish male. Weathered and characterful. Fin = "D38z5RcWu1voky8WS1ja" // Sarah - Soft, young, American female. News presenter style. Sarah = "EXAVITQu4vr4xnSDxMaL" // Charlotte - Seductive, middle-aged, Swedish female. Sophisticated. Charlotte = "XB0fDUnXU5powFXDhCwa" // Callum - Intense, middle-aged, Transatlantic male. Dramatic. Callum = "N2lVS1w4EtoT3dr4eOWO" // Matilda - Warm, middle-aged, American female. Friendly and approachable. Matilda = "XrExE9yKIg1WjnnlVkGX" // Grace - Southern, young, American female. Sweet and melodic. Grace = "oWAxZDx7w5VEj9dCyTzz" // Lily - Raspy, middle-aged, British female. Expressive and characterful. Lily = "pFZP5JQG7iQjIQuC4Bku" // Serena - Pleasant, middle-aged, American female. Calm and professional. Serena = "pMsXgVXv3BLzUgSXRplE" // Michael - Old, American male. Wise and grandfatherly. Michael = "flq6f7yk4E4fJM5XTYuZ" // Emily - Calm, young, American female. Clear and professional. Emily = "LcfcDJNUP1GQjkzn1xUU" // Ethan - Young, American male. Energetic and youthful. Ethan = "g5CIjZEefAph4nQFvHAz" // Brian - Deep, middle-aged, American male. Narrator quality. Brian = "nPczCjzI2devNBz1zQrb" // George - Warm, middle-aged, British male. Refined and articulate. George = "JBFqnCBsd6RMkjVDRZzb" // Gigi - Childlike, young, American female. Playful and animated. Gigi = "jBpfuIE2acCO8z3wKNLl" // Freya - Young, American female. Expressive and clear. Freya = "jsCqWAovK2LkecY7zXl4" // Harry - Anxious, young, American male. Nervous energy. Harry = "SOYHLrjzK2X1ezoPC6cr" // Jeremy - Young, American male. Conversational and natural. Jeremy = "bVMeCyTHy58xNoL34h3p" // Joseph - Middle-aged, British male. Authoritative narrator. Joseph = "Zlb1dXrM653N07WRdFW3" // Jessie - Raspy, old, American male. Weathered and experienced. Jessie = "t0jbNlBVZ17f02VDIeMI" // Drew - Well-rounded, middle-aged, American male. Versatile. Drew = "29vD33N1CtxCmqQRPOHJ" // Paul - Ground reporter, middle-aged, American male. Professional. Paul = "5Q0t7uMcjvnagumLfvZi" // River - Young, American non-binary. Modern and inclusive. River = "SAz9YHcvj6GT2YYXdXww" // Dorothy - Pleasant, young, British female. Refined and clear. Dorothy = "ThT5KcBeYPX3keUQqHPh" // Chris - Casual, middle-aged, American male. Relaxed and natural. Chris = "iP95p4xoKVk53GoZ742B" // Liam - Young, American male. Articulate and clear. Liam = "TX3LPaxmHKxFdv7VOQHJ" // James - Old, Australian male. Warm and experienced. James = "ZQe5CZNOzWyzPSCn5a3c" )
Pre-made voice IDs from ElevenLabs. These are the default voices available to all users.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Voice ¶
type Voice struct {
// ID is the unique voice identifier.
ID string `json:"id"`
// Name is the display name.
Name string `json:"name"`
// Description describes the voice characteristics.
Description string `json:"description"`
// Gender is the voice gender (male, female, non-binary).
Gender string `json:"gender"`
// Age is the approximate age category (young, middle-aged, old).
Age string `json:"age"`
// Accent is the primary accent/nationality.
Accent string `json:"accent"`
// UseCase suggests ideal use cases for this voice.
UseCase string `json:"use_case"`
// Category is the voice category (premade, cloned, designed).
Category string `json:"category"`
}
Voice represents metadata about an ElevenLabs voice.
func FilterByAccent ¶
FilterByAccent returns voices matching the specified accent.
func FilterByAge ¶
FilterByAge returns voices matching the specified age category.
func FilterByGender ¶
FilterByGender returns voices matching the specified gender.
func GetVoiceByName ¶
GetVoiceByName returns voice metadata by name (case-insensitive).
func PremadeVoices ¶
func PremadeVoices() []Voice
PremadeVoices returns metadata for all pre-made voices.