API for Developers & AI Agents

Send a screenshot.
Get back all the text.

Upload any image. Get every readable word back as plain text. Tesseract OCR. $0.01 per image. Instant results.

curl
Python
Response
# Extract text from a screenshot
curl -X POST https://api.image2text.dev/api/v1/extract \
  -H "X-API-Key: i2t_live_YOUR_KEY" \
  -F "file=@screenshot.jpg"

Quick Start

1

Register

POST /api/v1/auth/register with your email. You'll get a 6-digit verification code.

2

Verify & Get API Key

POST /api/v1/auth/verify with the code, then POST /api/v1/auth/api-key. You get 5 free credits.

3

Extract Text

POST /api/v1/extract with an image file. Supports JPEG, PNG, WebP, TIFF, BMP. Results are instant.

How It Works

Instant Results

No async polling. Upload an image, get text back in the same response. Typical response time under 500ms.

Pay Per Image

$0.01 per image analyzed. If extraction fails, the credit is automatically refunded. You only pay for text we return.

Any Image Format

JPEG, PNG, WebP, TIFF, BMP. Up to 20MB per image. Optimized for screenshots with rendered text.

Plain Text Output

Every readable word extracted and returned as plain text. Character count and line count included. No markup, no interpretation.

Pricing

Simple. No tiers. No subscriptions. Buy credits, use them whenever.

$1
100 images

$0.01 each

$10
1,000 images

$0.01 each

$100
10,000 images

$0.01 each

5 free credits on signup. Failed extractions are automatically refunded.

API Endpoints

Text Extraction

MethodEndpointCostDescription
POST/api/v1/extract1 creditExtract text from an image

Authentication

MethodEndpointCostDescription
POST/api/v1/auth/registerFreeCreate account
POST/api/v1/auth/verifyFreeVerify email
POST/api/v1/auth/api-keyFreeGenerate API key

Account & Credits

MethodEndpointCostDescription
GET/api/v1/accountFreeView balance and usage
GET/api/v1/credits/packsFreeList credit packs
POST/api/v1/credits/purchaseFreeBuy credits via Stripe

System

MethodEndpointCostDescription
GET/api/v1/healthFreeHealth check and Tesseract status

Full API reference: llms-full.txt · OpenAPI spec

For AI Agents

This site is designed for machine consumption. AI agents can discover and integrate with this API using these files: