Moses Voice
v0.2.0Text to speech in 7 languages and transcription in 25 European languages, hosted in Germany
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
text_to_speech Text to speech
Turn text into natural speech and save it as an audio file (mp3 by default). Languages: English, German, French, Italian, Portuguese, Spanish, Dutch. Use list_voices for voice ids; the user's own recorded voices are 'clone:<name>'. Returns the path of the saved file. Numbers, dates and currencies are read as words.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to speak (up to 20,000 characters) |
embed_audio | boolean | Also return the audio itself in the result (for clients that can play it) |
format | string | Audio format of the file |
language | string | Language of the text; a voice without a language prefix then speaks it |
output_path | string | Where to save the file: absolute, or relative to the output folder. An existing file is never overwritten |
speed | number | Speaking rate, 0.5 to 2.0 (default 1.0) |
voice | string | Voice id, e.g. 'alba' (English), 'german/juergen', 'french/estelle', or 'clone:<name>'. Default: the language's default voice |
speech_to_text Speech to text
Transcribe an audio or video file (wav, mp3, m4a, ogg/opus, flac, webm, mp4 …, up to 25 MB) into text. 25 European languages, detected automatically; set the language when you know it. Can return subtitles (srt, vtt) or JSON with segment and word timestamps.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path of the audio file (absolute, or relative to the server's working directory) |
format | string | text: plain transcript; srt/vtt: subtitles; verbose_json: segments with timestamps |
language | string | Language of the speech (two-letter code); detected when left out |
word_timestamps | boolean | With verbose_json: also word timings |
list_voices List voices
List the voices for text_to_speech: built-in voices per language and the user's own recorded voices.
| Parameter | Type | Description |
|---|---|---|
language | string | Only voices of this language |
account_status Account status
Show the Moses account's credit, today's usage and limits for text to speech and speech to text.