These retrieve the speech synthesis and translation results for their respective extensions.
Retrieves the translation of the input text in the given language. locale
is generally a two-letter language code. Refer to this gist for a list of supported languages, or check the exports from scratch-translate-extension-languages
.
Uses Google Translate as of Dec. 9, 2019.
Retrieves a list of supported language codes for translating text.
Legacy endpoint - still online, but no longer used.
Retrieves the synthesis of the input text as an audio file. gender
is either "male" or "female"; speech locale
is a "speech synth locale" as described in the extension's source code.
Likely uses Amazon Polly.