Methods
Objects
Text-to-Speech
Method | Description |
---|---|
media/tts.get_voice_list | Get the Text-to-Speech voice list. |
media/tts.set_content | Set a Media.Library content with Text-to-Speech. |
media/tts.get_voice_list
Get the Text-to-Speech voice list.
method: media/tts.get_voice_list
params: []
No parameters.
Type | Description | Format/Object |
---|---|---|
object | Dictionary (key/value) of Voice list by country code (key). |
media/tts.set_content
Set a Media.Library content with Text-to-Speech.
method: media/tts.set_content
params: [int media_id, string text, string voice, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
media_id | int | The Media ID to change. | NO |
text | string | The text to say. | NO |
voice | string |
The Voice to use. Values: "TTS_DE-DE_ANNA", "TTS_DE-DE_YANNICK", "TTS_EN-GB_DANIEL", "TTS_EN-GB_SERENA", "TTS_FR-FR_AUDREY", "TTS_FR-FR_SEBASTIEN", "TTS_FR-FR_THOMAS", "TTS_FR-FR_VIRGINIE", "TTS_IT-IT_PAOLO", "TTS_IT-IT_SILVIA", "TTS_NL-BE_ELLEN", "TTS_NL-NL_CLAIRE", "TTS_NL-NL_XANDER" |
NO |
options | object |
TTS Options (speech rate...). Send NULL to use default values. Object: Media.TTS.Options |
YES |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE, throws an Exception otherwise. |