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
Request
- Base URLhttps://api.sarvam.ai
- Authnone declared. Required headers: api-subscription-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
api-subscription-keystring required
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.