The easiest Image to Text CAPTCHA solving API
GateSolver solves Image to Text CAPTCHAs automatically with AI. $0.28 per 1,000 tasks, answers usually within 1s, and you only pay for successful tasks.
What is the Image to Text CAPTCHA?
Image to Text is the most basic CAPTCHA: reading letters or numbers in an image. Send the image as base64 and get the text back.
Put the text into the CAPTCHA input field. If the site is case-sensitive, enter it exactly as returned.
Image to Text
< 1s · $0.28 / 1k
Why use GateSolver for Image to Text
Reliable solving
We keep improving our Image to Text solving model, so it stays reliable even as the challenges change.
Pay only for successful tasks
You only pay for solved tasks. Failed or expired tasks are never charged.
AI-powered solving
AI solves it instantly, with no waiting for humans. Answers usually arrive within 1s.
Connect from anywhere
It is a REST API, so it works the same way from any language or automation tool.
in.php compatible
Programs using the in.php and res.php format only need a new address.
High volume
Up to 600 requests per minute per key, with no limit on concurrent tasks.
Price and speed
How to solve Image to Text: API guide
Just two requests: create a task with createTask and get the answer with getTaskResult.
Step 1: Create a task
POST https://gatesolver.com/createTask
| Field | Required | Description |
|---|---|---|
| type | Yes | ImageToTextTask |
| body | Yes | Base64 of the image file (without the data:image/... prefix) |
| module | No | Recognition model for the text style (common, etc.) |
| score | No | Recognition confidence threshold (0.8 to 1) |
Request
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ImageToTextTask",
"body": "iVBORw0KGgoAAAANSUhEUgAA..."
}
}Response
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}Step 2: Get the result
POST https://gatesolver.com/getTaskResult
Poll for the result with the taskId every 1 seconds. If status is processing, wait; when it is ready, use the solution.
Request
{
"clientKey": "YOUR_API_KEY",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}Response
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
"status": "ready",
"solution": {
"text": "gs7k2"
}
}Put the text into the CAPTCHA input field. If the site is case-sensitive, enter it exactly as returned.
Code examples
import requests, time
API = "https://gatesolver.com"
KEY = "YOUR_API_KEY"
task = {
"type": "ImageToTextTask",
"body": "iVBORw0KGgoAAAANSUhEUgAA..."
}
r = requests.post(f"{API}/createTask", json={"clientKey": KEY, "task": task}).json()
task_id = r["taskId"]
while True:
time.sleep(1)
res = requests.post(f"{API}/getTaskResult", json={"clientKey": KEY, "taskId": task_id}).json()
if res.get("status") == "ready":
print(res["solution"])
break
if res.get("errorId"):
raise RuntimeError(res["errorCode"])const API = "https://gatesolver.com", KEY = "YOUR_API_KEY";
const post = (p, b) => fetch(API + p, { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(b) }).then((r) => r.json());
const { taskId } = await post("/createTask", { clientKey: KEY, task: {"type":"ImageToTextTask","body":"iVBORw0KGgoAAAANSUhEUgAA..."} });
let res;
do {
await new Promise((s) => setTimeout(s, 1000));
res = await post("/getTaskResult", { clientKey: KEY, taskId });
} while (res.status === "processing");
console.log(res.solution);curl -X POST https://gatesolver.com/createTask \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY","task":{"type":"ImageToTextTask","body":"iVBORw0KGgoAAAANSUhEUgAA..."}}'Image to Text FAQ
How much do 1,000 Image to Text tasks cost?
Image to Text price: $0.28 per 1,000 tasks. Each task is deducted from your balance, and you only pay for solved tasks.
How fast are Image to Text answers?
Usually within 1s. Call getTaskResult every few seconds and use the answer when status becomes ready.
Which task type do I use for Image to Text?
Default type: ImageToTextTask. Other names (such as proxy versions) are accepted at the same price.
Am I charged if a task fails?
No. Unsolved and expired tasks are not charged.