How to bypass Tencent captcha

To bypass a Tencent captcha, capture the challenge shown by the widget, send the image to a captcha solver API and replay the returned points in the browser: Tencent Cloud then issues the ticket that the site’s server verifies. This guide covers the slider and the glyph-click challenge, the ticket and its server-side check, the 672×480 scale and the two ilovecaptcha API calls.

Updated on · Written and maintained by the ilovecaptcha team

Preview: the API described here is in public beta. Endpoint names, fields and codes can still change until the end of the beta, and no API key is distributed yet.

What is Tencent captcha, and which two challenges does it show?

Tencent captcha is the human verification service of Tencent Cloud, met mostly on Chinese platforms. According to Tencent Cloud’s overview, updated in April 2025, one product covers several forms: a non-perception check, a slider, a graphic challenge whose shapes are clicked in sequence, an audio challenge and a smart mode. A solver reads the two image forms: the slider and the graphic challenge, called glyph click here. The site owner picks the form in the console, under its CaptchaAppId: one site shows a slider, the next shows glyphs.

What does each Tencent challenge look like?

The two Tencent Cloud image challenges, side by side
Point compared Slider Glyph click
What the visitor sees A photo with a notch, a loose piece and a knob A photo with five rotated outline glyphs and a strip of three upright ones
Expected gesture Drag the piece sideways into the notch Click the three glyphs of the strip, in the order of the strip
Background file 672×390 pixels 672×480 pixels
What has to be found One horizontal position Three positions and their order

What is the Tencent captcha ticket, and how does the site check it?

The ticket is the proof of success that the widget hands to the page, and it is worth nothing until the site’s server has had it confirmed. Tencent Cloud’s web integration guide creates the widget with new TencentCaptcha and the site’s CaptchaAppId. After a solved challenge, the callback receives ret equal to 0, a ticket and a randstr. The site’s server then passes both strings to the DescribeCaptchaResult API with its AppSecretKey and the visitor’s public IP address.

What does DescribeCaptchaResult answer?

Main CaptchaCode values (Tencent Cloud API reference, updated 23 October 2026)
CaptchaCode Meaning What it tells an automation
1 Verification passed The form goes through
7 Invalid Randstr Keep ticket and randstr from the same callback
8 Ticket expired; valid for 5 minutes Submit right after the solve
9 Ticket reused One ticket, one submission
16 CaptchaAppId differs from the page’s A ticket belongs to one application

Why does this ticket and check pair matter for a bypass?

Because the image is only half of the exchange. A solver API can tell where to click, but only Tencent Cloud issues a ticket, and only for a session in which its widget accepted the gesture. Nothing can be pasted into the form in its place: solve inside the browser that will submit the form, and send it once, within the five-minute window.

Why must Tencent coordinates be rescaled before the click?

Because the picture is larger than what the screen shows. Tencent serves the glyph background as a 672×480 file and the slider background as a 672×390 file, while the pop-up displays them at a reduced width, about half in our slider captures. The ratio is not a constant: according to Tencent Cloud’s web integration guide, the pop-up’s internal size cannot be adjusted, and integrators resize it with a CSS transform: scale() on its outer element.

How do you convert a returned point into a click?

  1. Read the displayed width of the background element, in CSS pixels.
  2. Divide the width of the image you sent by that width: this is the scale.
  3. Divide the x and the y of every returned point by the scale.
  4. Add the element’s position in the viewport, then click there.

Does the Tencent slider need the same conversion?

Yes, with one more subtraction. The API returns the point where the piece must be dropped, in pixels of the image sent. The piece does not start at the left edge, so the drag length is the drop position minus the piece’s starting position, both converted to displayed pixels.

Why is the Tencent glyph click harder to solve than the slider?

Because the two challenges do not ask for the same amount of reading: the slider is a search for one shape, the glyph click a matching of three drawn signs against a photo that holds five. Hard for a program does not mean tiresome for a person: in the USENIX Security 2023 study by Searles and co-authors, 1,400 participants solved 14,000 CAPTCHAs, and solving time did not always match how users rated a challenge.

What makes the glyph click harder to read?

  • Three answers instead of one, and order is part of the answer: the right spots clicked in the wrong sequence fail.
  • The glyphs are rotated in the photo and upright in the strip, which is itself crossed by stray curves.
  • The photo holds more glyphs than the strip asks for: the extra ones are decoys.
  • A black outline over a dark, textured part of the photo leaves little contrast to read.

Why is the slider the easier of the two?

There is a single unknown, the horizontal position of the notch, and the notch has the outline of the piece displayed beside it. No order and no rotation enter the answer. What remains is the conversion: a correct position replayed at the wrong scale is refused like a wrong one.

What do you send for a Tencent task, and what comes back?

You send one image of the challenge, in base64 or as a URL, with the task type tencent. For a glyph click, the image must show the photo and the strip of three glyphs; for a slider, the photo with its notch. The API answers with points: three points in click order, or the single point where the piece is dropped.

The Tencent task at a glance
Item Value
Publisher Tencent Cloud
Challenge family Slider
Task type tencent
You send Challenge image (base64 or URL)
You get back Coordinates to click or drop
Vendor documentation Tencent Cloud documentation

How do you bypass Tencent captcha with the ilovecaptcha API?

In five steps, inside an automated browser that displays the real widget. The API reads the image; the browser clicks, and Tencent Cloud issues the ticket.

  1. Open the pop-up. Load the page and perform the action that makes the Tencent widget appear.
  2. Capture the challenge. Screenshot the panel, strip included, and note the displayed width of the background.
  3. Create the task. POST createTask with the type tencent and the image in base64.
  4. Poll the result. Call getTaskResult every 1 to 2 seconds until status is ready.
  5. Rescale and replay. Divide each point by the capture scale, then click in order or drag the piece.

The widget then gives ticket and randstr to the page: submit the form within five minutes.

What does a Tencent glyph-click request look like?

The request below submits a glyph-click challenge whose photo keeps its native 672×480 pixels. No text goes in instruction: the strip of three glyphs is part of the image. The response lists three points in strip order, in pixels of the submitted image. If the page displays the photo 336 pixels wide, the scale is 2: halve each value before clicking.

POST /createTask
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "tencent",
    "image": "iVBORw0KGgoAAAANSUhEUg…"
  }
}

→ 200 { "errorId": 0, "taskId": "tsk_8f3a1c2e", "status": "processing" }

POST /getTaskResult
Content-Type: application/json

{ "clientKey": "YOUR_API_KEY", "taskId": "tsk_8f3a1c2e" }

→ 200 { "errorId": 0, "status": "ready", "solution": { "points": [[204, 118], [517, 283], [362, 436]] } }
A createTask request for a Tencent task, then the getTaskResult answer once the task is ready (preview format).

Tencent captcha bypass: frequently asked questions

Can you get a Tencent captcha ticket without opening the widget?

Not with the method described here. A ticket is issued by Tencent Cloud once its own widget has accepted a gesture in a browser session. The ilovecaptcha task for Tencent returns points to click or a drop position, not a ticket: the browser displays the challenge, replays the answer and receives the ticket through the page’s callback.

Why does the site reject my Tencent ticket after a correct solve?

Tencent Cloud’s API reference names the usual causes through the CaptchaCode returned to the site’s server. Code 8 means the ticket has expired: it is valid for 5 minutes. Code 9 means it has already been used. Code 7 means the random string is not the one returned by the same callback. Submit the form as soon as the widget closes, and never replay a ticket.

Where is the CaptchaAppId, and does the solver need it?

In Tencent Cloud’s web integration guide, the CaptchaAppId is the value passed to the TencentCaptcha constructor in the page’s script. The image task does not need it: Tencent is an image type, so no site key and no page URL are sent, only the capture. The AppSecretKey is a different value: it stays on the site’s server and serves the ticket check.

Does the Tencent glyph challenge have a text instruction to send?

No sentence is needed. The request of a glyph click is a picture: a strip of three glyphs to find in the photo, in that order. Keep the strip inside the capture and leave the optional instruction field empty. Tencent Cloud’s integration guide adds that, apart from the sliding puzzle, the verification forms only support Chinese and English; a solver reads the glyphs, not the caption.

Are you allowed to automate a Tencent captcha on a site you do not run?

Only within what that site and the law permit. The clear-cut case is your own application: with your own CaptchaAppId you can test the whole chain, widget, ticket and server-side check. QA, accessibility automation, availability checks and academic research follow the same logic of authorisation, and collecting public data must respect the target site’s terms and the applicable law. OWASP files the abusive uses under OAT-009, CAPTCHA Defeat: credential stuffing, spam and payment fraud are not supported by ilovecaptcha.

Sources

The facts and figures quoted on this page come from these sources.