Document Translation

translation/document_translation/google by Google
Document Translation+ more tasksProvider defaultAsyncSyncPDF inputImage inputAudio inputVideo inputText inputURL inputEU hosting
Price from
$0.08 / page
Tasks
1
Document Translation
Regions
Mode
sync
Input
PDF
Output
file, document_resource_url

About Google Document Translation

Document Translation API translates whole documents in supported languages and various file formats (like pdf or doc) while keeping their structure intact.

Google Document Translation is Google's default model for Document Translation available on Eden AI for Document Translation, from $0.08 / page. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint.

Learn more about Document Translation APIs on Eden AI

Tasks and prices

Google Document Translation 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.

Task
Price
Regions
Mode
Docs
Playground
Document Translationtranslation/document_translation/google
$0.08 / page
sync

Parameters

What you send and what you get back when you call Google Document Translation through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • file (required): file (PDF, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation). Document file ID from /v3/upload or direct file URL (PDF, DOCX, PPTX)
  • target_language (required): text. Target language code
  • source_language: text. Source language code

Response

  • file
  • document_resource_url

Estimate your monthly cost

Enter your monthly volume for Document Translation to compare Google Document Translation with its cheapest alternatives.

Call Google Document Translation 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())

Questions about Google Document Translation

On Eden AI, Google Document Translation costs $0.08 / page for Document Translation. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Google Document Translation is available for: Document Translation. Input: PDF. Output: file, document_resource_url.

Yes. Google Document Translation 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 Document Translation from 2 providers, all callable with the same API key. The cheapest models are compared just below.

More from Google

Other Google models on Eden AI, for every task.

No items found.