pronunciationDictionary
Update Pronunciation Dictionary
Update an existing pronunciation dictionary by uploading a JSON file. You can add new words, change existing pronunciations, or both — entries not included in the uploaded file remain unchanged.
Limits: Max 100 words per dictionary, 1 MB file size.
The response includes the dictionary_id and the updated pronunciation mappings for verification.
put/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.
Query parameters
dict_idstring required
ID of the dictionary to update
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.