
Traduzione di testo
About Traduzione di testo di Amazon Web Services
La traduzione automatica (MT) è il processo che consente di tradurre automaticamente un testo da una lingua a un'altra. Il suo scopo è quello di consentire alle persone di comunicare e accedere alle informazioni in diverse lingue, senza bisogno di un traduttore umano.
Traduzione di testo di Amazon Web Services è il modello predefinito di Amazon Web Services per l’attività «Traduzione di testo», disponibile su Eden AI, a partire da 15 $ / 1M caratteri. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando la sua stringa del modello all’endpoint Universal AI, con elaborazione in Europa.
Tasks and prices
Traduzione di testo di Amazon Web Services is available on Eden AI for 1 tasks. Ogni attività ha la propria stringa del modello e il proprio prezzo: invia quella stringa all’endpoint Universal AI per usare il modello per quell’attività.
Parameters
What you send and what you get back when you call Traduzione di testo di 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.
Input
- text (obbligatorio): testo. Testo da tradurre
- target_language (obbligatorio): testo. Codice della lingua di destinazione
- source_language: testo. Codice della lingua di origine
Risposta
- text
Estimate your monthly cost
Enter your monthly volume for Traduzione di testo to compare Traduzione di testo di Amazon Web Services with its cheapest alternatives.
Call Traduzione di testo di Amazon Web Services with Eden AI
Invia la stringa del modello all’endpoint Universal AI. Per usare un altro modello, copia la sua stringa dalla tabella qui sopra.
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": "Ciao, come stai?", "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": "Ciao, come stai?", "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": "Ciao, come stai?", "target_language": "fr"},
}),
});
console.log(await response.json());
"text": "Hello, how are you?", "target_language": "fr"
Questions about Traduzione di testo di Amazon Web Services
On Eden AI, Traduzione di testo di Amazon Web Services costs 15 $ / 1M caratteri for Traduzione di testo. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Traduzione di testo di Amazon Web Services is available for: Traduzione di testo. Input: Testo. Output: text.
Eden AI offers Traduzione di testo from 6 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Traduzione di testo
Other Traduzione di testo 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)


