Guides
Pattern recipes for production moderation
Framework integrations and pattern guides for the moderation problems developers actually run into. Every guide ships with working code and a tuned policy.
Content Moderation in Next.js
Add content moderation to a Next.js App Router project in minutes. Server-side API routes, React Server Components, and edge runtime examples.
Content Moderation in Node.js
Add content moderation to any Node.js service in minutes. Works with Express, Fastify, NestJS, Hono, and any HTTP framework.
Content Moderation in Python
Add content moderation to FastAPI, Django, and Flask apps. Works with async and sync code, and any Python ML pipeline.
Content Moderation Middleware for Express
Add a moderation middleware to your Express app. Block unsafe requests before they reach your route handlers.
Content Moderation with Supabase
Add content moderation to a Supabase project. Run checks from Edge Functions, Database Webhooks, or Row-Level Security policies.
Content Moderation with Convex
Add content moderation to a Convex app. Run checks inside mutations and actions, with results persisted in the Convex database.
How to Detect Prompt Injection
Catch prompt injection attempts before they reach your LLM. A prompt-injection policy plus pre-screening pattern that blocks both novel and known attacks.
How to Moderate AI-Generated Images
Detect and moderate AI-generated images for NSFW content, deepfakes, and CSAM signals. One API for upload-time and post-generation checks.
How to Moderate AI-Generated Text
Block unsafe LLM completions before showing them to users. Pre-screen prompts, post-screen outputs, and audit every blocked response.
How to Block NSFW Content in React
Block NSFW images and text in your React app. Server-side moderation pattern that keeps your API key safe and your UI fast.
Real-Time Moderation Latency Guide
How to keep moderation under 500ms in production. Streaming endpoints, provider pre-warming, and async persistence patterns.
Content Moderation for COPPA Compliance
Build COPPA-compliant moderation for under-13 users. Stricter policies, audit trails, and parental review patterns.