Create

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](/api-reference-docs/api-guides-tutorials/text-to-speech/pronunciation-dictionary) 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.

Authentication

api-subscription-keystring
API Key authentication via header

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response
dictionary_idstring

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

Errors