image-prompt-guard

Lightweight NSFW prompt filter for text-to-image AI services. Rule-based detection with keyword, phrase combination, and context scoring.


Keywords
nsfw, prompt, filter, moderation, text-to-image, ai, safety, profanity, content-filter, image-generation, stable-diffusion, sdxl, flux, midjourney, dall-e, dalle, comfyui, automatic1111, diffusion, replicate, huggingface, prompt-guard, content-moderation, nsfw-filter, nsfw-detection
License
MIT
Install
npm install image-prompt-guard@0.1.0