# Translation

Translate text from English to French

|---|---|
| You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Translation) <br /> ||
| #### Prompt Translation You are an expert Translator. You are tasked to translate documents from fr to en. Please provide an accurate translation of this document and return translation text only: Cloud Translation API utilise la technologie de traduction automatique neuronale de Google pour vous permettre de traduire dynamiquement du texte via l'API à l'aide d'un modèle personnalisé pré-entraîné de Google ou d'un modèle de langage étendu (LLM) spécialisé en traduction. #### Response Cloud Translation API uses Google's neural machine translation technology to let you dynamically translate text via the API using a pre-trained Google or custom model, or a large language model (LLM) specialized in translation. | |---|---| | **Model:** | gemini-2.5-pro | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |