AIGC DETECTOR
AI 文本检测
面向内容发布场景,输出人工率、AI率和分段高亮报告,效果和朱雀差不多,批量 API 调用可以完全替代朱雀。
调用余额
0 次
API Key
未登录
curl
curl -X POST "https://your-domain.com/api/detect" \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d "{\"text\":\"待检测文本\"}"
Python
import requests
resp = requests.post(
"https://your-domain.com/api/detect",
headers={"X-API-Key": "your_api_key"},
json={"text": "待检测文本"},
timeout=30,
)
print(resp.json())
提交返回
{
"ok": true,
"task_id": "66f...",
"status": "pending",
"level": 2,
"billing_mode": "paid_api",
"api_balance": 99
}
结果查询
GET /api/result/{task_id}
{
"ok": true,
"status": "done",
"human_rate": 82.31,
"ai_rate": 17.69,
"segments": [...]
}
ok接口是否成功处理。
task_id检测任务 ID,用于轮询结果。
status任务状态:pending / running / done / failed。
level任务优先级;在线试用为 1,API 默认 2。
billing_mode计费模式:free_trial 或 paid_api。
api_balanceAPI Key 调用后的剩余额度。
human_rate人工率,0~100。
ai_rateAI率,0~100。
segments分段结果;label=0 表示人工,label=1 表示 AI 特征。