add_rules
Add alias or phoneme pronunciation rules to an existing ElevenLabs dictionary so specific words and phrases are spoken correctly by the model.
Instructions
Add Rules To The Pronunciation Dictionary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } | |
| pronunciation_dictionary_id | Yes | The id of the pronunciation dictionary |