Pro

API

使用 Bearer dc_ 密钥为图片、文本和视频打分。

创建密钥 查看方案

基础 URL

https://dotcheck-server-c221c1f32c68.herokuapp.com

鉴权

Authorization: Bearer dc_…

在 Check 中用 Google 创建与吊销密钥。密钥不会出现在本页。

接口

图片

POST /analyze-image

Body {"image_urls":["https://…"]} (HTTPS or data URLs). Response: probability 0–1.

curl -X POST "https://dotcheck-server-c221c1f32c68.herokuapp.com/analyze-image" \
 -H "Authorization: Bearer dc_live_…" \
 -H "Content-Type: application/json" \
 -d '{"image_urls":["https://example.com/photo.jpg"]}'

文本

POST /analyze-text

Body {"texts":["…"]}. English, Spanish, Portuguese, French, Italian, German, Dutch. Other languages are not scored.

curl -X POST "https://dotcheck-server-c221c1f32c68.herokuapp.com/analyze-text" \
 -H "Authorization: Bearer dc_live_…" \
 -H "Content-Type: application/json" \
 -d '{"texts":["Sample paragraph to score."]}'

视频

POST /analyze-video

Body frames — up to three image data URLs. Response includes aggregated probability.

curl -X POST "https://dotcheck-server-c221c1f32c68.herokuapp.com/analyze-video" \
 -H "Authorization: Bearer dc_live_…" \
 -H "Content-Type: application/json" \
 -d '{"video_url":"https://example.com/clip.mp4","frames":["data:image/jpeg;base64,…"]}'

错误

401
缺少或已吊销的密钥
403
非 Pro,或密钥被用于密钥管理
429
已达每日分析额度
503
用量存储或推理不可用(失败关闭)

限额

  • 共享 Pro 合理使用额度(每天最多 30,000 次分析)。
  • 每个账户最多 5 个有效密钥。
  • 密钥管理保留在 Google 登录的 Check。