
Traduction de documents
About Traduction de documents Google Cloud
L'API de traduction de documents traduit des documents entiers dans les langues prises en charge et dans divers formats de fichiers (tels que PDF ou DOC), tout en conservant leur structure intacte.
Traduction de documents Google Cloud est le modèle par défaut de Google Cloud pour la tâche « Traduction de documents », disponible sur Eden AI, à partir de 0,08 $ / page. Appelez-le avec la même clé API que tous les autres modèles Eden AI, en envoyant sa chaîne de modèle à l'endpoint Universal AI.
Tasks and prices
Traduction de documents Google Cloud is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Traduction de documents Google Cloud through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Entrée
- file (obligatoire) : fichier (PDF, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation). Identifiant du fichier provenant de /v3/upload ou URL directe du fichier (PDF, DOCX, PPTX)
- target_language (obligatoire) : texte. Code de la langue cible
- source_language : texte. Code de la langue source
Réponse
- file
- document_resource_url
Estimate your monthly cost
Enter your monthly volume for Traduction de documents to compare Traduction de documents Google Cloud with its cheapest alternatives.
Call Traduction de documents Google Cloud with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "",
"input": {},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "input": {}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
input: {},
}),
});
console.log(await response.json());
"file": "https://example.com/document.pdf", "target_language": "fr"
Questions about Traduction de documents Google Cloud
On Eden AI, Traduction de documents Google Cloud costs 0,08 $ / page for Traduction de documents. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Traduction de documents Google Cloud is available for: Traduction de documents. Input: PDF. Output: file, document_resource_url.
Yes. Traduction de documents Google Cloud is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.
Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.
Eden AI offers Traduction de documents from 2 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Traduction de documents
Other Traduction de documents models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.
