ocr_and_translate
One call: OCR an image, then translate every line into target_lang. Arabic-first OCR and manga-aware Japanese with right-to-left-aware layout, followed by LLM translation. Automatic source-language detection. Provide the image as base64. Ideal for reading foreign documents, signs, manga, or receipts end-to-end in a single step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional key (nsk_live_...). Auto-provisioned if omitted. | |
| target_lang | Yes | Language to translate into, as a name or code (e.g. English, ar, ja). | |
| image_base64 | Yes | The image encoded as base64 (a data: URI prefix is accepted and stripped). |