Ollang API Reference
Direct File Upload
Upload files directly to the platform for processing and translation services. Supports multiple file formats including MP4, MP3, DOCX, PDF, JPEG, PNG for Image to Image translation, and more
POST
Upload files directly to the platform by calling this endpoint to process your content for translation and transcription services. This endpoint accepts a wide variety of file formats including:
- Video files: MP4, AVI, MOV, WMV
- Audio files: MP3, WAV, AAC, M4A
- Document files: DOCX, PDF, TXT, RTF
- Presentation files: PPTX, PPT
- Spreadsheet files: XLSX, XLS
- Image to Image translation: JPEG, JPG, PNG (direct upload for image-based translation)
- And many more formats
Authorizations
This endpoint requires API key authentication. Include your API key in the request header:- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
- Format:
X-Api-Key: your-api-key-here
Body Parameters
The file to upload for translation. Supports a wide range of file formats
including: Video formats: MP4, AVI, MOV, WMV, FLV, MKV Audio formats:
MP3, WAV, AAC, M4A, FLAC, OGG Document formats: DOCX, DOC, PDF, TXT, RTF,
ODT Presentation formats: PPTX, PPT, ODP Spreadsheet formats: XLSX,
XLS, ODS, CSV Image formats (Image to Image translation): JPEG, JPG, PNG
Other formats: HTML, XML, JSON, SRT, VTT Maximum file size:
30GB for video files, 100MB for document files. Note: For testing in the API
playground, the upload limit is 5MB.
Name of the file being uploaded. This will be used as the identifier for your
uploaded content. Should be descriptive and unique for easy identification.
The source language of the file content. Use standard language codes such as:
- ‘en’ for English - ‘es’ for Spanish - ‘fr’ for French - ‘de’ for German - ‘zh’ for Chinese - ‘ja’ for Japanese - ‘tr’ for Turkish - And many more supported languages
Array of order notes for additional instructions or information about the upload.
Each note should be an object with:
details(string): Note content (e.g., “Preserve formatting”, “Technical document”, “Marketing content”)timeStamp(string): Timestamp for the note if the content is a video or audio file.
[{"details": "Please ignore the subtitles for 30 seconds", "timeStamp": "02:15:30"}]Optional folder ID to place the project in. The folder must belong to the same
client account. If not provided, the project will be placed in the default
“API Uploads” folder. You can retrieve available folder IDs using the
Retrieve All Folders
endpoint.
Response
Unique identifier for the project associated with the uploaded file. Use this
ID to create, track, and manage your uploaded content throughout the
translation process.