Click or drag to resize

TextToSpeech Methods

The TextToSpeech type exposes the following members.

Methods
  NameDescription
Public methodAddCustomizationWord
Adds a single word and its translation to the custom voice model with the specified `customization_id`. A custom model can contain no more than 20,000 entries. Only the owner of a custom voice model can use this method to add a word to the model. Note: This method is currently a beta release that supports US English only.
Public methodAddCustomizationWords
Adds one or more words and their translations to the custom voice model with the specified `customization_id`. A custom model can contain no more than 20,000 entries. Only the owner of a custom voice model can use this method to add words to the model. Note: This method is currently a beta release that supports US English only.
Public methodCreateCustomization
Creates a new empty custom voice model that is owned by the requesting user. Note: This method is currently a beta release that supports US English only.
Public methodDeleteCustomization
Deletes the custom voice model with the specified `customization_id`. Only the owner of a custom voice model can use this method to delete the model. Note: This method is currently a beta release that supports US English only.
Public methodDeleteCustomizationWord
Deletes a single word from the custom voice model with the specified customization_id. Only the owner of a custom voice model can use this method to delete a word from the model. Note: This method is currently a beta release that supports US English only.
Public methodGetCustomization
Lists all information about the custom voice model with the specified `customization_id`. In addition to metadata such as the name and description of the voice model, the output includes the words in the model and their translations as defined in the model. To see just the metadata for a voice model, use the GET `/v1/customizations` method. Only the owner of a custom voice model can use this method to query information about the model. Note: This method is currently a beta release that supports US English only.
Public methodGetCustomizations
Lists metadata such as the name and description for the custom voice models that you own. Use the language query parameter to list the voice models that you own for the specified language only. Omit the parameter to see all voice models that you own for all languages. To see the words in addition to the metadata for a specific voice model, use the GET /v1/customizations/{customization_id} method. Only the owner of a custom voice model can use this method to list information about the model. Note: This method is currently a beta release that supports US English only
Public methodGetCustomizationWord
Returns the translation for a single word from the custom model with the specified `customization_id`. The output shows the translation as it is defined in the model. Only the owner of a custom voice model can use this method to query information about a word from the model. Note: This method is currently a beta release that supports US English only.
Public methodGetCustomizationWords
Lists all of the words and their translations for the custom voice model with the specified `customization_id`. The output shows the translations as they are defined in the model. Only the owner of a custom voice model can use this method to query information about the model's words. Note: This method is currently a beta release that supports US English only.
Public methodGetPronunciation
Returns the phonetic pronunciation for the word specified by the text parameter. You can request the pronunciation for a specific format. You can also request the pronunciation for a specific voice to see the default translation for the language of that voice or for a specific custom voice model to see the translation for that voice model. Note: This method is currently a beta release that supports US English only.
Public methodGetVoice
Return specific voice.
Public methodGetVoices
Returns all available voices that can be used.
Public methodToSpeech
Converts the given text into an AudioClip that can be played.
Public methodUpdateCustomization
Updates information for the custom voice model with the specified `customization_id`. You can update the metadata such as the name and description of the voice model. You can also update the words in the model and their translations. A custom model can contain no more than 20,000 entries. Only the owner of a custom voice model can use this method to update the model. Note: This method is currently a beta release that supports US English only.
Top
See Also