Use cases
Where it fits.
The same request works everywhere: send the image, get a level and a verdict against your policy. These guides show the wiring for the stacks we see most, with the level that usually makes sense as the default.
Nudity filter for Discord bots
Add image and GIF moderation to a discord.js or Pycord bot with one request per attachment, using the same policy engine as SfwBot.
Read the guide →Nudity filter for Telegram bots
Moderate photos and GIFs in Telegram groups with python-telegram-bot and the sfwapi package.
Read the guide →Moderating user uploads
Check avatars, posts and marketplace photos at upload time with a level-based policy and a review queue for the grey zone.
Read the guide →Filtering AI image generator output
Score generated images before showing them, with an art-aware policy, from a ComfyUI or Diffusers pipeline.
Read the guide →