
Dokumentübersetzung
About Dokumentübersetzung von DeepL
Die Dokumentübersetzungs-API übersetzt ganze Dokumente in den unterstützten Sprachen und verschiedenen Dateiformaten (wie PDF oder DOC), wobei deren Struktur erhalten bleibt.
Dokumentübersetzung von DeepL ist das Standardmodell von DeepL für die Aufgabe „Dokumentübersetzung“, verfügbar auf Eden AI, ab 0,1 $ / Seite. 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, mit Verarbeitung in Europa.
Tasks and prices
Dokumentübersetzung von DeepL 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 Dokumentübersetzung von DeepL through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Eingabe
- file (Pflichtfeld): Datei (PDF, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation). Datei-ID aus /v3/upload oder direkte Datei-URL (PDF, DOCX, PPTX)
- target_language (Pflichtfeld): Text. Zielsprachencode
- source_language: Text. Quellsprachcode
Antwort
- file
- document_resource_url
Estimate your monthly cost
Enter your monthly volume for Dokumentübersetzung to compare Dokumentübersetzung von DeepL with its cheapest alternatives.
Call Dokumentübersetzung von DeepL 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/document_translation/deepl",
"input": {"file": "https://example.com/document.pdf", "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/document_translation/deepl", "input": {"file": "https://example.com/document.pdf", "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/document_translation/deepl",
input: {"file": "https://example.com/document.pdf", "target_language": "fr"},
}),
});
console.log(await response.json());
"file": "https://example.com/document.pdf", "target_language": "fr"
Questions about Dokumentübersetzung von DeepL
On Eden AI, Dokumentübersetzung von DeepL costs 0,1 $ / Seite for Dokumentübersetzung. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Dokumentübersetzung von DeepL is available for: Dokumentübersetzung. Input: PDF. Output: datei, dokumenten_ressourcen_url.
Eden AI offers Dokumentübersetzung from 2 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Dokumentübersetzung
Other Dokumentübersetzung models you can call with the same key, cheapest first.
More from DeepL
Other DeepL models on Eden AI, for every task.
