Pronunciation Dictionary
Add A Pronunciation Dictionary
Changed onCreates a new pronunciation dictionary from provided rules.
post/v1/pronunciation-dictionaries/add-from-rules
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/pronunciation-dictionaries/add-from-rules
- Authnone declared
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"rules": [
{
"alias": "tie-land",
"case_sensitive": true,
"string_to_replace": "Thailand",
"type": "alias",
"word_boundaries": true
}
],
"name": "My Dictionary",
"description": "Contains pronunciation's of our character names",
"workspace_access": "viewer"
}Response
Successful Response
Example response
{
"created_by": "ar6633Es2kUjFXBdR1iVc9ztsXl1",
"creation_time_unix": 1714156800,
"description": "This is a test dictionary",
"id": "5xM3yVvZQKV0EfqQpLrJ",
"name": "My Dictionary",
"permission_on_resource": "admin",
"version_id": "5xM3yVvZQKV0EfqQpLrJ",
"version_rules_num": 5
}Changes
- info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
///
- info
- warning
added the new
commenterenum value to the/response property for the response status - info
api operation id
Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_rules_postremoved and replaced withadd_from_rules - info
added the new
commenterenum value to the request property/
- warning