AI/ML API vs Perspective
Both are solid Machine Learning APIs. Choose based on your specific requirements.
Perspective
NLP API to return probability that if text is toxic, obscene, insulting or threatening
AI/ML API
- HTTPS supported
- CORS enabled for frontend use
- Requires Yes authentication
Perspective
- Simple API key authentication
- HTTPS supported
| Feature | AI/ML API | Perspective |
|---|---|---|
| Authentication | Yes | apiKey |
| HTTPS | Yes | Yes |
| CORS | Yes | Unknown |
When to use which?
AI/ML API works directly from the browser with CORS enabled, making it better for frontend-only apps.