Brand Analyzer: AI Brand Identity Profiler
Analyze any brand to generate a comprehensive brand identity JSON profile using Gemini Flash with Google Search grounding.
Overview
Brand Analyzer creates structured brand identity profiles by:
- 1. Researching the brand via Google Search (official data, campaigns, visual identity)
- Analyzing brand behavior, visual patterns, photography style, tone of voice
- Generating a complete JSON profile following the standard template
- Storing the profile for reuse across all creative workflows
When to Use
- - User asks to "analyze a brand" or "create a brand profile"
- Before running Ad-Ready when the brand isn't in the catalog
- When the user mentions a brand that doesn't have a profile yet
- To update/refresh an existing brand profile
Quick Commands
Analyze a brand and save to file
CODEBLOCK0
Analyze and auto-save to Ad-Ready brands catalog
CODEBLOCK1
The --auto-save flag automatically saves to INLINECODE1
⚠️ MANDATORY: Push to GitHub After Every New Brand Profile
Every time a new brand profile is generated and saved, it MUST be pushed to GitHub immediately. This is non-optional — the ComfyDeploy deployment pulls brand profiles from the repo.
CODEBLOCK2
Do NOT skip this step. The ad generation pipeline on ComfyDeploy needs the profile in the repo to work correctly.
Print to stdout
CODEBLOCK3
Inputs
| Input | Required | Description |
|---|
| INLINECODE2 | ✅ | Brand name to analyze |
| INLINECODE3 |
Optional | Output file path (default: stdout) |
|
--auto-save | Optional | Auto-save to Ad-Ready brands catalog |
|
--api-key | Optional | Gemini API key (or set
GEMINI_API_KEY env var) |
Output Format
The generated JSON follows the standard brand identity template used by Ad-Ready:
CODEBLOCK4
Integration with Other Workflows
Ad-Ready
Brand profiles are automatically available as
brand_profile options when generating ads.
Morpheus Fashion Design
Brand visual identity (colors, photography style, tone) can inform Morpheus campaigns.
Custom Workflows
Load any brand profile JSON to extract visual identity, tone of voice, or campaign guidelines for any creative task.
Analysis Methodology
The analyzer follows a 3-phase approach:
Phase 1: Official Research (via Google Search)
- - Brand website, corporate pages, official communications
- Locks canonical data: name, founding, positioning, vision, mission, tagline
Phase 2: Campaign Research (via Google Search)
- - Google Images and Pinterest for advertising campaigns
- Identifies 10+ distinct campaigns
- Treats them as analytical reference material
Phase 3: Deductive Visual Analysis
- - Cross-sectional analysis of visual patterns
- Identifies recurring photography style, color systems, typography
- Fills visual identity fields not covered by official data
API Key
Uses Gemini API. Set via:
- -
GEMINI_API_KEY environment variable - INLINECODE9 flag
品牌分析器:AI品牌身份档案生成器
使用具备Google搜索能力的Gemini Flash分析任意品牌,生成全面的品牌身份JSON档案。
概述
品牌分析器通过以下步骤创建结构化的品牌身份档案:
- 1. 调研品牌(通过Google搜索获取官方数据、广告活动、视觉形象)
- 分析品牌行为、视觉模式、摄影风格、语调
- 生成符合标准模板的完整JSON档案
- 存储档案以供所有创意工作流重复使用
使用场景
- - 用户要求分析品牌或创建品牌档案
- 在运行Ad-Ready时品牌尚未收录在目录中
- 用户提及尚未建立档案的品牌
- 更新/刷新现有品牌档案
快速命令
分析品牌并保存至文件
bash
GEMINI
APIKEY=$KEY uv run {baseDir}/scripts/analyze.py \
--brand 品牌名称 \
--output ./brands/品牌名称.json
分析并自动保存至Ad-Ready品牌目录
bash
GEMINI
APIKEY=$KEY uv run {baseDir}/scripts/analyze.py \
--brand Heredero Gin \
--auto-save
--auto-save标志会自动保存至~/clawd/ad-ready/configs/Brands/{品牌名称}.json
⚠️ 强制要求:每次创建新品牌档案后必须推送至GitHub
每次生成并保存新的品牌档案后,必须立即推送至GitHub。 此为强制性操作——ComfyDeploy部署从该仓库拉取品牌档案。
bash
cd ~/clawd/ad-ready
git add configs/Brands/{品牌名称}.json
git commit -m 添加品牌档案:{品牌名称}
git push origin main
请勿跳过此步骤。ComfyDeploy上的广告生成管道需要仓库中的档案才能正常运行。
输出至标准输出
bash
GEMINI
APIKEY=$KEY uv run {baseDir}/scripts/analyze.py --brand Nike
输入参数
| 输入参数 | 必填 | 说明 |
|---|
| --brand | ✅ | 待分析的品牌名称 |
| --output |
可选 | 输出文件路径(默认:标准输出) |
| --auto-save | 可选 | 自动保存至Ad-Ready品牌目录 |
| --api-key | 可选 | Gemini API密钥(或设置GEMINI
APIKEY环境变量) |
输出格式
生成的JSON遵循Ad-Ready使用的标准品牌身份模板:
json
{
brandinfo: { name, tagline, category, positioning, vision, mission, originstory },
brandvalues: { corevalues, brandpromise, differentiators, nonnegotiables },
target_audience: { demographics, psychographics },
toneofvoice: { personalitytraits, communicationstyle, language_register, ... },
visualidentity: { logo, colorsystem, typography, layout_principles },
photography: { style, technical },
campaignguidelines: { visualtone, modelcasting, productpresentation, ... },
brandbehavior: { dodont, immutability },
channel_expression: { retail, digital, print },
compliance: { ... }
}
与其他工作流的集成
Ad-Ready
生成广告时,品牌档案自动作为brand_profile选项提供。
Morpheus时装设计
品牌视觉形象(颜色、摄影风格、语调)可为Morpheus广告活动提供参考。
自定义工作流
加载任意品牌档案JSON,提取视觉形象、语调或广告活动指南,用于任何创意任务。
分析方法论
分析器采用三阶段方法:
第一阶段:官方调研(通过Google搜索)
- - 品牌网站、企业页面、官方传播内容
- 锁定权威数据:名称、创立信息、定位、愿景、使命、标语
第二阶段:广告活动调研(通过Google搜索)
- - 通过Google图片和Pinterest搜索广告活动
- 识别10个以上不同的广告活动
- 将其作为分析参考材料
第三阶段:演绎式视觉分析
- - 视觉模式的横截面分析
- 识别重复出现的摄影风格、色彩系统、字体排印
- 补充官方数据未涵盖的视觉形象字段
API密钥
使用Gemini API。通过以下方式设置:
- - GEMINIAPIKEY环境变量
- --api-key标志