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.

Next.js

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.

Read the guide →
Node.js

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.

Read the guide →
Python

Content Moderation in Python

Add content moderation to FastAPI, Django, and Flask apps. Works with async and sync code, and any Python ML pipeline.

Read the guide →
Express

Content Moderation Middleware for Express

Add a moderation middleware to your Express app. Block unsafe requests before they reach your route handlers.

Read the guide →
Supabase

Content Moderation with Supabase

Add content moderation to a Supabase project. Run checks from Edge Functions, Database Webhooks, or Row-Level Security policies.

Read the guide →
Convex

Content Moderation with Convex

Add content moderation to a Convex app. Run checks inside mutations and actions, with results persisted in the Convex database.

Read the guide →
AI Safety

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.

Read the guide →
AI Safety

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.

Read the guide →
AI Safety

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.

Read the guide →
React

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.

Read the guide →
Performance

Real-Time Moderation Latency Guide

How to keep moderation under 500ms in production. Streaming endpoints, provider pre-warming, and async persistence patterns.

Read the guide →
Compliance

Content Moderation for COPPA Compliance

Build COPPA-compliant moderation for under-13 users. Stricter policies, audit trails, and parental review patterns.

Read the guide →