Request | Description | Mime types | Supported input file extensions | Supported output file extensions | Supported API |
---|---|---|---|---|---|
Text translation (NMT and AutoML Translation) | Synchronous requests in text string | text/plain, text/html |
inline |
inline | Basic (v2) and Advanced (v3) |
Text translation (LLM) | Synchronous requests in text string | text/plain |
inline |
inline | Advanced (v3) only |
Batch text translation - Cloud Storage (NMT and AutoML Translation) | Asynchronous requests with accepted input and output file formats | text/plain, text/html | .txt, .html, .tsv | .txt, .html, .tsv | Advanced (v3) only |
Batch document translation (NMT and AutoML Translation) | Asynchronous requests with accepted input and output file formats | application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | .doc, .docx, .pdf, .ppt, .pptx, .xls, .xlsx | .doc, .docx, .pdf, .ppt, .pptx, .xls, .xlsx | Advanced (v3) only |
Document translation (NMT and AutoML Translation) | Synchronous requests with accepted input and output file formats | application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | inline, .doc, .docx, .pdf, .ppt, .pptx, .xls, .xlsx | inline, .doc, .docx, .pdf, .ppt, .pptx, .xls, .xlsx | Advanced (v3) only |
Glossary creation | Glossary files uploaded to Google Cloud project | text/plain | .tmx, .csv, .tsv | n/a | Advanced (v3) only |
AutoML Translation dataset creation | Accepted formats for training data import. | text/plain | .tsv | n/a | Advanced (v3) only |
AutoML Translation dataset export | Exported segment pairs from existing datasets to Cloud Storage. | text/plain | n/a | .tsv | Advanced (v3) only |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.