API Reference • Synchronous Fast-Path
Sync Solve (Single-RTT Fast-Path)
POST
https://api.byecap.org/api/v1/tasks:solveDesigned specifically for Captcha Recognition tasks (Image & SVG to Text, 3×3 / 4×4 Grids, Coordinates, Slider, Rotate, and Audio). Solves your request immediately and returns the verified answer in one HTTP request without polling.
Request Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Required | Recognition task type (e.g. "ImageToTextTask", "GridTask", "CoordinatesTask", "SliderCaptchaTask", "AudioToTextTask"). |
| module | string | Optional | Optional module selector (default "standard", or "common", "number", "math", "svg", "geetest_icon"). |
| image_base64 | string | Optional | Raw Base64 image bytes (aliases: imageBase64, body). |
| audio_base64 | string | Optional | Raw Base64 MP3/WAV/OGG audio bytes (alias: audioBase64). |
| prompt | string | Optional | Target object label or question prompt for grid/coordinate classification. |
| options | object | Optional | Optional task hints (max 32 keys), e.g. {"caseSensitive": true, "grid_size": "3x3"}. |
Examples
POST /api/v1/tasks:solve
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": "image_text",
"module": "common",
"image_base64": "iVBORw0KGgoAAAANSUhEUgAA...",
"options": {
"caseSensitive": true
}
}'200 OK Response
SolveSyncResponse
{
"code": "SUCCESS",
"message": "Task solved synchronously",
"data": {
"status": "completed",
"taskId": "d8f192c0-4a11-49e2-901b-7c8120e44a10",
"type": "image_text",
"result": {
"text": "K8F4N"
}
}
}