# ohmycaptcha

> Self-hosted open-source captcha solver with a YesCaptcha-style createTask API covering reCAPTCHA, hCaptcha, Turnstile and image tasks via Playwright and vision models.

- **Category:** Security
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Python
- **Platforms:** Docker, Python, Render
- **Tags:** Multi modal, Playwright, Captcha, Fastapi, Browser automation, Self Hosted, Recaptcha, Sglang, Openai compatible, Hcaptcha, Openai compatible api, Vision models, Image Classification, Yescaptcha Compatible, Captcha Solving, Recaptcha V3, Cloudflare Turnstile, Image Captcha

## Description

OhMyCaptcha is an open-source captcha-solving service you run yourself, built on FastAPI and Playwright. It speaks the async protocol familiar from YesCaptcha — task submission, result polling and a balance call — so consumers such as flow2api can point straight at it. Nineteen task types are covered: token generation inside a real browser for reCAPTCHA v2 and v3 (Enterprise variants included), hCaptcha and Cloudflare Turnstile, plus multimodal-model work on base64 images for reading text-style captchas and answering image grids from hCaptcha, reCAPTCHA v2, FunCaptcha and AWS challenges. Vision requests can go to a locally served OpenAI-compatible engine (SGLang or vLLM running a Qwen checkpoint) or to a hosted provider, chosen with separate environment variables. Caveats the docs state plainly: submitted work is held only in process RAM and drops off after ten minutes, the minScore field is taken in but ignored, the balance endpoint hands back a hard-coded compatibility number, and outcomes depend on IP reputation and how the target page behaves. Deployment routes are a Python 3.10+ virtualenv with Playwright's Chromium, the Dockerfile.render and render.yaml files bundled in the repo, or step-by-step guides for Render and Hugging Face Spaces. It carries the MIT licence, and the authors stress it is meant for authorised research and testing rather than getting around protections on someone else's site.

## Links

- [Homepage](https://github.com/shenhao-stu/ohmycaptcha)
- [Website](https://shenhao-stu.github.io/ohmycaptcha/)

---
Source: https://selfhost.directory/project/ohmycaptcha