Supported image formats and limits
Send the captcha image as base64 in the image field. The type is detected from the bytes, not from the file name. A data:image/…;base64, prefix is accepted. Line breaks in the base64 are not.
Accepted
- PNG, JPEG, GIF (including a transparent GIF), WebP, TIFF, and BMP.
- Animated GIF, WebP and PNG captchas are read across their frames, so text that moves, flashes, or appears a few characters at a time is still read whole. Up to 60 frames.
- A restricted SVG: a drawing of the captcha, not a document that loads other files.
Limits
- 5 MB per image.
- 4 megapixels, and 4096 pixels on the longer side.
- 256 images in one batch. 32 requests in flight per key.
A file that is empty, tiny, or not one of those formats comes back as invalid_image. That call is not charged.
What to crop
Send the captcha, not the whole form. A screenshot that includes the words “Enter captcha” is read as letters. In numeric mode those letters can fold into extra digits. If the page never exposes an image, there is nothing to crop. See which captchas are an image.
What this does not accept
- Camera raw files and other formats outside the list above.
- Audio clips on
/v1/solve. The sound of an audio captcha goes to /v1/solve_audio instead (WAV, MP3, OGG or FLAC). - A page URL. The API does not fetch the captcha for you. You send the bytes.
Field names and errors are in the API guide.