safeframe is a high-performance modular API platform. Developers use a single universal API key to authenticate across specialized image moderation, super-resolution upscaling, and text safety microservices.
Every request across all services requires your API key passed in the X-API-Key HTTP header:
X-API-Key: sk_live_your_universal_api_keyA single key authenticates against all services you have active subscriptions for. You can generate multiple keys for staging and production in your dashboard.
Visual content moderation & nudity detection API with coordinates.
Super-resolution, face restoration, and photo enhancement API up to 8x.
Real-time toxicity, hate speech, and profanity detection for user text.
High-throughput conversational AI assistant with streaming and system prompt controls.
| HTTP Status | Code | Description |
|---|---|---|
| 400 Bad Request | invalid_payload | Malformed JSON body or missing required fields. |
| 401 Unauthorized | missing_api_key | X-API-Key header was not supplied in the request. |
| 401 Unauthorized | invalid_api_key | Provided API key does not exist or has an invalid signature. |
| 403 Forbidden | service_not_subscribed | Your API key does not have an active subscription for this service. |
| 403 Forbidden | api_key_revoked | API key status is set to 'revoked' or 'expired'. |
| 429 Too Many Requests | rate_limit_exceeded | Per-minute or monthly request limit exceeded. |
| 500 Internal Error | inference_error | Server error occurred during neural model processing. |