甚麼是 AWS WAF Image Classification 驗證碼?
AWS WAF 圖片分類是解答 AWS WAF 驗證碼圖片題(選出相同物件、數數量等)的任務。
選取收到的 objects 編號的圖片,或輸入收到的值。
AWS WAF Image Classification
< 1s · $0.42 / 1k
選用 GateSolver 識別 AWS WAF Image Classification 的原因
穩定識別
持續改進 AWS WAF Image Classification 識別模型,即使題目改變也能穩定識別。
只為成功任務付費
只為已解出的任務付費。失敗或逾時的任務不會扣款。
AI 自動識別
無需等待人手,AI 即時識別,通常 1 秒 內得出答案。
隨處接入
REST API 在任何程式語言、任何自動化工具中的用法都一樣。
兼容 in.php
使用 in.php 和 res.php 格式的程式,只需更改地址。
大量處理
每個密鑰每分鐘最多 600 次請求,同時任務數不設上限。
價格與速度
任務 type速度價格
AwsWafClassification< 1s$0.42 / 1k
AWS WAF Image Classification 識別方法:API 指南
只需兩次請求:用 createTask 建立任務,再用 getTaskResult 取得答案。
第 1 步:建立任務
POST https://gatesolver.com/createTask
| 欄位 | 必填 | 說明 |
|---|---|---|
| type | 是 | AwsWafClassification |
| images | 是 | 題目圖片的 base64 陣列 |
| question | 是 | 題目文字(例如:aws:grid:bed) |
請求
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AwsWafClassification",
"images": [
"/9j/4AAQSkZJRgABAQ..."
],
"question": "aws:grid:bed"
}
}回應
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}第 2 步:取得結果
POST https://gatesolver.com/getTaskResult
以 taskId 每 1 秒查詢一次結果。status 為 processing 時繼續等待,變為 ready 後使用 solution。
請求
{
"clientKey": "YOUR_API_KEY",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}回應
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
"status": "ready",
"solution": {
"objects": [
1,
4
]
}
}選取收到的 objects 編號的圖片,或輸入收到的值。
程式碼範例
import requests, time
API = "https://gatesolver.com"
KEY = "YOUR_API_KEY"
task = {
"type": "AwsWafClassification",
"images": [
"/9j/4AAQSkZJRgABAQ..."
],
"question": "aws:grid:bed"
}
r = requests.post(f"{API}/createTask", json={"clientKey": KEY, "task": task}).json()
task_id = r["taskId"]
while True:
time.sleep(1)
res = requests.post(f"{API}/getTaskResult", json={"clientKey": KEY, "taskId": task_id}).json()
if res.get("status") == "ready":
print(res["solution"])
break
if res.get("errorId"):
raise RuntimeError(res["errorCode"])const API = "https://gatesolver.com", KEY = "YOUR_API_KEY";
const post = (p, b) => fetch(API + p, { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(b) }).then((r) => r.json());
const { taskId } = await post("/createTask", { clientKey: KEY, task: {"type":"AwsWafClassification","images":["/9j/4AAQSkZJRgABAQ..."],"question":"aws:grid:bed"} });
let res;
do {
await new Promise((s) => setTimeout(s, 1000));
res = await post("/getTaskResult", { clientKey: KEY, taskId });
} while (res.status === "processing");
console.log(res.solution);curl -X POST https://gatesolver.com/createTask \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY","task":{"type":"AwsWafClassification","images":["/9j/4AAQSkZJRgABAQ..."],"question":"aws:grid:bed"}}'AWS WAF Image Classification 常見問題
AWS WAF Image Classification 每 1,000 個任務多少錢?
AWS WAF Image Classification 價格:每 1,000 個任務 $0.42。每個任務從餘額扣除,只為已解出的任務付費。
AWS WAF Image Classification 的答案多快得出?
通常 1 秒 內得出。每隔數秒呼叫 getTaskResult,status 變為 ready 後使用答案。
AWS WAF Image Classification 任務應使用哪個 type?
預設 type:AwsWafClassification。其他名稱(如使用代理的版本)亦以相同價格接受。
失敗會扣款嗎?
不會。未能識別及逾時的任務都不收費。