Endpoint
POST /v3/universal-ai (sync)
Model string pattern: translation/document_translation/{provider}[/{model}]
Input
| Field | Type | Required | Description |
|---|---|---|---|
| file | file_input | Yes | Document file ID from /v3/upload or direct file URL (PDF, DOCX, PPTX) |
| target_language | string | Yes | Target language code |
| source_language | string | No | Source language code |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| file | string | Yes | |
| document_resource_url | string | Yes |
Available Providers
| Provider | Model String | Price |
|---|---|---|
| deepl | translation/document_translation/deepl | $2 per 20 pages |
translation/document_translation/google | $0.08 per page |