Image Translate
Replace the text inside product images with a translation, keeping the design: titles, specs, price tags and sale badges.
Operations
| Operation | Endpoint | Returns | Price |
|---|---|---|---|
| Translate | POST /v1/image-translate/translate | The translated JPEG, or the regions as JSON | Image-translate rate |
| OCR | POST /v1/image-translate/ocr | The text regions: polygons, boxes, text, confidence | Image-translate rate |
| Supported Fonts | GET /v1/image-translate/supported-fonts | Fonts, weights and source-language codes | Free |
Rates are on the pricing page. A call that fails is not billed.
Send the image as raw bytes in the request body, and every other parameter in the query string. Text is read in Chinese, Japanese or English and can be translated into any language; the original font weight, colours, layout and badge backdrops are kept.
Where to Start
- Translating listings: Translate with
source_languageandtarget_language. - Drawing your own overlay:
render=falseon Translate returns the cleaned image and every region with its translation, colours and weight. - Reading text only: OCR. No cleaning, no translation.
- Matching your brand: upload a font and pass
font=user/<id>; see Custom Fonts.