m2m100-1.2b
Translation • MetaMultilingual encoder-decoder (seq-to-seq) model trained for Many-to-Many multilingual translation
Terms and LicenseUsage
Workers - TypeScript
Python
curl
Parameters
Input
-
text
string min 1The text to be translated
-
source_lang
string default enThe language code of the source text (e.g., 'en' for English). Defaults to 'en' if not specified
-
target_lang
stringThe language code to translate the text into (e.g., 'es' for Spanish)
Output
-
translated_text
stringThe translated text in the target language
API Schemas
The following schemas are based on JSON Schema