TextToSpeech Class |
Namespace: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1
public class TextToSpeech : IWatsonService
The TextToSpeech type exposes the following members.
Name | Description | |
---|---|---|
TextToSpeech | Initializes a new instance of the TextToSpeech class |
Name | Description | |
---|---|---|
AudioFormat |
This property allows the user to set the AudioFormat to use. Currently, only WAV is supported.
| |
Credentials |
Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.
| |
Url |
Gets and sets the endpoint URL for the service.
| |
Voice |
This property allows the user to specify the voice to use.
|
Name | Description | |
---|---|---|
AddCustomizationWord |
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.
| |
AddCustomizationWords |
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.
| |
CreateCustomization |
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.
| |
DeleteCustomization |
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.
| |
DeleteCustomizationWord |
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.
| |
GetCustomization |
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.
| |
GetCustomizations |
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
| |
GetCustomizationWord |
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.
| |
GetCustomizationWords |
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.
| |
GetPronunciation |
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.
| |
GetVoice |
Return specific voice.
| |
GetVoices |
Returns all available voices that can be used.
| |
ToSpeech |
Converts the given text into an AudioClip that can be played.
| |
UpdateCustomization |
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.
|