The technical content of this page is available in English.

Introduzione / OCR (immagine in testo)

OCR (immagine in testo)attivo

POSThttps://api.solucaptcha.com/createTask

Solve OCR (image-to-text) tasks. Send a Base64 image and receive the extracted text.

Parameters

FieldTypeRequiredDescription
clientKeystringYesYour private API key.
task.typestringYesMust be ocr.
task.base64stringYesBase64-encoded image (or data URI).

Example

curl --request POST \
  --url https://api.solucaptcha.com/createTask \
  --header "Content-Type: application/json" \
  --data '{ "clientKey": "YOUR_API_KEY", "task": { "type": "ocr", "base64": "iVBORw0KGgo..." } }'

Result

{ "errorId": 0, "status": "completed", "solution": { "value": "k4t9", "text": "k4t9" } }