Image Tasks
ProSOPO
Solve ProSOPO captchas with the NoCaptchaAI API.
Create a task
POST https://api.nocaptchaai.com/createTask
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "prosoClassification",
"websiteURL": "https://example.com",
"images": ["base64-image-0", "base64-image-1", "..."],
"question": "Select all images that contain traffic lights"
}
}Get the result
{ "errorId": 0, "answers": [true, false, true, false, true] }answersis a boolean array aligned with the input images.trueimages get clicked.
Code example
import requests
API_KEY = "YOUR_API_KEY"; BASE = "https://api.nocaptchaai.com"
res = requests.post(f"{BASE}/createTask", json={
"clientKey": API_KEY,
"task": {
"type": "prosoClassification",
"websiteURL": "https://example.com",
"images": ["base64-image-0", "base64-image-1"],
"question": "Select all images that contain traffic lights"
}
}).json()
print(res)const API_KEY = "YOUR_API_KEY", BASE = "https://api.nocaptchaai.com";
const res = await fetch(`${BASE}/createTask`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
clientKey: API_KEY,
task: {
type: "prosoClassification",
websiteURL: "https://example.com",
images: ["base64-image-0", "base64-image-1"],
question: "Select all images that contain traffic lights"
}
})
}).then(r => r.json());
console.log(res);curl -X POST https://api.nocaptchaai.com/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "prosoClassification",
"websiteURL": "https://example.com",
"images": ["base64-image-0", "base64-image-1"],
"question": "Select all images that contain traffic lights"
}
}'