跳转到内容
服务状态控制台

任务类型

示意图箭头题:左边是要对照的示例,用右边的箭头切换图片,找到符合题目的那张。

FunCaptchaClassification 识别 FunCaptcha(Arkose Labs)的图片题:把题目图片和英文题目发过来,返回应该选第几张图,由你的程序在浏览器里点击。它不返回 token。同步返回,每次 3 点(约 $0.45 / 千次)。

POSThttps://api.yescaptcha.com/createTask国际节点
POSThttps://cn.yescaptcha.com/createTask国内节点
任务类型价格返回方式说明
FunCaptchaClassification$0.45 / 千次; 3 点/次 · 3 元/千次同步

美元价格按 1 美元 ≈ 6.67 元估算,实际按点数扣费。

字段类型必填说明
typestring是任务类型,取值见本页"类型与价格"
imagestring是题目图片的 Base64 编码,不带 data: 前缀
questionstring是题目的英文原文(如 Pick the image that is the correct way up),支持的题目见本页
  • image 只放题目的图片部分(6 宫格,或左右拼合的箭头题图片),上面的标题、按钮不要截进去;截图要完整,缺一块会影响识别。竖排的 6 宫格直接上传原图即可。
  • question 直接取网页上显示的英文题目全文,大小写要准确,不要自己翻译。网页是其他语言时,先把验证码切换成英文。服务端根据题目判断题型,所以题目必须正确。
POST https://api.yescaptcha.com/createTask
{
"clientKey": "YOUR_CLIENT_KEY",
"task": {
"type": "FunCaptchaClassification",
"image": "BASE64_IMAGE",
"question": "Pick the bread"
}
}
{
"errorId": 0,
"status": "ready",
"solution": {
"objects": [4],
"labels": ["parrot", "panda", "octopus", "owl", "bread", "dog"]
},
"taskId": "04a3fa76-11a0-11ed-a58c-0ef20f419382"
}
字段类型说明
objectsarray应该选择的图片序号(从 0 开始,从左到右、从上到下)
labelsarray识别出的标签

objects: [4] 表示选第 5 张图(序号从 0 开始,从左到右、从上到下)。一道题常常要连续做几轮,每轮都要重新截图、重新调用。

所有题型都支持,不用先查题目列表:把网页上的英文题目和题目图片直接提交即可。如果返回 ERROR_UNKNOWN_QUESTION,请 联系客服。

现在常见的是左右拼合的箭头题:左边是要对照的示例,右边是当前的图片,网页上用箭头切换右边的图片,找到符合题目的那张。按网页上显示的样子把整张图(左右两部分)上传,例如:

Use the arrows to change the number of objects until it matches the left image
Use the arrows to change the number of objects until it matches the left image数量和左图一致
use the arrows to choose the image where all the darts add up to the number in the left image
use the arrows to choose the image where all the darts add up to the number in the left image飞镖数字之和等于左图的数
use the arrows to find the jigsaw puzzle that is missing the puzzle piece shown on the left
use the arrows to find the jigsaw puzzle that is missing the puzzle piece shown on the left缺的正是左边那块拼图
find the image that has the prize on the left held by the claw in the machine on the right
find the image that has the prize on the left held by the claw in the machine on the right爪子抓着左边的奖品

另一种是 6 宫格的选图题(如 Pick the bread),上传 6 宫格那部分即可,见上面的请求示例。

一组题目最后提交失败,但不知道是哪一轮错了,可以把这一组的任务 ID 一起用 report 上报(1 小时内),约 24 小时后结算返点,规则见 计费与退点。