O.Translator Developer Platform
Document Translation API Developer Platform
Integrate document and text translation with APIs for task management, glossaries, supported formats, languages, and AI models.
Developer capabilities
Document translation tasks
Upload PDF, DOCX, PPTX, and other files, then track progress, cost, and download results.
Synchronous text translation
Translate small batches of text synchronously inside an application workflow.
Glossary management
Create and maintain private glossaries to keep professional terminology consistent.
Capability discovery
Query supported file formats, languages, and currently available translation models.
Quick start
- 1
Register as a developer
Enable developer access and open the developer hub.
- 2
Create an API key
Use separate keys for different applications or environments.
- 3
Create a translation task
Upload a file and save the returned taskId.
- 4
Retrieve the result
Poll task status, then download the translation or read structured text.
https://deploy-demo.otranslator.com/apiAuthorization: [yourSecretKey]curl -X POST 'https://deploy-demo.otranslator.com/api/v1/translation/create' \
--header 'Authorization: [yourSecretKey]' \
--form 'file=@document.pdf' \
--form 'fromLang=English' \
--form 'toLang=Simplified Chinese'API directory
Translation Task API
- Create translation task
Create a new translation task for document/file translation.
- Query translation tasks
Query the status and details of a translation task.
- Delete translation task
Delete a translation task by its ID.
- Retrieve translation
Retrieve the one-to-one corresponding source text and translation extracted by the system, returned in JSON format
- Revise translation
Submit revision for translated texts in a task, with option to regenerate translations.
- Restart translation task
Used for restarting terminated tasks or paying credits for full-text translation
- Translation text
Translate text and synchronously return translation results.
Information API
- Query supported document types
Query all supported file formats for translation.
- Query supported languages
Query all supported languages for translation services.
- Query supported models
Query all available translation models.
- Query Supported OCR Models
Query all available OCR models.
Glossary API
- Create Glossary
Create a new glossary with terms and translations.
- Query glossary
Get details of a glossary by ID.
- Update glossary
Update glossary details or terms.
- Delete glossary
Delete a glossary by ID.
Account API
- Query account information
Query current user account details.
More
- Document Comparison Preview
Integrate the document comparison display page component through iframe.
Start integrating
Read the registration and authentication guide, get an API key, and send your first request.