ZeroClaude API

基础地址: https://zeroclaude.app · 请求和返回均为 JSON

网站上的每个工具都有对应的 HTTP 接口。发送带 JSON 请求体的 POST 请求,返回 JSON。出错时返回非 2xx 状态码和 { "error": "message" }。

鉴权

在控制台创建 API Key,每次请求通过 Authorization: Bearer zc_…(或 x-api-key: zc_…)发送。Key 只在创建时显示一次,可随时撤销。不带 Key 的请求返回 401。

AI 检测

curl -X POST https://zeroclaude.app/api/detect \
  -H "Authorization: Bearer zc_your_api_key" \
  -H "content-type: application/json" \
  -d '{"text":"在这里粘贴至少 40 个字符的文本……"}'
字段含义
aiPercent0–100,被判定为 AI 写作的比例
verdicthuman · mostly_human · mixed · mostly_ai · ai
sentences[]text、start、end(偏移量)、ai(0–100)、flagged(布尔)
words, chars提交文本的词数和字符数

写作工具

接口请求体返回
/api/tools/humanizetext, mode: basic | advancedoutput
/api/tools/paraphrasetext, tone: standard | fluent | formal | academic | simple | creative | casual | shorten | expandoutput
/api/tools/summarizetext, length (10–80 %), style: text | bulletsoutput
/api/tools/grammartextcorrected, issues[]
/api/tools/translatetext, to, from (or "auto")output
/api/tools/emailkind: compose | reply, purpose, original, tone, length, languageoutput
/api/tools/dictionarywordmeanings, synonyms, antonyms, sentences
/api/tools/chatmessages: [{role, content}]output
/api/image-detectmultipart imageaiPercent, verdict, reasons
/api/video-detectmultipart frame ×1–10 (JPEG/PNG/WEBP), t ×naiPercent, verdict, frames[], reasons
/api/remove-bgmultipart image (PNG/JPG/WEBP, ≤10 MB)image/png
/api/plagiarism{ "text": "..." }plagiarismPercent, sources[], sentences[]

示例:改写

curl -X POST https://zeroclaude.app/api/tools/paraphrase \
  -H "Authorization: Bearer zc_your_api_key" \
  -H "content-type: application/json" \
  -d '{"text":"The meeting has been moved to Friday.","tone":"formal"}'

# => {"output":"The meeting has been rescheduled to Friday."}

限制

方案API 调用(次/天)
免费版100
PRO1,000
PLUS5,000
MAX20,000

检测单次最多 15,000 字符,查重单次最多 1,000 词。每个 IP 每分钟约 20 次 AI 请求。超出限制返回 HTTP 429。用量在 UTC 0 点重置,可在控制台查看今日用量。

错误

状态码含义
400输入无效(message 说明原因)
401缺少或无效的 API Key
429达到每日额度或每分钟限制
5xx临时故障,请稍后重试

发送请求头 x-zc-lang: zh 可获得中文错误信息和中文 AI 说明。