v2

latestOpenAPI 3.1.02026-07-2628105122.0 KB
pronunciationDictionary

Create Pronunciation Dictionary

Upload a .json file to create a new pronunciation dictionary. Only supported by bulbul:v3.

The file should contain a JSON object with a pronunciations key mapping language codes to word-pronunciation pairs. See the Pronunciation Dictionary guide for format details and examples.

The returned dictionary_id can be passed as dict_id in text-to-speech requests (REST, HTTP Stream, and WebSocket).

Limits: Max 10 dictionaries per user, 100 words per dictionary, 1 MB file size.

post/text-to-speech/pronunciation-dictionary

Headers

api-subscription-keystring required

Response

Successful Response

dictionary_idstring required

Unique identifier for the created dictionary (e.g. p_5cb7faa6). Use this as the dict_id parameter in text-to-speech requests.