Translating visual content such as scanned PDFs, screenshots, or product images has always been a manual process — until now. The AITranslate Image Translation API enables developers to automatically extract and translate text from images in one seamless step, powered by advanced AI-based OCR and multilingual neural translation.
- 🧠 Built-in OCR — detects and extracts text automatically
- 🌍 Supports 130+ languages
- ⚡ Async processing with job tracking
- 🔗 Secure file-based translation with layout preservation
How It Works
You can submit a PDF or image for translation using the /api/translate/file endpoint.
The API accepts file URLs, detects the text, translates it, and returns a structured JSON response asynchronously.
Example Request
POST https://aitranslate.in/api/translate/file
Content-Type: application/json
{
"authentication": {
"apiKey": "YOUR_API_KEY",
"apiSecret": "YOUR_API_SECRET"
},
"fileUrl": "https://example.com/sample.jpg",
"targetLang": "fr",
"callbackUrl": "https://yourapp.com/api/receive-translation"
}
Example Response
{
"success": true,
"jobId": "9b1d6c28f9e24e0",
"message": "Translation job queued successfully"
}
You can then check the job status via /api/translate/status or wait for the callback response.
The translated text or downloadable file link will be included once processing completes.
callbackUrl parameter for large files.
It automatically delivers translated results to your endpoint when ready — perfect for background processing.