AI Brand Control - Installation Guide

AI Brand Control - Installation Guide

1. Global Overview

1.1 Context and Problem Statement

In a Digital Asset Management (DAM) system, maintaining brand consistency across thousands of visual assets is a critical challenge. Organizations invest significant resources in creating brand guidelines that define visual identity through specific criteria such as:

  • Color palettes and schemes

  • Typography and font usage

  • Logo placement and sizing

  • Image composition and layout

  • Emotional tone and style

  • Lighting and contrast specifications

However, manual validation of assets against these guidelines is:

  • Time-consuming: Each asset requires expert review

  • Inconsistent: Human validation varies between reviewers

  • Not scalable: Large asset volumes make systematic validation impractical

  • Error-prone: Manual processes miss subtle non-compliance issues

  • Reactive: Problems are often detected late in the workflow

Brand Control addresses these challenges by automating the evaluation of assets against brand guidelines using AI-powered analysis.

1.2 Feature Objectives

Brand Control provides an automated system for evaluating and maintaining brand compliance of visual assets:

Primary Objectives

  1. Automated Asset Scoring

    • Evaluate images against brand guidelines automatically

    • Generate compliance scores from 0-100

    • Provide detailed reports with criterion-level feedback

  2. AI-Powered Criteria Generation

    • Automatically extract brand criteria from reference materials

    • Analyze existing brand assets (images, documents, websites)

    • Generate structured evaluation criteria using Gemini AI

  3. Proactive Compliance Detection

    • Identify non-compliant assets during import

    • Trigger automatic scoring on asset creation

    • Detect when scores become obsolete due to guideline changes

  4. Actionable Insights

    • Provide specific observations for failed criteria

    • Generate correction instructions

    • Support AI-powered image correction and generation

  5. Traceability and Auditability

    • Track scoring history and metadata

    • Record prompt versions used for scoring

    • Maintain asset hash for change detection

Key Benefits

  • Efficiency: Reduce manual validation time from hours to seconds

  • Consistency: Apply uniform evaluation criteria across all assets

  • Scalability: Handle large asset volumes automatically

  • Quality: Catch subtle compliance issues early

  • Guidance: Provide actionable feedback for corrections

1.3 Prerequisites and Configuration

System Requirements

Mandatory Components:

  1. Brand Control Service Activation

    • The BrandControlService must be registered in the ServiceManager

    • WXM_BO_Options.AssetScoring : must be set to true

      • Configuration option enableAssetScoring() must return true in BoOptionsManager

    • Check activation status: BrandControlService.isConfigured()

  2. AWS Cloud Service Configuration

    • AwsCloudService must be configured and operational

    • MediaCloud integration required for Gemini API access

    • Used for scoring requests and criteria generation

  3. MediaCloud (MC2) Player Manager Configuration

    • Access the MC2 Player Manager interface

    • Gemini API Key (Mandatory):

      • The API Key field must be configured with a valid Gemini API key

      • Default value: Empty (must be filled manually)

      • Without a valid API key, all AI operations (scoring, criteria generation) will fail

    • AI Model Configuration (Optional):

      • Default models are pre-configured with optimal settings for Brand Control operations

      • Models can be customized for specific use cases:

        • Scoring model: Used for asset evaluation

        • Criteria generation model: Used for extracting criteria from references

        • Image generation models: Used for GenAI operations

      • Recommendation: Keep default models unless specific requirements dictate otherwise

  4. Verification:

    • Test the configuration by attempting a simple scoring operation

    • Check logs for API authentication errors if operations fail

  5. Prompt Service Setup

    • PromptService must be configured with required prompts

    • Required prompt codes:

      • brandcontrol_score_asset: Main scoring prompt

      • brandcontrol_criteria_generation: Criteria generation prompt

      • brandcontrol_images_summary: Image reference analysis

      • brandcontrol_documents_summary: Document reference analysis

      • brandcontrol_websites_summary: Website reference analysis

  6. Object Structure Configuration

    • brandguideline object type must exist with fields:

      • name (string): Guideline name

      • version (string): Version number

      • threshold (integer): Minimum compliance score (0-100)

      • logo (binary): Optional logo file

      • criteria (children): Brand criteria collection

      • references (children): Brand references collection

    • brandcriterion object type must exist with fields:

      • name, category, label, description (strings)

      • importance (string): CRITICAL, HIGH, or LOW

      • weight (integer): 0-100

      • styletoken, avoidtoken (strings): Optional AI tokens

      • source (string): Optional reference source

    • brandreference object type must exist with fields:

      • name (string): Reference name

      • type (string): image, document, or website

  7. GenAI Temporary Image Structure (Mandatory for AI Generation Features)

    • A new object structure with the tag genai_temp_image must be created

    • This structure is used to store AI-generated images and enable automatic scoring

    • Required fields:

      • binary (blob): The generated or corrected image file

      • brandguideline (child): Link to the brand guideline used for generation

      • brandscore (integer): Compliance score (0-100, -1=in_progress, -2=error, null=not_scored)

      • brandscoredate (date): Last scoring timestamp

      • brandscorereport (text/json): Detailed scoring report with metadata

      •  

    • Purpose:

      • Temporary storage for images generated by GenAI operations:

        • Generate compliant image from scratch (/images/compliance/generate)

        • Generate corrected version of non-compliant asset (/images/compliance/refine)

      • Enables automatic scoring via TempItemScoringBusinessService trigger

      • Allows comparison between original asset score and generated image score

      • Provides audit trail for AI-generated content

    • Lifecycle:

      1. GenAI operation creates temp image object with task ID as name

      2. Object creation triggers automatic scoring via business service

      3. Score stored in same structure (brandscore, brandscorereport, etc.)

      4. User reviews generated image and score

      5. User can convert to permanent asset or discard

    • Note: Without this structure, GenAI generation endpoints will fail to create output objects and automatic scoring will not be triggered.

    • Asset Object Extensions (for Scoring Support)

      • Existing asset object types (image, video, document, etc.) must be extended with:

        • brandguideline (child): Link to the brand guideline used for scoring

        • brandscore (integer): Compliance score (0-100, -1=in_progress, -2=error, null=not_scored)

        • brandscoredate (date): Timestamp of last scoring operation

        • brandscorereport (text/json): Detailed JSON report with metadata and per-criterion scores

      • These fields enable the core scoring functionality and score obsolescence detection

  8. Permissions:

As of 2026.4, brand guidelines can be managed directly from front-end screens (previously back-office/API only). Permission sets for brandguideline, brandcriterion, and brandreference have been implemented accordingly, delivered on the three built-in role templates:

Role

Role template

changestatus

insert

view

update

delete

Role

Role template

changestatus

insert

view

update

delete

Administrator

pkgroletemplate/997

$anyaction/$anystatus/$anyowner

$anycreation

$anystatus/$anyowner

$anystatus/$anyowner

$anystatus/$anyowner

Contributor

pkgroletemplate/998

$anyaction/$anystatus/$selfowner

$anycreation

$anystatus/$anyowner

$anystatus/$selfowner

$anystatus/$selfowner

Reader

pkgroletemplate/999

not granted

$never

$anystatus/$anyowner

not granted

not granted

    • Notes:

      • Unlike usergroup, guidelines aren't a team-collaborative structure (no team/viewers fields), so Contributor's rights are scoped to $selfowner only — there's no $teammember equivalent.

      • View is open to all three roles ($anystatus/$anyowner) — every role can see guidelines and their compliance criteria; only Administrator and Contributor can create/edit/delete/changestatus them.

      • Reader's insert is an explicit $never (hard deny), not just an empty permission set — distinguishing "actively forbidden" from "not granted."