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 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.
file
Response
Successful Response
dictionary_id
Unique identifier for the created dictionary (e.g. p_5cb7faa6). Use this as the dict_id parameter in text-to-speech requests.
Errors
400
Bad Request Error
403
Forbidden Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error