# Flat-price image moderation API on an open model

> Project brief for Claude Code from NixInc Ideas: https://nixinc.co/ideas/2026-10-09-flat-price-image-moderation-api-on
> Scored 5.3/10 on 9 Oct 2026, verdict WATCH. Prices are as of the dates shown.

## What we're building
Small UGC apps, forums, and marketplaces must filter NSFW uploads. The incumbent APIs meter every operation, so costs are unpredictable for small operators.

## Who pays
Operators of small UGC apps, forums, and marketplaces.

## What they already pay
- Sightengine, Starter: $29/mo (as of 9 Oct 2026)
- Sightengine, Starter, per extra operation: $0.002 (as of 9 Oct 2026)
- Sightengine, Pro: $99/mo (as of 9 Oct 2026)
- AWS Rekognition, first million images: $0.001/request (as of 9 Oct 2026)

## Milestone 0: the 72-hour test, before any code
Benchmark the model on 500 labeled edge-case images against Sightengine free tier. Offer 15 UGC founders a $29 pilot.

- Pass line: Match or beat Sightengine on edge cases, plus 3 replies and 1 paid pilot.
- Stop rule: Kill if false-positive rate on edge cases is worse than Sightengine, or 0 of 15 founders reply.

Do not start milestone 1 until the pass line is met.

## Milestone 1: the smallest version worth shipping
One HTTP endpoint that accepts an image and returns an NSFW verdict from a hosted open model, a benchmark page comparing its error rates against Sightengine on 500 labeled edge-case images, and a single $29 flat monthly plan.

## Skip in v1
No dashboard, no video or text moderation, no custom categories, no gray-area tuning in v1.

## Needs
GPU hosting for the open model, a labeled edge-case image set, the Sightengine free tier for benchmarking, and Stripe for billing.

## How to work in this repo
1. Plan before you edit: say which files change, the smallest change that works and how you will check it, then wait for a yes.
2. One task at a time, small enough to read in one diff.
3. After each change, run the checks, then say what changed, what you tested and what still needs a person to look at.
4. Check it like a first-time customer: run the real thing and try the empty, error and success paths.
5. Keep secrets out of the repo and out of chat. Environment files stay local.
6. Ask before installing dependencies, touching payments or sign-in, or deleting files.
7. Do not build anything listed under "Skip in v1".
