KAPTRA
Sections

ImageToTextTask

OCR a single image into text.

Task type

ImageToTextTask

Sync or poll

Async — poll /getTaskResult

Parameters

Field Type Required Notes
type string yes ImageToTextTask
body string yes Base64 image; data:image/...;base64, prefix allowed

Minimal request

{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"ImageToTextTask","body":"BASE64_IMAGE"}
}

Success solution

{"text":"abc123"}

Typical failures

ERROR_CAPTCHA_UNSOLVABLE, ERROR_BAD_REQUEST, ERROR_TASK_NOT_SUPPORTED

Back to the Kaptra site

Official technical support & tickets

Powered by the Discord Ticket system

  1. Click the button below to join the official Discord server
  2. Go to #open-ticket and click "Open ticket"
  3. The system creates a private 1:1 channel where engineers respond online
Open Discord to submit a ticket ↗