# Recognize text captchas from images with Cap.Guru

> Quick overview This workflow takes a captcha image URL or Base64 payload, submits it to the Cap.Guru API for text recognition, polls for the result, and returns the solved text (optionally evaluating arithmetic captchas). How it works 1. Starts manually or is called from another workflow with imageUrl or imageBase64 (and optional vernet). 2. Validates inputs and, if only a URL is provided, downloads the image and converts it to a Base64 string. 3. Sends the Base64 image to Cap.Guru (in.php) to create a recognition task. 4. Waits 5 seconds and polls Cap.Guru (res.php) repeatedly until a result is ready or a 2-minute timeout is reached. 5. If the recognized text is an arithmetic expression, calculates the numeric answer. 6. Outputs the solved text (plus expression when applicable) along with the Cap.Guru taskId. Setup 1. Create a Cap.Guru account and API key. 2. In n8n, create an HTTP Query Auth credential that sends your API key as a query parameter named key, and select it in both Cap.

- **Domain**: `n8n-workflow-22965.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22965
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22965.n8n.io
- Documentation: https://n8n.io/workflows/22965
