Perspective
NLP API,返回文本具有攻击性、淫秽、侮辱性或威胁性的概率
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 机器学习
- 文档 / URL
- https://perspectiveapi.com
简介
Perspective 提供毒性概率评分——基于密钥(请求需要真实 GCP 项目;伪造项目返回 404,已实测)。
快速开始
需要有效 GCP API 密钥:
curl -X POST "https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":{"text":"hello"},"requestedAttributes":{"TOXICITY":{}}}'
认证方式
- 在 perspectiveapi.com 注册 → GCP API 密钥。
- 伪造密钥/项目 → 404(已实测)。
速率限制与注意事项
- 免费层带限额(看文档)。
- 毒性/下流/侮辱/威胁评分。
常见问题
Perspective 免费吗? 免费层带限额;更多需要付费。
为什么 404? 伪造密钥返回 404(已实测)——请使用真实 GCP 密钥。
认证风格是什么? GCP API 密钥查询参数。
机器学习 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AI Economics Tools Token cost, LLM energy, agent-hour and Proof-Adjusted Autonomy calculators by Michał Piszczek | No auth | Yes | Yes | ↗ |
| AI For Thai Free Various Thai AI API | API Key | Yes | Yes | ↗ |
| BRAINIALL PT-BR and Spanish audio transcription with diarization and SRT/VTT | API Key | Yes | Yes | ↗ |
| Clarifai Computer Vision | OAuth | Yes | Unknown | ↗ |
| Cloudmersive Image captioning, face recognition, NSFW classification | API Key | Yes | Yes | ↗ |