The Translation API is now available for built-in AI early preview program participants.
Recently, we opened the Language Detection API origin trial, which helps you determine what language is used in a source text. You can use the Translation API to translate from a source language to a target language, on-device, without involving the cloud. These APIs are introduced together in the Translation API explainer.
Use cases
Translate user-generated content on request. For example:
- If you have a support chat system, users can enter a request in their first language, which you can identify with the Language Detection API. Then, use the Translate API to convert the request to your business operating language and send it to the support agent. The agent's response could then be translated into the user's first language.
- In a social network application, users can request a translation on-demand when a post appears on their timeline in a language they don't speak.
Do you have additional ideas for the Translation API? Share them with us on GitHub.
Join the early preview program
The Translation API and the Language Detection API (in origin trial), along with the Prompt API, the Summarization API, and the Writer and Rewriter APIs, are available for prototyping.
Sign up for the early preview program to gain access to the documentation and demos, stay up-to-date with the latest changes, and discover new APIs.