Captcha Recognition•Proxyless Vision / Audio AI~120ms avg99.5% accuracy$0.25 / 1k
Image & SVG to Text Recognition
POST
https://api.byecap.org/api/v1/tasks:solvePOST
https://api.byecap.org/api/v1/createTaskFast (~120ms) text recognition for distorted alphanumeric challenges, arithmetic equations, banking vector SVGs, Queue-it, and Amazon captchas.
Supported Task Types & Modes
| Task Type | Mode | Recommended For | Rate / 1k |
|---|---|---|---|
| ImageToTextTask | Image (PNG/JPG/WebP/GIF) | Standard distorted alphanumeric, numeric, Queue-it, and Amazon text captchas (alias: image_text) | $0.25 |
| SvgToTextTask | Vector SVG | Raw XML <svg> or Base64 SVG captchas (alias: svg) | $0.30 |
Supported Modules (task.module)
Optionally specify task.module to tailor recognition formatting to your target captcha:
| Module Name | Target Format | Expected Output |
|---|---|---|
| standard / common | General Alphanumeric (4–8 chars) | Default Latin letters + digits output |
| number | Digits Only (0–9) | Numeric digits only |
| math | Arithmetic Expressions (e.g. "14 + 7 = ?") | Evaluates +, -, ×, ÷ and returns the computed integer ("21") |
| queueit | Queue-it Virtual Waiting Room | Formatted for Queue-it text challenges |
| amazon | Amazon Classic 6-Letter Captcha | Uppercase 6-character Amazon text output |
| svg / mbbank / vcb | Banking Vector SVGs | Supports standard banking SVG markup |
How to Locate Required Parameters
- Capture the <img> bytes (via canvas or network interception) or extract raw <svg>...</svg> markup.
- Encode the raw bytes as standard Base64 and strip any "data:image/png;base64," or "data:image/svg+xml;base64," prefix.
- Call POST /api/v1/tasks:solve for immediate synchronous response (~120ms) or POST /api/v1/createTask for async mode.
- Fill solution.text into the captcha input field.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task.type | string | Required | Use "ImageToTextTask" ("image_text") or "SvgToTextTask" ("svg"). Example: "ImageToTextTask" |
| task.body | string | Required | Raw Base64 image payload without data-URI header (also accepted as top-level image_base64). Example: "iVBORw0KGgoAAAANSUhEUgAA..." |
| task.module | string | Optional | Optional module selector: common, number, math, queueit, amazon, svg, mbbank. Example: "common" |
| options.caseSensitive | boolean | Optional | Preserve exact uppercase/lowercase distinction when required by target validation. Example: true |
| options.minLength / maxLength | number | Optional | Optional character length constraint hint for fixed-length captchas. Example: 5 |
Request Examples
Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/tasks:solve \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"type": "ImageToTextTask",
"module": "common",
"image_base64": "iVBORw0KGgoAAAANSUhEUgAA...",
"options": {
"caseSensitive": true
}
}'Response Format
200 OK — Ready Solution
{
"errorId": 0,
"taskId": "76f8a21c-9b3e-4e11-a210-9c881c2e77a1",
"status": "ready",
"latency_ms": 94,
"solution": {
"text": "7K4M9"
}
}| Response Field | Type | Description |
|---|---|---|
| solution.text | string | Recognized characters or evaluated arithmetic answer. |
| latency_ms | number | Total solve duration in milliseconds. |
Capturing Exact Image Bytes Without Re-Requesting URL
Browser / Client Integration
// Avoid re-downloading captcha src (which generates a brand new captcha on the server!):
const imgBuffer = await page.locator("img#captchaImage").screenshot({ type: "png" });
const image_base64 = imgBuffer.toString("base64");Error Codes & Troubleshooting
| Error Code | Common Cause | Resolution |
|---|---|---|
| ERROR_IMAGE_DECODE_FAILED | Base64 string still includes "data:image/png;base64," or invalid image bytes. | Strip any data-URI prefix before "," and verify payload size > 100 bytes. |
| WRONG_CAPTCHA_SESSION | Client made a second HTTP GET to captcha.php instead of capturing the rendered DOM image. | Intercept the original image response or screenshot the existing element so session cookies stay matched. |
Best Practices & Billing Protection
- Use POST /api/v1/tasks:solve for image-to-text tasks to receive answers in a single HTTP request (~120ms).
- Report any misread via POST /api/v1/reportIncorrect with taskId to trigger automated quality credit.
- Need support for a custom or regional captcha format? Contact support via Dashboard Tickets for enterprise onboarding.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →