OCRRouterObtener API key

Thai OCR API

Read Thai text, which has no spaces between words and vowels above and below the line.

Resultado

Tu Markdown o JSON aparecerá aquí.

What makes Thai hard for OCR

  • No word spacing
  • Stacked vowels and tone marks
  • Looped and loopless font styles

Script: Thai script.

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-flash",
    "file_url": "https://example.com/invoice.pdf",
    "format": "markdown"
  }'

Best models for Thai text

Questions

Other languages