Moses Voice

v0.2.0
com.moses-ai/voice Checked 4 days ago Published 3 days ago

Text 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.

ParameterTypeDescription
text *stringThe text to speak (up to 20,000 characters)
embed_audiobooleanAlso return the audio itself in the result (for clients that can play it)
formatstringAudio format of the file
languagestringLanguage of the text; a voice without a language prefix then speaks it
output_pathstringWhere to save the file: absolute, or relative to the output folder. An existing file is never overwritten
speednumberSpeaking rate, 0.5 to 2.0 (default 1.0)
voicestringVoice 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.

ParameterTypeDescription
file_path *stringPath of the audio file (absolute, or relative to the server's working directory)
formatstringtext: plain transcript; srt/vtt: subtitles; verbose_json: segments with timestamps
languagestringLanguage of the speech (two-letter code); detected when left out
word_timestampsbooleanWith 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.

ParameterTypeDescription
languagestringOnly 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.