
Textübersetzung
About Textübersetzung von Google Cloud
Automatische Übersetzung oder maschinelle Übersetzung (MT) ist der Vorgang der automatischen Übersetzung eines Textes von einer Sprache in eine andere. Ziel dabei ist es, Menschen die Kommunikation und den Zugang zu Informationen in verschiedenen Sprachen zu ermöglichen, ohne dass ein menschlicher Übersetzer erforderlich ist.
Textübersetzung von Google Cloud ist das Standardmodell von Google Cloud für die Aufgabe „Textübersetzung“, verfügbar auf Eden AI, ab 20 $ / 1M Zeichen. Rufen Sie es mit demselben API-Schlüssel wie alle anderen Eden-AI-Modelle auf, indem Sie seinen Modell-String an den Universal-AI-Endpoint senden.
Tasks and prices
Textübersetzung von Google Cloud is available on Eden AI for 1 tasks. Jede Aufgabe hat ihren eigenen Modell-String und Preis: Senden Sie diesen String an den Universal-AI-Endpoint, um das Modell für diese Aufgabe zu nutzen.
Parameters
What you send and what you get back when you call Textübersetzung von 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.
Eingabe
- text (Pflichtfeld): Text. Zu übersetzender Text
- target_language (Pflichtfeld): Text. Zielsprachencode
- source_language: Text. Quellsprachcode
Antwort
- text
Estimate your monthly cost
Enter your monthly volume for Textübersetzung to compare Textübersetzung von Google Cloud with its cheapest alternatives.
Call Textübersetzung von Google Cloud with Eden AI
Senden Sie den Modell-String an den Universal-AI-Endpoint. Um ein anderes Modell zu nutzen, kopieren Sie dessen String aus der Tabelle oben.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "translation/automatic_translation/google",
"input": {"text": "Hallo, wie geht es Ihnen?", "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/google", "input": {"text": "Hallo, wie geht es Ihnen?", "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/google",
input: {"text": "Hallo, wie geht es Ihnen?", "target_language": "fr"},
}),
});
console.log(await response.json());
"text": "Hallo, wie geht es Ihnen?", "target_language": "fr"
Questions about Textübersetzung von Google Cloud
On Eden AI, Textübersetzung von Google Cloud costs 20 $ / 1M Zeichen for Textübersetzung. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Textübersetzung von Google Cloud is available for: Textübersetzung. Input: Text. Output: Text.
Eden AI offers Textübersetzung from 6 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Textübersetzung
Other Textübersetzung models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.

.avif)


