POST
/
v1
/
projects
/
{project_id}
/
update-pronunciation-dictionaries
from elevenlabs import ElevenLabs, PronunciationDictionaryVersionLocator

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)
client.projects.update_pronunciation_dictionaries(
    project_id="21m00Tcm4TlvDq8ikWAM",
    pronunciation_dictionary_locators=[
        PronunciationDictionaryVersionLocator(
            pronunciation_dictionary_id="pronunciation_dictionary_id",
            version_id="version_id",
        )
    ],
)
"<any>"
Projects API avaliable upon request. To get access, contact sales.
You can use the Pronunciation Dictionaries API to add a pronunciation dictionary from a file in order to get a valid id

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Path Parameters

project_id
string
required

The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects.

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.