Base: https://wanhetools.top
Spec: https://wanhetools.top/openapi.json (OpenAPI 3.1)
Health: GET https://wanhetools.top/api/v1/health
Scans for AI-labelling gaps and Chinese advertising-law issues. Deterministic rule engine: same input, same output.
curl -s -X POST https://wanhetools.top/api/v1/check \
-H "Content-Type: application/json" \
-d '{"text":"本图由AI生成,效果全网最好","locale":"zh"}'
Response shape (trimmed):
{
"ok": true,
"verdict": "共 1 条(高风险 1 · 待确认 0 · 提示 0)",
"counts": { "risk": 1, "warn": 0, "info": 0, "total": 1 },
"checks_run": {
"ai_label": { "name": "AI生成合成内容标识", "issues": 0 },
"ad_law": { "name": "广告法", "issues": 1 }
}
}
Note the split: ai_label issues and ad_law issues are
reported separately. They have different legal bases and different fixes — collapsing them into
one "compliance score" destroys the only part a user can act on.
curl -s -X POST https://wanhetools.top/api/v1/audit-image \
-H "Content-Type: application/json" \
-d '{"file_base64":"'"$(base64 -w0 output.jpg)"'","filename":"output.jpg"}'
Looks across C2PA/JUMBF, XMP, EXIF and IPTC, and reports which containers were detected — see the provenance field guide for why that matters.
California SB 1000 (Chapter 861, Statutes of 2026, effective 2026-09-30) requires a latent disclosure covering six named fields in generated image, video and audio content (Bus. & Prof. Code § 22757.3(a)(1)). This endpoint reports each one.
curl -s -X POST https://wanhetools.top/api/v1/verify-sb1000 \
-H "Content-Type: application/json" \
-d '{"file_base64":"'"$(base64 -w0 output.jpg)"'","filename":"output.jpg"}'
{
"level": "partial",
"fields": [
{ "key": "provider_name", "status": "present" },
{ "key": "system_name_version", "status": "present" },
{ "key": "time_date", "status": "present" },
{ "key": "unique_id", "status": "absent" },
{ "key": "created_or_altered", "status": "absent" },
{ "key": "assistive_tech", "status": "not_yet_required" }
]
}
Two things about this shape are deliberate:
not_yet_required is a distinct status, not "absent". Field F only applies from
2029-01-01, so counting it as a failure before then would make every report useless.For when the output has to be filed rather than read. Returns a report carrying its own SHA-256, the tool version, the timestamp, and a per-file content digest — without storing the content.
curl -s -X POST https://wanhetools.top/api/v1/evidence-report \
-H "Content-Type: application/json" \
-d '{"client":"Example Co","files":[
{"file_base64":"'"$(base64 -w0 a.jpg)"'","filename":"a.jpg"},
{"file_base64":"'"$(base64 -w0 b.png)"'","filename":"b.png"}]}'
{
"ok": true,
"report_sha256": "c75fd5b7…",
"summary": { "files_checked": 2, "level_complete": 1,
"level_partial": 0, "level_none": 1, "errors": 0 },
"note": "Report stored server-side. Content is not retained; only SHA-256 digests are recorded."
}
Max 50 files per report, 6 MB each. File content is not retained — only digests — which keeps the service outside the scope of "collecting more personal information than necessary" that several of these statutes care about.
Per-call metered access uses the standard 402 handshake. There is no signup and no API key. Call the metered resource without credentials and you get a bill:
curl -i -X POST https://wanhetools.top/api/a2m/demo/a2m/resource \
-H "Content-Type: application/json" \
-d '{"text":"待检内容","check":["ai_label","ad_law"]}'
HTTP/1.1 402 Payment Required
payment-needed: eyJwcm90b2NvbCI6IHsib3V0X3RyYWRlX25vIjogIk9SREVS… (base64)
{
"code": "Payment-Needed",
"message": "请先支付 (通道未开通,暂不可付) CNY 以访问资源",
"out_trade_no": "ORDER_1791592566364_ec5c07db10ba",
"amount": "(通道未开通,暂不可付)",
"currency": "CNY",
"goods_name": "AI 内容合规检查"
}
The payment-needed header decodes to the same manifest plus two fields worth
knowing about:
pay_before — the bill expires. In practice this has been a 30-minute window,
so do not fetch a quote and pay an hour later.seller_signature — the seller signs the manifest, so a tampered amount or
order number can be detected.After payment, retry the same request with the proof attached:
curl -s -X POST https://wanhetools.top/api/a2m/demo/a2m/resource \
-H "Content-Type: application/json" \
-H "Payment-Proof: <proof>" \
-d '{"text":"待检内容","check":["ai_label","ad_law"]}'
A request without valid proof is rejected with a fresh 402 and is not charged — repeated unauthenticated calls generate new bills, they do not generate charges.
If your client supports Skills, install one instead of writing HTTP calls:
| Free tier | 60 requests / minute / IP, no key, no account |
|---|---|
| Statefulness | Stateless. Content is not retained; evidence reports record SHA-256 digests only. |
| Evidence report | Max 50 files, 6 MB each, stored server-side as JSON + HTML |
| Not provided | Legal advice. Certification. Truthfulness verification. Signature validation of C2PA manifests. |
If you are deciding whether to depend on this, read /status.json first. It reports daemon health, the audit-ledger entry count and hash-chain integrity, the coverage list, five known limitations, and an explicit list of what is not published. A status page that only reports good news is not a status page.
Wanhe AI Tools · Home ·
OpenAPI spec ·
SB 1000 field guide ·
Provenance fields ·
Partners ·
Privacy
Technical documentation. Not legal advice.