跳轉到主要內容
POST
/
v1
/
moderations
curl https://qingbo.dev/v1/moderations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "需要审核的文本内容"
  }'
同步介面 — 偵測文字是否包含違規內容。OpenAI 相容格式,參數直接透傳。
curl https://qingbo.dev/v1/moderations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "需要审核的文本内容"
  }'

請求參數

input
string or array
必填
要審核的文字內容,支援字串或字串陣列