
Traduction de texte
About Traduction de texte Amazon Web Services
La traduction automatique (TA) est le processus qui consiste à traduire automatiquement un texte d'une langue vers une autre. Elle a pour objectif de permettre aux utilisateurs de communiquer et d'accéder à des informations dans différentes langues, sans avoir recours à un traducteur humain.
Traduction de texte Amazon Web Services est le modèle par défaut d'Amazon Web Services pour la tâche « Traduction de texte », disponible sur Eden AI, à partir de 15 $ / 1M caractères. 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, avec un traitement en Europe.
Tasks and prices
Traduction de texte Amazon Web Services is available on Eden AI for 1 tasks. Chaque tâche a sa propre chaîne de modèle et son propre prix : envoyez cette chaîne à l'endpoint Universal AI pour utiliser le modèle sur cette tâche.
Parameters
What you send and what you get back when you call Traduction de texte Amazon Web Services 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
- text (obligatoire) : texte. Texte à traduire
- target_language (obligatoire) : texte. Code de la langue cible
- source_language : texte. Code de la langue source
Réponse
- text
Estimate your monthly cost
Enter your monthly volume for Traduction de texte to compare Traduction de texte Amazon Web Services with its cheapest alternatives.
Call Traduction de texte Amazon Web Services with Eden AI
Envoyez la chaîne de modèle à l'endpoint Universal AI. Pour utiliser un autre modèle, copiez sa chaîne depuis le tableau ci-dessus.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "translation/automatic_translation/amazon",
"input": {"text": "Hello, how are you?", "target_language": "fr"},
},
)
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": "translation/automatic_translation/amazon", "input": {"text": "Hello, how are you?", "target_language": "fr"}}'
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: "translation/automatic_translation/amazon",
input: {"text": "Hello, how are you?", "target_language": "fr"},
}),
});
console.log(await response.json());
"text": "Hello, how are you?", "target_language": "fr"
Questions about Traduction de texte Amazon Web Services
On Eden AI, Traduction de texte Amazon Web Services costs 15 $ / 1M caractères for Traduction de texte. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Traduction de texte Amazon Web Services is available for: Traduction de texte. Input: Texte. Output: text.
Eden AI offers Traduction de texte from 6 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Traduction de texte
Other Traduction de texte models you can call with the same key, cheapest first.
More from Amazon Web Services
Other Amazon Web Services models on Eden AI, for every task.
.avif)



