Solve a reCAPTCHA v2 image challenge
solve_recaptcha_gridSolves a Google reCAPTCHA v2 image challenge from a screenshot and returns which tiles to click. Send the instruction text (task), the layout (grid) and the picture(s). Waits for the answer (usually 2 to 6 seconds). Costs one credit per successful solve. After you click and submit, call report_result with Google's verdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | Challenge layout: '3x3' or '4x4' (one picture of the whole grid) or '1x1' (single tile pictures, 1 to 9). | |
| task | Yes | The instruction text shown to the user, copied in full, for example 'Select all images with buses'. | |
| images | Yes | For 3x3 and 4x4: exactly one picture of the whole grid. For 1x1: one to nine tile pictures. Each is base64 (PNG, JPEG, GIF or WebP; a data: URL is fine) or an https URL. | |
| timeout_seconds | No | How long to wait for the answer, 5 to 90. Default 45. Solves usually take 2 to 6 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | ||
| answer | Yes | One boolean per tile: true means click it. | |
| job_id | Yes | Pass this to report_result after you submit the answer. | |
| summary | Yes | ||
| positions | No | The same tiles as 'row R, column C' (3x3 and 4x4 only). | |
| selected_tiles | Yes | Tiles to click, counted from 1. 3x3 and 4x4: left to right, top to bottom. 1x1: the number of the picture you sent. Empty means: click none (then press Verify or Skip). |