infographics

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Infographics

信息图

Overview

概述

Infographics are visual representations of information, data, or knowledge designed to present complex content quickly and clearly. This skill uses Nano Banana Pro AI for infographic generation with Gemini 3 Pro quality review and Perplexity Sonar for research.
How it works:
  • (Optional) Research phase: Gather accurate facts and statistics using Perplexity Sonar
  • Describe your infographic in natural language
  • Nano Banana Pro generates publication-quality infographics automatically
  • Gemini 3 Pro reviews quality against document-type thresholds
  • Smart iteration: Only regenerates if quality is below threshold
  • Professional-ready output in minutes
  • No design skills required
Quality Thresholds by Document Type:
Document TypeThresholdDescription
marketing8.5/10Marketing materials - must be compelling
report8.0/10Business reports - professional quality
presentation7.5/10Slides, talks - clear and engaging
social7.0/10Social media content
internal7.0/10Internal use
draft6.5/10Working drafts
default7.5/10General purpose
Simply describe what you want, and Nano Banana Pro creates it.
信息图是信息、数据或知识的可视化呈现,旨在快速清晰地展示复杂内容。本技能使用Nano Banana Pro AI生成信息图,并结合Gemini 3 Pro进行质量审核,以及Perplexity Sonar开展研究工作。
工作流程:
  • (可选)研究阶段:通过Perplexity Sonar收集准确的事实与统计数据
  • 用自然语言描述你的信息图需求
  • Nano Banana Pro自动生成达到出版级质量的信息图
  • Gemini 3 Pro依据文档类型阈值审核质量
  • 智能迭代:仅当质量低于阈值时才重新生成
  • 数分钟内即可获得专业级成品
  • 无需设计技能
按文档类型划分的质量阈值:
文档类型阈值说明
marketing8.5/10营销物料 - 需具备吸引力
report8.0/10商务报告 - 达到专业质量
presentation7.5/10幻灯片、演讲素材 - 清晰且引人入胜
social7.0/10社交媒体内容
internal7.0/10内部使用物料
draft6.5/10工作草稿
default7.5/10通用用途
只需描述你的需求,Nano Banana Pro就能为你生成信息图。

Quick Start

快速开始

Generate any infographic by simply describing it:
bash
undefined
只需描述需求即可生成任意信息图:
bash
undefined

Generate a list infographic (default threshold 7.5/10)

Generate a list infographic (default threshold 7.5/10)

python skills/infographics/scripts/generate_infographic.py
"5 benefits of regular exercise"
-o figures/exercise_benefits.png --type list
python skills/infographics/scripts/generate_infographic.py
"5 benefits of regular exercise"
-o figures/exercise_benefits.png --type list

Generate for marketing (highest threshold: 8.5/10)

Generate for marketing (highest threshold: 8.5/10)

python skills/infographics/scripts/generate_infographic.py
"Product features comparison"
-o figures/product_comparison.png --type comparison --doc-type marketing
python skills/infographics/scripts/generate_infographic.py
"Product features comparison"
-o figures/product_comparison.png --type comparison --doc-type marketing

Generate with corporate style

Generate with corporate style

python skills/infographics/scripts/generate_infographic.py
"Company milestones 2010-2025"
-o figures/timeline.png --type timeline --style corporate
python skills/infographics/scripts/generate_infographic.py
"Company milestones 2010-2025"
-o figures/timeline.png --type timeline --style corporate

Generate with colorblind-safe palette

Generate with colorblind-safe palette

python skills/infographics/scripts/generate_infographic.py
"Heart disease statistics worldwide"
-o figures/health_stats.png --type statistical --palette wong
python skills/infographics/scripts/generate_infographic.py
"Heart disease statistics worldwide"
-o figures/health_stats.png --type statistical --palette wong

Generate WITH RESEARCH for accurate, up-to-date data

Generate WITH RESEARCH for accurate, up-to-date data

python skills/infographics/scripts/generate_infographic.py
"Global AI market size and growth projections"
-o figures/ai_market.png --type statistical --research

**What happens behind the scenes:**
1. **(Optional) Research**: Perplexity Sonar gathers accurate facts, statistics, and data
2. **Generation 1**: Nano Banana Pro creates initial infographic following design best practices
3. **Review 1**: **Gemini 3 Pro** evaluates quality against document-type threshold
4. **Decision**: If quality >= threshold → **DONE** (no more iterations needed!)
5. **If below threshold**: Improved prompt based on critique, regenerate
6. **Repeat**: Until quality meets threshold OR max iterations reached

**Smart Iteration Benefits:**
- ✅ Saves API calls if first generation is good enough
- ✅ Higher quality standards for marketing materials
- ✅ Faster turnaround for drafts/internal use
- ✅ Appropriate quality for each use case

**Output**: Versioned images plus a detailed review log with quality scores, critiques, and early-stop information.
python skills/infographics/scripts/generate_infographic.py
"Global AI market size and growth projections"
-o figures/ai_market.png --type statistical --research

**幕后流程:**
1. (可选)**研究**:Perplexity Sonar收集准确的事实、统计数据与资料
2. **初次生成**:Nano Banana Pro遵循设计最佳实践创建初始信息图
3. **初次审核**:**Gemini 3 Pro**依据文档类型阈值评估质量
4. **决策**:若质量≥阈值 → **完成**(无需进一步迭代!)
5. **若低于阈值**:基于审核意见优化提示词,重新生成
6. **重复**:直到质量达标或达到最大迭代次数

**智能迭代优势:**
- ✅ 若初次生成质量达标,可节省API调用次数
- ✅ 为营销物料设定更高质量标准
- ✅ 草稿/内部物料可快速交付
- ✅ 为不同使用场景匹配合适的质量要求

**输出内容**:带版本号的图片,以及包含质量评分、审核意见和提前终止信息的详细审核日志。

When to Use This Skill

适用场景

Use the infographics skill when:
  • Presenting data or statistics in a visual format
  • Creating timeline visualizations for project milestones or history
  • Explaining processes, workflows, or step-by-step guides
  • Comparing options, products, or concepts side-by-side
  • Summarizing key points in an engaging visual format
  • Creating geographic or map-based data visualizations
  • Building hierarchical or organizational charts
  • Designing social media content or marketing materials
Use scientific-schematics instead for:
  • Technical flowcharts and circuit diagrams
  • Biological pathways and molecular diagrams
  • Neural network architecture diagrams
  • CONSORT/PRISMA methodology diagrams

当你需要以下内容时,可使用信息图技能:
  • 以可视化格式呈现数据或统计信息
  • 为项目里程碑或历史事件创建时间线可视化内容
  • 解释流程、工作流或分步指南
  • 并排对比选项、产品或概念
  • 以引人入胜的可视化格式总结关键点
  • 创建地理或基于地图的数据可视化内容
  • 构建层级或组织结构图
  • 设计社交媒体内容或营销物料
以下场景请使用scientific-schematics技能:
  • 技术流程图与电路图
  • 生物通路与分子图
  • 神经网络架构图
  • CONSORT/PRISMA方法学图

Research Integration

研究集成

Automatic Data Gathering (
--research
)

自动数据收集(
--research

When creating infographics that require accurate, up-to-date data, use the
--research
flag to automatically gather facts and statistics using Perplexity Sonar Pro.
bash
undefined
当创建需要精准、最新数据的信息图时,使用
--research
标志,通过Perplexity Sonar Pro自动收集事实与统计数据。
bash
undefined

Research and generate statistical infographic

Research and generate statistical infographic

python skills/infographics/scripts/generate_infographic.py
"Global renewable energy adoption rates by country"
-o figures/renewable_energy.png --type statistical --research
python skills/infographics/scripts/generate_infographic.py
"Global renewable energy adoption rates by country"
-o figures/renewable_energy.png --type statistical --research

Research for timeline infographic

Research for timeline infographic

python skills/infographics/scripts/generate_infographic.py
"History of artificial intelligence breakthroughs"
-o figures/ai_history.png --type timeline --research
python skills/infographics/scripts/generate_infographic.py
"History of artificial intelligence breakthroughs"
-o figures/ai_history.png --type timeline --research

Research for comparison infographic

Research for comparison infographic

python skills/infographics/scripts/generate_infographic.py
"Electric vehicles vs hydrogen vehicles comparison"
-o figures/ev_hydrogen.png --type comparison --research
undefined
python skills/infographics/scripts/generate_infographic.py
"Electric vehicles vs hydrogen vehicles comparison"
-o figures/ev_hydrogen.png --type comparison --research
undefined

What Research Provides

研究功能提供的内容

The research phase automatically:
  1. Gathers Key Facts: 5-8 relevant facts and statistics about the topic
  2. Provides Context: Background information for accurate representation
  3. Finds Data Points: Specific numbers, percentages, and dates
  4. Cites Sources: Mentions major studies or sources
  5. Prioritizes Recency: Focuses on 2023-2026 information
研究阶段会自动完成以下工作:
  1. 收集关键事实:关于主题的5-8个相关事实与统计数据
  2. 提供背景信息:确保准确呈现内容的上下文
  3. 查找数据点:具体数字、百分比与日期
  4. 引用来源:提及主要研究或信息来源
  5. 优先最新信息:重点关注2023-2026年的内容

When to Use Research

何时使用研究功能

Enable research (
--research
) for:
  • Statistical infographics requiring accurate numbers
  • Market data, industry statistics, or trends
  • Scientific or medical information
  • Current events or recent developments
  • Any topic where accuracy is critical
Skip research for:
  • Simple conceptual infographics
  • Internal process documentation
  • Topics where you provide all the data in the prompt
  • Speed-critical generation
启用研究功能(
--research
)的场景:
  • 需要精准数字的统计类信息图
  • 市场数据、行业统计或趋势分析
  • 科学或医学信息
  • 时事或近期发展动态
  • 任何对准确性要求极高的主题
无需使用研究功能的场景:
  • 简单的概念类信息图
  • 内部流程文档
  • 你在提示词中已提供所有数据的主题
  • 对生成速度要求极高的场景

Research Output

研究输出内容

When research is enabled, additional files are created:
  • {name}_research.json
    - Raw research data and sources
  • Research content is automatically incorporated into the infographic prompt

启用研究功能后,会额外生成以下文件:
  • {name}_research.json
    - 原始研究数据与来源
  • 研究内容会自动融入信息图的提示词中

Infographic Types

信息图类型

1. Statistical/Data-Driven (
--type statistical
)

1. 统计/数据驱动型(
--type statistical

Best for: Presenting numbers, percentages, survey results, and quantitative data.
Key Elements: Charts (bar, pie, line, donut), large numerical callouts, data comparisons, trend indicators.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Global internet usage 2025: 5.5 billion users (68% of population), \
   Asia Pacific 53%, Europe 15%, Americas 20%, Africa 12%" \
  -o figures/internet_stats.png --type statistical --style technology

最适用于:呈现数字、百分比、调查结果与定量数据。
核心元素: 图表(柱状图、饼图、折线图、环形图)、醒目的数字标注、数据对比、趋势指示器。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Global internet usage 2025: 5.5 billion users (68% of population), \
   Asia Pacific 53%, Europe 15%, Americas 20%, Africa 12%" \
  -o figures/internet_stats.png --type statistical --style technology

2. Timeline (
--type timeline
)

2. 时间线型(
--type timeline

Best for: Historical events, project milestones, company history, evolution of concepts.
Key Elements: Chronological flow, date markers, event nodes, connecting lines.
bash
python skills/infographics/scripts/generate_infographic.py \
  "History of AI: 1950 Turing Test, 1956 Dartmouth Conference, \
   1997 Deep Blue, 2016 AlphaGo, 2022 ChatGPT" \
  -o figures/ai_history.png --type timeline --style technology

最适用于:历史事件、项目里程碑、公司发展历程、概念演变。
核心元素: 时间顺序流、日期标记、事件节点、连接线。
bash
python skills/infographics/scripts/generate_infographic.py \
  "History of AI: 1950 Turing Test, 1956 Dartmouth Conference, \
   1997 Deep Blue, 2016 AlphaGo, 2022 ChatGPT" \
  -o figures/ai_history.png --type timeline --style technology

3. Process/How-To (
--type process
)

3. 流程/操作指南型(
--type process

Best for: Step-by-step instructions, workflows, procedures, tutorials.
Key Elements: Numbered steps, directional arrows, action icons, clear flow.
bash
python skills/infographics/scripts/generate_infographic.py \
  "How to start a podcast: 1. Choose your niche, 2. Plan content, \
   3. Set up equipment, 4. Record episodes, 5. Publish and promote" \
  -o figures/podcast_process.png --type process --style marketing

最适用于:分步说明、工作流、操作流程、教程。
核心元素: 编号步骤、方向箭头、操作图标、清晰的流程逻辑。
bash
python skills/infographics/scripts/generate_infographic.py \
  "How to start a podcast: 1. Choose your niche, 2. Plan content, \
   3. Set up equipment, 4. Record episodes, 5. Publish and promote" \
  -o figures/podcast_process.png --type process --style marketing

4. Comparison (
--type comparison
)

4. 对比型(
--type comparison

Best for: Product comparisons, pros/cons, before/after, option evaluation.
Key Elements: Side-by-side layout, matching categories, check/cross indicators.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Electric vs Gas Cars: Fuel cost (lower vs higher), \
   Maintenance (less vs more), Range (improving vs established)" \
  -o figures/ev_comparison.png --type comparison --style nature

最适用于:产品对比、优缺点对比、前后对比、选项评估。
核心元素: 并排布局、匹配类别、勾选/叉号指示器。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Electric vs Gas Cars: Fuel cost (lower vs higher), \
   Maintenance (less vs more), Range (improving vs established)" \
  -o figures/ev_comparison.png --type comparison --style nature

5. List/Informational (
--type list
)

5. 列表/信息型(
--type list

Best for: Tips, facts, key points, summaries, quick reference guides.
Key Elements: Numbered or bulleted points, icons, clear hierarchy.
bash
python skills/infographics/scripts/generate_infographic.py \
  "7 Habits of Highly Effective People: Be Proactive, \
   Begin with End in Mind, Put First Things First, Think Win-Win, \
   Seek First to Understand, Synergize, Sharpen the Saw" \
  -o figures/habits.png --type list --style corporate

最适用于:小贴士、事实、关键点、摘要、快速参考指南。
核心元素: 编号或项目符号点、图标、清晰的层级结构。
bash
python skills/infographics/scripts/generate_infographic.py \
  "7 Habits of Highly Effective People: Be Proactive, \
   Begin with End in Mind, Put First Things First, Think Win-Win, \
   Seek First to Understand, Synergize, Sharpen the Saw" \
  -o figures/habits.png --type list --style corporate

6. Geographic (
--type geographic
)

6. 地理型(
--type geographic

Best for: Regional data, demographics, location-based statistics, global trends.
Key Elements: Map visualization, color coding, data overlays, legend.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Renewable energy adoption by region: Iceland 100%, Norway 98%, \
   Germany 50%, USA 22%, India 20%" \
  -o figures/renewable_map.png --type geographic --style nature

最适用于:区域数据、人口统计、基于位置的统计信息、全球趋势。
核心元素: 地图可视化、颜色编码、数据叠加层、图例。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Renewable energy adoption by region: Iceland 100%, Norway 98%, \
   Germany 50%, USA 22%, India 20%" \
  -o figures/renewable_map.png --type geographic --style nature

7. Hierarchical/Pyramid (
--type hierarchical
)

7. 层级/金字塔型(
--type hierarchical

Best for: Organizational structures, priority levels, importance ranking.
Key Elements: Pyramid or tree structure, distinct levels, size progression.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Maslow's Hierarchy: Physiological, Safety, Love/Belonging, \
   Esteem, Self-Actualization" \
  -o figures/maslow.png --type hierarchical --style education

最适用于:组织结构、优先级排序、重要性分级。
核心元素: 金字塔或树形结构、不同层级、尺寸递进。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Maslow's Hierarchy: Physiological, Safety, Love/Belonging, \
   Esteem, Self-Actualization" \
  -o figures/maslow.png --type hierarchical --style education

8. Anatomical/Visual Metaphor (
--type anatomical
)

8. 解剖/视觉隐喻型(
--type anatomical

Best for: Explaining complex systems using familiar visual metaphors.
Key Elements: Central metaphor image, labeled parts, connection lines.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Business as a human body: Brain=Leadership, Heart=Culture, \
   Arms=Sales, Legs=Operations, Skeleton=Systems" \
  -o figures/business_body.png --type anatomical --style corporate

最适用于:用熟悉的视觉隐喻解释复杂系统。
核心元素: 核心隐喻图像、标注部件、连接线。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Business as a human body: Brain=Leadership, Heart=Culture, \
   Arms=Sales, Legs=Operations, Skeleton=Systems" \
  -o figures/business_body.png --type anatomical --style corporate

9. Resume/Professional (
--type resume
)

9. 简历/专业型(
--type resume

Best for: Personal branding, CVs, portfolio highlights, professional achievements.
Key Elements: Photo area, skills visualization, timeline, contact info.
bash
python skills/infographics/scripts/generate_infographic.py \
  "UX Designer resume: Skills - User Research 95%, Wireframing 90%, \
   Prototyping 85%. Experience - 2020-2022 Junior, 2022-2025 Senior" \
  -o figures/resume.png --type resume --style technology

最适用于:个人品牌打造、简历、作品集亮点、职业成就展示。
核心元素: 照片区域、技能可视化、时间线、联系方式。
bash
python skills/infographics/scripts/generate_infographic.py \
  "UX Designer resume: Skills - User Research 95%, Wireframing 90%, \
   Prototyping 85%. Experience - 2020-2022 Junior, 2022-2025 Senior" \
  -o figures/resume.png --type resume --style technology

10. Social Media (
--type social
)

10. 社交媒体型(
--type social

Best for: Instagram, LinkedIn, Twitter/X posts, shareable graphics.
Key Elements: Bold headline, minimal text, maximum impact, vibrant colors.
bash
python skills/infographics/scripts/generate_infographic.py \
  "Save Water, Save Life: 2.2 billion people lack safe drinking water. \
   Tips: shorter showers, fix leaks, full loads only" \
  -o figures/water_social.png --type social --style marketing

最适用于:Instagram、LinkedIn、Twitter/X帖子、可分享图形。
核心元素: 醒目标题、精简文本、高冲击力、鲜艳色彩。
bash
python skills/infographics/scripts/generate_infographic.py \
  "Save Water, Save Life: 2.2 billion people lack safe drinking water. \
   Tips: shorter showers, fix leaks, full loads only" \
  -o figures/water_social.png --type social --style marketing

Style Presets

风格预设

Industry Styles (
--style
)

行业风格(
--style

StyleColorsBest For
corporate
Navy, steel blue, goldBusiness reports, finance
healthcare
Medical blue, cyan, light cyanMedical, wellness
technology
Tech blue, slate, violetSoftware, data, AI
nature
Forest green, mint, earth brownEnvironmental, organic
education
Academic blue, light blue, coralLearning, academic
marketing
Coral, teal, yellowSocial media, campaigns
finance
Navy, gold, green/redInvestment, banking
nonprofit
Warm orange, sage, sandSocial causes, charities
bash
undefined
风格配色适用场景
corporate
藏青、钢蓝、金色商务报告、金融领域
healthcare
医疗蓝、青蓝色、浅青色医疗、健康领域
technology
科技蓝、石墨灰、紫罗兰色软件、数据、AI领域
nature
森林绿、薄荷绿、土棕色环保、有机领域
education
学术蓝、浅蓝色、珊瑚色学习、学术领域
marketing
珊瑚色、水鸭蓝、黄色社交媒体、营销活动
finance
藏青、金色、绿/红色投资、银行业
nonprofit
暖橙色、鼠尾草绿、沙色社会公益、慈善机构
bash
undefined

Corporate style

Corporate style

python skills/infographics/scripts/generate_infographic.py
"Q4 Results" -o q4.png --type statistical --style corporate
python skills/infographics/scripts/generate_infographic.py
"Q4 Results" -o q4.png --type statistical --style corporate

Healthcare style

Healthcare style

python skills/infographics/scripts/generate_infographic.py
"Patient Journey" -o journey.png --type process --style healthcare

---
python skills/infographics/scripts/generate_infographic.py
"Patient Journey" -o journey.png --type process --style healthcare

---

Colorblind-Safe Palettes

色盲友好配色方案

Available Palettes (
--palette
)

可用配色方案(
--palette

PaletteColorsDescription
wong
Orange, sky blue, green, blue, vermillionMost widely recommended
ibm
Ultramarine, indigo, magenta, orange, goldIBM's accessible palette
tol
12-color extended paletteFor many categories
bash
undefined
配色方案配色说明
wong
橙色、天蓝色、绿色、蓝色、朱红色最广泛推荐的配色方案
ibm
群青、靛蓝、品红、橙色、金色IBM的无障碍配色方案
tol
12色扩展配色方案适用于多类别场景
bash
undefined

Wong's colorblind-safe palette

Wong's colorblind-safe palette

python skills/infographics/scripts/generate_infographic.py
"Survey results by category" -o survey.png --type statistical --palette wong

---
python skills/infographics/scripts/generate_infographic.py
"Survey results by category" -o survey.png --type statistical --palette wong

---

Smart Iterative Refinement

智能迭代优化

How It Works

工作原理

┌─────────────────────────────────────────────────────┐
│  1. Generate infographic with Nano Banana Pro       │
│                    ↓                                │
│  2. Review quality with Gemini 3 Pro                │
│                    ↓                                │
│  3. Score >= threshold?                             │
│       YES → DONE! (early stop)                      │
│       NO  → Improve prompt, go to step 1            │
│                    ↓                                │
│  4. Repeat until quality met OR max iterations      │
└─────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────┐
│  1. 使用Nano Banana Pro生成信息图                   │
│                    ↓                                │
│  2. 使用Gemini 3 Pro审核质量                        │
│                    ↓                                │
│  3. 评分≥阈值?                                     │
│       是 → 完成!(提前终止)                        │
│       否  → 优化提示词,返回步骤1                    │
│                    ↓                                │
│  4. 重复直到质量达标或达到最大迭代次数                │
└─────────────────────────────────────────────────────┘

Quality Review Criteria

质量审核标准

Gemini 3 Pro evaluates each infographic on:
  1. Visual Hierarchy & Layout (0-2 points)
    • Clear visual hierarchy
    • Logical reading flow
    • Balanced composition
  2. Typography & Readability (0-2 points)
    • Readable text
    • Bold headlines
    • No overlapping
  3. Data Visualization (0-2 points)
    • Prominent numbers
    • Clear charts/icons
    • Proper labels
  4. Color & Accessibility (0-2 points)
    • Professional colors
    • Sufficient contrast
    • Colorblind-friendly
  5. Overall Impact (0-2 points)
    • Professional appearance
    • Free of visual bugs
    • Achieves communication goal
Gemini 3 Pro从以下维度评估每个信息图:
  1. 视觉层级与布局(0-2分)
    • 清晰的视觉层级
    • 符合逻辑的阅读流
    • 均衡的构图
  2. 排版与可读性(0-2分)
    • 文本易于阅读
    • 标题醒目
    • 无文本重叠
  3. 数据可视化(0-2分)
    • 数字突出显示
    • 图表/图标清晰
    • 标签规范
  4. 色彩与无障碍性(0-2分)
    • 专业配色
    • 足够的对比度
    • 色盲友好
  5. 整体效果(0-2分)
    • 专业外观
    • 无视觉缺陷
    • 达成传播目标

Review Log

审核日志

Each generation produces a JSON review log:
json
{
  "user_prompt": "5 benefits of exercise...",
  "infographic_type": "list",
  "style": "healthcare",
  "doc_type": "marketing",
  "quality_threshold": 8.5,
  "iterations": [
    {
      "iteration": 1,
      "image_path": "figures/exercise_v1.png",
      "score": 8.7,
      "needs_improvement": false,
      "critique": "SCORE: 8.7\nSTRENGTHS:..."
    }
  ],
  "final_score": 8.7,
  "early_stop": true,
  "early_stop_reason": "Quality score 8.7 meets threshold 8.5"
}

每次生成都会生成JSON格式的审核日志:
json
{
  "user_prompt": "5 benefits of exercise...",
  "infographic_type": "list",
  "style": "healthcare",
  "doc_type": "marketing",
  "quality_threshold": 8.5,
  "iterations": [
    {
      "iteration": 1,
      "image_path": "figures/exercise_v1.png",
      "score": 8.7,
      "needs_improvement": false,
      "critique": "SCORE: 8.7\nSTRENGTHS:..."
    }
  ],
  "final_score": 8.7,
  "early_stop": true,
  "early_stop_reason": "Quality score 8.7 meets threshold 8.5"
}

Command-Line Reference

命令行参考

bash
python skills/infographics/scripts/generate_infographic.py [OPTIONS] PROMPT

Arguments:
  PROMPT                    Description of the infographic content

Options:
  -o, --output PATH         Output file path (required)
  -t, --type TYPE           Infographic type preset
  -s, --style STYLE         Industry style preset
  -p, --palette PALETTE     Colorblind-safe palette
  -b, --background COLOR    Background color (default: white)
  --doc-type TYPE           Document type for quality threshold
  --iterations N            Maximum refinement iterations (default: 3)
  --api-key KEY             OpenRouter API key
  -v, --verbose             Verbose output
  --list-options            List all available options
bash
python skills/infographics/scripts/generate_infographic.py [OPTIONS] PROMPT

Arguments:
  PROMPT                    Description of the infographic content

Options:
  -o, --output PATH         Output file path (required)
  -t, --type TYPE           Infographic type preset
  -s, --style STYLE         Industry style preset
  -p, --palette PALETTE     Colorblind-safe palette
  -b, --background COLOR    Background color (default: white)
  --doc-type TYPE           Document type for quality threshold
  --iterations N            Maximum refinement iterations (default: 3)
  --api-key KEY             OpenRouter API key
  -v, --verbose             Verbose output
  --list-options            List all available options

List All Options

查看所有选项

bash
python skills/infographics/scripts/generate_infographic.py --list-options

bash
python skills/infographics/scripts/generate_infographic.py --list-options

Configuration

配置

API Key Setup

API密钥设置

Set your OpenRouter API key:
bash
export OPENROUTER_API_KEY='your_api_key_here'
Get an API key at: https://openrouter.ai/keys

设置你的OpenRouter API密钥:
bash
export OPENROUTER_API_KEY='your_api_key_here'
获取API密钥:https://openrouter.ai/keys

Prompt Engineering Tips

提示词优化技巧

Be Specific About Content

内容描述要具体

Good prompts (specific, detailed):
"5 benefits of meditation: reduces stress, improves focus, 
better sleep, lower blood pressure, emotional balance"
Avoid vague prompts:
"meditation infographic"
优质提示词(具体、详细):
"5 benefits of meditation: reduces stress, improves focus, 
better sleep, lower blood pressure, emotional balance"
避免模糊提示词
"meditation infographic"

Include Data Points

包含数据点

Good:
"Market growth from $10B (2020) to $45B (2025), CAGR 35%"
Vague:
"market is growing"
优质提示词
"Market growth from $10B (2020) to $45B (2025), CAGR 35%"
模糊提示词
"market is growing"

Specify Visual Elements

指定视觉元素

Good:
"Timeline showing 5 milestones with icons for each event"

优质提示词
"Timeline showing 5 milestones with icons for each event"

Reference Files

参考文件

For detailed guidance, load these reference files:
  • references/infographic_types.md
    : Extended templates for all 10+ types
  • references/design_principles.md
    : Visual hierarchy, layout, typography
  • references/color_palettes.md
    : Full palette specifications

如需详细指导,请查看以下参考文件:
  • references/infographic_types.md
    :所有10+种信息图类型的扩展模板
  • references/design_principles.md
    :视觉层级、布局、排版相关指南
  • references/color_palettes.md
    :完整配色方案说明

Troubleshooting

故障排除

Common Issues

常见问题

Problem: Text in infographic is unreadable
  • Solution: Reduce text content; use --type to specify layout type
Problem: Colors clash or are inaccessible
  • Solution: Use
    --palette wong
    for colorblind-safe colors
Problem: Quality score too low
  • Solution: Increase iterations with
    --iterations 3
    ; use more specific prompt
Problem: Wrong infographic type generated
  • Solution: Always specify
    --type
    flag for consistent results

问题:信息图中的文本难以阅读
  • 解决方案:减少文本内容;使用
    --type
    指定布局类型
问题:配色冲突或不符合无障碍要求
  • 解决方案:使用
    --palette wong
    获取色盲友好配色
问题:质量评分过低
  • 解决方案:使用
    --iterations 3
    增加迭代次数;使用更具体的提示词
问题:生成的信息图类型错误
  • 解决方案:始终指定
    --type
    标志以确保结果一致

Integration with Other Skills

与其他技能的集成

This skill works synergistically with:
  • scientific-schematics: For technical diagrams and flowcharts
  • market-research-reports: Infographics for business reports
  • scientific-slides: Infographic elements for presentations
  • generate-image: For non-infographic visual content

本技能可与以下技能协同使用:
  • scientific-schematics:用于技术图表与流程图
  • market-research-reports:为商务报告生成信息图
  • scientific-slides:为演示文稿添加信息图元素
  • generate-image:用于非信息图类视觉内容

Quick Reference Checklist

快速参考清单

Before generating:
  • Clear, specific content description
  • Infographic type selected (
    --type
    )
  • Style appropriate for audience (
    --style
    )
  • Output path specified (
    -o
    )
  • API key configured
After generating:
  • Review the generated image
  • Check the review log for scores
  • Regenerate with more specific prompt if needed

Use this skill to create professional, accessible, and visually compelling infographics using the power of Nano Banana Pro AI with intelligent quality review.
生成前:
  • 清晰、具体的内容描述
  • 已选择信息图类型(
    --type
  • 已选择适合受众的风格(
    --style
  • 已指定输出路径(
    -o
  • 已配置API密钥
生成后:
  • 查看生成的图片
  • 检查审核日志中的评分
  • 若需优化,使用更具体的提示词重新生成

借助Nano Banana Pro AI的强大功能与智能质量审核,使用本技能创建专业、无障碍且视觉吸引力强的信息图。