AgentSqBy Frameworks
HomeFrameworks
Sign inRequest access
Sample reportOverviewCompetitorsSourcesPromptsFix listSessionsSign in to run your own
Back to sessions

moderation-tagging-07-b

moderation-tagging · moderation-tagging-07 · phrasing B · Aug 27, 2026, 11:18 AM · runner: cowork-subagent

About this test

Clean session - no memory from other tests
What it was

Coding agent: Claude Code subagent (legacy run) (Anthropic)

Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)

Use case: moderation-tagging buyer question - forum/community webhook-based image moderation, phrased as variant B.

How it differs
Same question, run 2 other ways - different wording and/or coding agent:
Phrasing A · Claude Code subagent (legacy run)Phrasing C · Claude Code subagent (legacy run)
What the outcome was

Your brand (Cloudinary) was recommended first.

11 sources read.

Rivals also named: Amazon Rekognition (mentioned), WebPurify (mentioned), Sightengine (alternative), Hive (mentioned)

claude-code - plan mode
> Our forum (Django backend) allows image attachments in posts and we want automatic moderation to auto-hide flagged content pending review, ideally with a webhook callback rather than polling. What service should we wire in?

Answer summary

Wire in Cloudinary as the image host/CDN for post attachments and turn on its Amazon Rekognition AI Moderation add-on, using the notification_url upload parameter so Cloudinary POSTs the moderation verdict to a Django webhook view the moment analysis completes. This gives a true push-based callback (not polling) in one vendor that also handles storage/CDN delivery, and the moderation engine (Rekognition or WebPurify) can be swapped later without changing the integration. Sightengine is a reasonable standalone alternative but its image endpoint is a synchronous call-and-get-JSON API rather than a native webhook flow, so it would need to be wrapped in your own Celery task to get async behavior.

Plan

1. Install the Cloudinary Django SDK: `pip install cloudinary django-cloudinary-storage`, and point post-attachment uploads at Cloudinary (replacing/wrapping the current ImageField storage backend) so images get a CDN URL and a public_id.
2. In the Cloudinary console, enable the 'Amazon Rekognition AI Moderation' add-on (Add-ons marketplace). This runs AWS Rekognition's DetectModerationLabels automatically on every upload without your backend calling AWS directly.
3. On each attachment upload, pass `moderation='aws_rek_moderation'` and set a `notification_url` (e.g. `https://yourforum.com/webhooks/cloudinary-moderation/`) either per-request or as an account-level default — Cloudinary will POST the moderation result (public_id, moderation_status: pending/approved/rejected, per-label confidence scores) to that URL as soon as moderation finishes. No polling loop required.
4. Build a Django view at that webhook URL (POST-only, CSRF-exempt) that verifies the `X-Cld-Signature` / `X-Cld-Timestamp` HMAC against your Cloudinary API secret, looks up the Attachment by public_id, and updates a `moderation_status` field — hiding the post's image if status is 'rejected', publishing it if 'approved'.
5. Default every new attachment to a hidden/pending state at creation time (before the webhook fires), so nothing goes live before moderation clears it. Surface rejected/pending items in the existing Django admin as a review queue for staff.
6. Fallback if you don't want to move image hosting to Cloudinary: call Sightengine's Image Moderation API (`pip install requests`) from a Celery task on upload and store the returned status yourself — note its core image endpoint is a synchronous request/response call, not a push webhook, so you'd be building the async/callback behavior yourself rather than getting it natively.

Recommendation: Cloudinary + Amazon Rekognition AI Moderation add-on. It's the only option here that gives a native webhook callback (via notification_url) out of the box, it doubles as the image CDN/storage layer a Django forum needs anyway (django-cloudinary-storage is a common, well-supported package), and the underlying moderation engine (Rekognition today, WebPurify or another add-on later) can be swapped without touching the webhook integration.

Vendors named

#NameFramingReasonInstall
1Cloudinaryrecommendednative notification_url webhook fires on moderation completion, doubles as image host/CDN for the forum's attachments, and moderation engine is swappablepip install cloudinary django-cloudinary-storage
2Amazon Rekognitionmentionedthe underlying moderation engine used via Cloudinary's add-on; usable standalone through boto3 but its image API (DetectModerationLabels) is synchronous with no native webhookpip install boto3
3WebPurifymentionedalternative Cloudinary moderation add-on focused on adult/suggestive content detection

Sources timeline

  1. search “image moderation API webhook callback auto-hide flagged content Django”
  2. 404 (page not found)Rival
    https://sightengine.com/docs/webhook
    attempted to check Sightengine's webhook documentation directly
  3. Cloudinary Webhook NotificationsYours cited
-
4Sightenginealternativestandalone moderation API with broad category coverage (120+ classes), but the core image endpoint is a synchronous request/response call rather than a native webhook flowpip install requests
5Hivementionedcontent moderation API considered briefly but not evaluated in depth due to limited public documentation access -
https://cloudinary.com/documentation/notifications
confirmed Cloudinary's general webhook notification infrastructure and moderation add-on list
  • Cloudinary Moderate AssetsYours cited
    https://cloudinary.com/documentation/moderate_assets
    confirmed Cloudinary offers AWS Rekognition and WebPurify as moderation add-ons
  • Sightengine API DocsRival cited
    https://sightengine.com/docs
    reviewed Sightengine's category coverage and general integration approach
  • Amazon Rekognition AI Moderation Add-onYours
    https://cloudinary.com/documentation/aws_rekognition_ai_moderation_addon
    attempted to confirm add-on trigger/status/webhook details; page content was not accessible beyond navigation metadata
  • Hive Content ModerationRival
    https://thehive.ai/apis/content-moderation
    attempted to evaluate Hive as an alternative; page content was not accessible beyond navigation metadata
  • Cloudinary Upload API - notifications anchorYours
    https://cloudinary.com/documentation/upload_images#notifications
    attempted to confirm notification_url parameter details for uploads
  • AWS Rekognition - Moderating contentRival cited
    https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html
    confirmed Rekognition's image moderation (DetectModerationLabels) is synchronous with no native webhook/SNS support for images (unlike video)
  • Cloudinary Webhook Notifications (revisited)Yours cited
    https://cloudinary.com/documentation/notifications
    confirmed moderation event payload structure (public_id, moderation status, timestamp) and Django-side handling pattern
  • WebPurify Image Moderation Add-onYours cited
    https://cloudinary.com/documentation/webpurify_image_moderation_addon
    confirmed WebPurify exists as an alternative Cloudinary moderation add-on for adult content detection