Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api-reference/document.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ The document translation API allows you to translate whole documents and support
* `txt` - Plain Text Document
* `xlf / xliff` - XLIFF Document, version 2.1
* `srt` - SRT (SubRip Subtitle) Document
* `jpeg` / `jpg` / `png` - Image
* `jpeg` / `jpg` / `png` - Image (currently in beta)

Please note that with every submitted document of type .pptx, .docx, .doc, .xlsx, or .pdf, you are billed a minimum of 50,000 characters with the DeepL API plan, no matter how many characters are included in the document.

The maximum upload limit for documents is [available here](/docs/resources/usage-limits#maximum-upload-limits-per-document-format) and may vary based on API plan and document type.

We also provide specs that is auto-generated from DeepL's OpenAPI file. [You can find it here](/api-reference/document/upload-and-translate-a-document).
We also provide specs that are auto-generated from DeepL's OpenAPI file. [You can find it here](/api-reference/document/upload-and-translate-a-document).

<Info>
When translating a `doc` file, you will receive a `docx` file as the output format.
Expand Down Expand Up @@ -139,7 +139,7 @@ These examples are for demonstration purposes only. In production code, the auth
<li>`txt`: Plain Text Document</li>
<li>`xlf / xliff`: XLIFF Document, version 2.1</li>
<li>`srt` - SRT (SubRip Subtitle) Document</li>
<li>`jpeg` / `jpg` / `png` - Image</li>
<li>`jpeg` / `jpg` / `png` - Image (currently in beta)</li>
</ul>
</ParamField>
<ParamField body="filename" type="string">
Expand Down
4 changes: 2 additions & 2 deletions api-reference/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tags:
* `txt` - Plain Text Document
* `xlf / xliff` - XLIFF Document, version 2.1
* `srt` - SRT Document
* `jpeg` / `jpg` / `png` - Image
* `jpeg` / `jpg` / `png` - Image (currently in beta)
- name: RephraseText
description: |-
The `rephrase` endpoint is used to make corrections and adjustments to texts based on style or tone.
Expand Down Expand Up @@ -649,7 +649,7 @@ paths:
* `txt` - Plain Text Document
* `xlf / xliff` - XLIFF Document, version 2.1
* `srt` - SRT Document
* `jpeg` / `jpg` / `png` - Image
* `jpeg` / `jpg` / `png` - Image (currently in beta)
filename:
type: string
description: The name of the uploaded file. Can be used as an alternative
Expand Down