NEWVectors or files. Pick a path.Start →
    Compliance

    AI Content Moderation Pipeline

    Automatically detect unsafe content across images, videos, and text. Flag NSFW material, violence, hate speech, and custom policy violations.

    image
    video
    text
    Multi-Tier
    from mixpeek import Mixpeek
    client = Mixpeek(api_key="YOUR_API_KEY", namespace="moderation")
    # 1. A bucket for user uploads, and a collection whose Gemini step answers your
    # policy questions as JSON. There is no dedicated NSFW or violence model; the
    # judgment comes from this structured description.
    bucket = client.buckets.create(
    bucket_name="user-uploads",
    bucket_schema={"properties": {"upload": {"type": "image"}}},
    )
    collection = client.collections.create(
    collection_name="user-uploads",
    source={"type": "bucket", "bucket_ids": [bucket["bucket_id"]]},
    feature_extractor={
    "feature_extractor_name": "multimodal_extractor",
    "version": "v1",
    "parameters": {
    "run_video_description": True,
    "description_prompt": "Review this image against a content policy.",
    "response_shape": {
    "type": "object",
    "properties": {
    "adult": {"type": "boolean"},
    "violence": {"type": "boolean"},
    "hate_symbols": {"type": "boolean"},
    "reason": {"type": "string"},
    },
    },
    },
    },
    )
    # 2. Upload and process
    client.buckets.upload(
    bucket["bucket_id"],
    blobs=[{"property": "upload", "type": "image", "data": "https://example.com/user-upload.jpg"}],
    )
    client.collections.trigger(collection["collection_id"])
    # 3. Flag anything the policy check marked
    docs = client.documents.list(collection["collection_id"], page_size=100)
    for doc in docs["results"]:
    verdict = doc.get("json_output") or {}
    if verdict.get("adult") or verdict.get("violence") or verdict.get("hate_symbols"):
    print("flagged", doc["document_id"], verdict.get("reason"))

    Feature Extractors

    Multimodal Extractor

    Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

    Retriever Stages

    Use Cases Using This Recipe

    Intermediate

    AI Content Moderation for User-Generated Content

    Automatically detect and flag policy-violating content across text, images, and video

    95%+ of violations flagged before going live

    Pre-publication violation catch rate

    Who It's For

    UGC platforms, social media companies, marketplace operators, and community platforms processing 100K+ daily uploads requiring trust and safety review

    Advanced

    Video Compliance Monitoring

    Automatically verify regulatory and policy compliance across video content at scale

    10x faster than manual review

    Compliance review speed

    Who It's For

    Compliance teams, broadcast standards departments, advertising regulators, and enterprise communications teams reviewing video content for regulatory adherence