← Back to Portfolio

Brand Consistency Checker — AI-Powered Visual QC for Brand Guidelines

Javascript Javascript
n8n n8n
AI AI

What It Does

This n8n workflow acts as an automated brand guardian — it validates every AI-generated image against your brand guidelines using GPT-4o vision. Checks color palette, logo placement, typography, composition, style consistency, and AI artifacts. Flags off-brand assets before they reach the client.

Key Features

  • Color Palette Check — Extracts dominant colors from the image and compares against approved brand palette with Delta-E tolerance thresholds
  • Logo Compliance — Detects logo presence, size ratio, clear space, and positioning against brand zone rules
  • Typography Audit — Checks for on-brand font usage, sizing hierarchy, contrast ratio, and readability
  • Composition Analysis — Validates product positioning, white space balance, visual hierarchy, and safe zones
  • Style Consistency — GPT-4o vision compares mood, lighting, and aesthetic against reference images
  • AI Artifact Detection — Flags common AI generation artifacts: distorted text, extra fingers, unnatural reflections, inconsistent shadows
  • Weighted Brand Score — Calculates overall brand alignment score (0–100) with detailed per-category breakdown

What Gets Checked

  • Color Palette (20%) — Dominant colors match brand palette within Delta-E tolerance
  • Logo Compliance (15%) — Correct placement, size, clear space, version
  • Typography (10%) — Font family, size hierarchy, contrast ratio, alignment
  • Composition (15%) — Product placement, rule of thirds, visual balance, safe zones
  • Style Match (20%) — Mood, lighting, texture, aesthetic vs. reference images
  • AI Artifacts (10%) — Distorted elements, unnatural features, rendering errors
  • Technical Quality (10%) — Resolution, sharpness, noise, color banding

How It Works

Webhook receives image URL and brand guide parameters → Downloads image and extracts dominant colors with ImageMagick → GPT-4o vision analyzes the image against brand guidelines → Weighted scoring calculates overall brand alignment → Results logged to Google Sheets → Detailed report posted to Slack with pass/fail verdict and specific issues to fix.

Tech Stack

n8n workflow automation, OpenAI GPT-4o Vision, ImageMagick (color extraction), Google Sheets API, Slack API, webhook-driven architecture.

View on GitHub →