---
name: infographic-slides
description: Generate visually striking infographic slide decks using Nano Banana Pro (Gemini image generation). Use when asked to create carousel posts, infographic sets, explainer slides, or visual content series.
---

# Infographic Slides

Generate slide decks as AI-generated images using Nano Banana Pro (Gemini 3 Pro Image).

## Dependencies

- **nano-banana-pro** skill (Gemini image generation)
- `GEMINI_API_KEY` env var must be set

## Workflow

### 1. Plan the deck

From the user's topic/brief, plan 5-15 slides with a narrative arc:

- **Slide 1:** Cover — hook title, key stats, visual impact
- **Middle slides:** The story — what, why, how (one concept per slide)
- **Final slide:** Takeaway — summary statement, call to action, or closing quote

Each slide should convey ONE key idea. Less text = more impact.

### 2. Craft prompts

Every prompt must specify:

```
Dark infographic poster, 4:5 vertical format. [GRADIENT] gradient background.
[CONTENT DESCRIPTION]. [VISUAL ELEMENTS]. Minimal design, clean typography,
modern tech aesthetic.
```

**Prompt anatomy:**
- **Format:** Always start with "Dark infographic poster, 4:5 vertical"
- **Background:** Specify gradient colors (navy-black, red-black, teal-black, etc.)
- **Title:** Bold white text, include the exact words you want
- **Body:** Describe layout (lists, cards, stats, quotes, flow diagrams)
- **Visual elements:** Icons, accent lines, glowing elements, severity badges
- **Style anchor:** End with "Minimal design, clean typography, modern tech aesthetic"

**Color coding by slide type:**
- Red/crimson gradients → danger, warnings, problems
- Blue/navy gradients → explanations, neutral information
- Green/teal gradients → solutions, checklists, positives
- Purple/indigo gradients → technical deep-dives, unique moments
- Amber/yellow gradients → caution, nuance, "it's complicated"

### 3. Generate images

Use the batch script for sequential generation:

```bash
uv run {baseDir}/scripts/batch_generate.py --prompts /path/to/prompts.json --output /tmp/slides/ --resolution 1K
```

Or generate individually via nano-banana-pro:

```bash
export GEMINI_API_KEY="your-key"
uv run /mnt/work/dev/clawdbot/skills/nano-banana-pro/scripts/generate_image.py \
  --prompt "your prompt" \
  --filename /tmp/slides/slide-01.png \
  --resolution 1K
```

### 4. Deliver

Output all images with MEDIA: tags for Clawdbot auto-attach:

```
MEDIA:/tmp/slides/slide-01.png
MEDIA:/tmp/slides/slide-02.png
...
```

Include a numbered legend explaining each slide.

## Prompt tips

- **Be specific about text:** Gemini renders text best when you quote it exactly
- **Less is more:** 1 title + 3-5 bullet points max per slide
- **Use visual hierarchy:** Tags/pills at top, big title, supporting text below
- **Stats pop:** Large numbers with labels draw the eye
- **Quotes work:** Italic quote blocks with attribution are visually strong
- **Cards/grids:** For comparing items, describe a 2-col card grid layout
- **Flow diagrams:** Describe steps with arrows and icons for processes
- **Avoid walls of text:** If a slide has more than 40 words of content, split it
