Back to Templates
This workflow triggers on new ImageKit uploads, downloads the image, uses OpenRouter (OpenAI GPT-4o) vision to run an NSFW check, and automatically unpublishes flagged assets in ImageKit so they are not served via your CDN.
file.created event for a newly uploaded asset.is_nsfw, confidence, and reason).is_nsfw is true, updates the ImageKit file to set it as unpublished.openai/gpt-4o model.file.created events and ensure new uploads default to published if you want this workflow to act as the gatekeeper.