Xiaohongshu Infographic Series Generator
Break down complex content into eye-catching infographic series for Xiaohongshu with multiple style options.
Usage
# Auto-select style and layout based on content
/baoyu-xhs-images posts/ai-future/article.md
# Specify style
/baoyu-xhs-images posts/ai-future/article.md --style notion
# Specify layout
/baoyu-xhs-images posts/ai-future/article.md --layout dense
# Combine style and layout
/baoyu-xhs-images posts/ai-future/article.md --style tech --layout list
# Direct content input
/baoyu-xhs-images
[paste content]
# Direct input with options
/baoyu-xhs-images --style bold --layout comparison
[paste content]
Options
| Option |
Description |
--style <name> |
Visual style (see Style Gallery) |
--layout <name> |
Information layout (see Layout Gallery) |
Two Dimensions
| Dimension |
Controls |
Options |
| Style |
Visual aesthetics: colors, lines, decorations |
cute, fresh, tech, warm, bold, minimal, retro, pop, notion |
| Layout |
Information structure: density, arrangement |
sparse, balanced, dense, list, comparison, flow |
Style × Layout can be freely combined. Example: --style notion --layout dense creates an intellectual-looking knowledge card with high information density.
Style Gallery
| Style |
Description |
cute (Default) |
Sweet, adorable, girly - classic Xiaohongshu aesthetic |
fresh |
Clean, refreshing, natural |
tech |
Modern, smart, digital |
warm |
Cozy, friendly, approachable |
bold |
High impact, attention-grabbing |
minimal |
Ultra-clean, sophisticated |
retro |
Vintage, nostalgic, trendy |
pop |
Vibrant, energetic, eye-catching |
notion |
Minimalist hand-drawn line art, intellectual |
Detailed style definitions: references/styles/<style>.md
Layout Gallery
| Layout |
Description |
sparse (Default) |
Minimal information, maximum impact (1-2 points) |
balanced |
Standard content layout (3-4 points) |
dense |
High information density, knowledge card style (5-8 points) |
list |
Enumeration and ranking format (4-7 items) |
comparison |
Side-by-side contrast layout |
flow |
Process and timeline layout (3-6 steps) |
Detailed layout definitions: references/layouts/<layout>.md
Auto Style Selection
When no --style is specified, analyze content to select:
| Content Signals |
Selected Style |
| Beauty, fashion, cute, girl, pink |
cute |
| Health, nature, clean, fresh, organic |
fresh |
| Tech, AI, code, digital, app, tool |
tech |
| Life, story, emotion, feeling, warm |
warm |
| Warning, important, must, critical |
bold |
| Professional, business, elegant, simple |
minimal |
| Classic, vintage, old, traditional |
retro |
| Fun, exciting, wow, amazing |
pop |
| Knowledge, concept, productivity, SaaS, notion |
notion |
Auto Layout Selection
When no --layout is specified, analyze content structure to select:
| Content Signals |
Selected Layout |
| Single quote, one key point, cover |
sparse |
| 3-4 points, explanation, tutorial |
balanced |
| 5+ points, summary, cheat sheet, 干货 |
dense |
| Numbered items, top N, checklist, steps |
list |
| vs, compare, before/after, pros/cons |
comparison |
| Process, flow, timeline, steps with order |
flow |
Layout by Position:
| Position |
Recommended Layout |
| Cover |
sparse |
| Content |
balanced or content-appropriate |
| Ending |
sparse or balanced |
File Management
With Article Path
Save to xhs-images/ subdirectory in the same folder as the article:
posts/ai-future/
├── article.md
└── xhs-images/
├── outline.md
├── prompts/
│ ├── 01-cover.md
│ ├── 02-content-1.md
│ └── ...
├── 01-cover.png
├── 02-content-1.png
└── 03-ending.png
Without Article Path
Save to xhs-outputs/YYYY-MM-DD/[topic-slug]/:
xhs-outputs/
└── 2026-01-13/
└── ai-agent-guide/
├── outline.md
├── prompts/
│ ├── 01-cover.md
│ └── ...
├── 01-cover.png
└── 02-ending.png
Workflow
Step 1: Analyze Content & Select Style/Layout
- Read content
- If
--style specified, use that style; otherwise auto-select
- If
--layout specified, use that layout; otherwise auto-select per image
- Determine image count based on content complexity:
| Content Type |
Image Count |
| Simple opinion / single topic |
2-3 |
| Medium complexity / tutorial |
4-6 |
| Deep dive / multi-dimensional |
7-10 |
Note: Layout can vary per image in a series. Cover typically uses sparse, content pages use balanced/dense/list as appropriate.
Step 2: Generate Outline
Plan for each image with style and layout specifications:
# Xiaohongshu Infographic Series Outline
**Topic**: [topic description]
**Style**: [selected style]
**Default Layout**: [selected layout or "varies"]
**Image Count**: N
**Generated**: YYYY-MM-DD HH:mm
---
## Image 1 of N
**Position**: Cover
**Layout**: sparse
**Core Message**: [one-liner]
**Filename**: 01-cover.png
**Text Content**:
- Title: xxx
- Subtitle: xxx
**Visual Concept**: [style + layout appropriate description]
---
## Image 2 of N
**Position**: Content
**Layout**: [balanced/dense/list/comparison/flow]
**Core Message**: [one-liner]
**Filename**: 02-xxx.png
**Text Content**:
- Title: xxx
- Points: [list based on layout density]
**Visual Concept**: [description matching style + layout]
---
...
Step 3: Save Outline
Save outline as outline.md.
Step 4: Generate Images One by One
For each image, create a prompt file with style and layout specifications.
Prompt Format:
Infographic theme: [topic]
Style: [style name]
Layout: [layout name]
Position: [cover/content/ending]
Visual composition:
- Main visual: [style-appropriate description]
- Arrangement: [layout-specific structure]
- Decorative elements: [style-specific decorations]
Color scheme:
- Primary: [style primary color]
- Background: [style background color]
- Accent: [style accent color]
Text content:
- Title: 「xxx」(large, prominent)
- Key points: [based on layout density]
Layout instructions: [layout-specific guidance]
Style notes: [style-specific characteristics]
Layout-Specific Instructions:
| Layout |
Arrangement Instructions |
sparse |
Single focal point centered, 1-2 text elements, maximum breathing room |
balanced |
Title at top, 3-4 points in clear sections, moderate spacing |
dense |
Grid or multi-section layout, 5-8 points, compact but organized |
list |
Vertical numbered/bulleted list, consistent item spacing, clear hierarchy |
comparison |
Two-column split, clear divider, mirrored structure left/right |
flow |
Horizontal or vertical flow with arrows, connected nodes/steps |
Image Generation Skill Selection:
- Check available image generation skills
- If multiple skills available, ask user to choose
Generation Flow:
- Call selected image generation skill with prompt file and output path
- Confirm generation success
- Report progress: "Generated X/N"
- Continue to next
Step 5: Completion Report
Xiaohongshu Infographic Series Complete!
Topic: [topic]
Style: [style name]
Layout: [layout name or "varies"]
Location: [directory path]
Images: N total
- 01-cover.png ✓ Cover (sparse)
- 02-content-1.png ✓ Content (balanced)
- 03-content-2.png ✓ Content (dense)
- 04-ending.png ✓ Ending (sparse)
Outline: outline.md
Content Breakdown Principles
- Cover (Image 1): Strong visual impact, core title, attention hook →
sparse layout
- Content (Middle): Core points per image, density varies by content →
balanced/dense/list/comparison/flow
- Ending (Last): Summary / call-to-action / memorable quote →
sparse or balanced
Style × Layout Matrix (recommended combinations):
|
sparse |
balanced |
dense |
list |
comparison |
flow |
| cute |
✓✓ |
✓✓ |
✓ |
✓✓ |
✓ |
✓ |
| fresh |
✓✓ |
✓✓ |
✓ |
✓ |
✓ |
✓✓ |
| tech |
✓ |
✓✓ |
✓✓ |
✓✓ |
✓✓ |
✓✓ |
| warm |
✓✓ |
✓✓ |
✓ |
✓ |
✓✓ |
✓ |
| bold |
✓✓ |
✓ |
✓ |
✓✓ |
✓✓ |
✓ |
| minimal |
✓✓ |
✓✓ |
✓✓ |
✓ |
✓ |
✓ |
| retro |
✓✓ |
✓✓ |
✓ |
✓✓ |
✓ |
✓ |
| pop |
✓✓ |
✓✓ |
✓ |
✓✓ |
✓✓ |
✓ |
| notion |
✓✓ |
✓✓ |
✓✓ |
✓✓ |
✓✓ |
✓✓ |
✓✓ = highly recommended, ✓ = works well
Notes
- Image generation typically takes 10-30 seconds per image
- Auto-retry once on generation failure
- Use cartoon alternatives for sensitive public figures
- Output language matches input content language
- Maintain selected style consistency across all images in series
1---2name: baoyu-xhs-images3description: Xiaohongshu (Little Red Book) infographic series generator with multiple style options. Breaks down content into 1-10 cartoon-style infographics. Use when user asks to create "小红书图片", "XHS images", or "RedNote infographics".4---56# Xiaohongshu Infographic Series Generator78Break down complex content into eye-catching infographic series for Xiaohongshu with multiple style options.910## Usage1112```bash13# Auto-select style and layout based on content14/baoyu-xhs-images posts/ai-future/article.md1516# Specify style17/baoyu-xhs-images posts/ai-future/article.md --style notion1819# Specify layout20/baoyu-xhs-images posts/ai-future/article.md --layout dense2122# Combine style and layout23/baoyu-xhs-images posts/ai-future/article.md --style tech --layout list2425# Direct content input26/baoyu-xhs-images27[paste content]2829# Direct input with options30/baoyu-xhs-images --style bold --layout comparison31[paste content]32```3334## Options3536| Option | Description |37|--------|-------------|38| `--style <name>` | Visual style (see Style Gallery) |39| `--layout <name>` | Information layout (see Layout Gallery) |4041## Two Dimensions4243| Dimension | Controls | Options |44|-----------|----------|---------|45| **Style** | Visual aesthetics: colors, lines, decorations | cute, fresh, tech, warm, bold, minimal, retro, pop, notion |46| **Layout** | Information structure: density, arrangement | sparse, balanced, dense, list, comparison, flow |4748Style × Layout can be freely combined. Example: `--style notion --layout dense` creates an intellectual-looking knowledge card with high information density.4950## Style Gallery5152| Style | Description |53|-------|-------------|54| `cute` (Default) | Sweet, adorable, girly - classic Xiaohongshu aesthetic |55| `fresh` | Clean, refreshing, natural |56| `tech` | Modern, smart, digital |57| `warm` | Cozy, friendly, approachable |58| `bold` | High impact, attention-grabbing |59| `minimal` | Ultra-clean, sophisticated |60| `retro` | Vintage, nostalgic, trendy |61| `pop` | Vibrant, energetic, eye-catching |62| `notion` | Minimalist hand-drawn line art, intellectual |6364Detailed style definitions: `references/styles/<style>.md`6566## Layout Gallery6768| Layout | Description |69|--------|-------------|70| `sparse` (Default) | Minimal information, maximum impact (1-2 points) |71| `balanced` | Standard content layout (3-4 points) |72| `dense` | High information density, knowledge card style (5-8 points) |73| `list` | Enumeration and ranking format (4-7 items) |74| `comparison` | Side-by-side contrast layout |75| `flow` | Process and timeline layout (3-6 steps) |7677Detailed layout definitions: `references/layouts/<layout>.md`7879## Auto Style Selection8081When no `--style` is specified, analyze content to select:8283| Content Signals | Selected Style |84|----------------|----------------|85| Beauty, fashion, cute, girl, pink | `cute` |86| Health, nature, clean, fresh, organic | `fresh` |87| Tech, AI, code, digital, app, tool | `tech` |88| Life, story, emotion, feeling, warm | `warm` |89| Warning, important, must, critical | `bold` |90| Professional, business, elegant, simple | `minimal` |91| Classic, vintage, old, traditional | `retro` |92| Fun, exciting, wow, amazing | `pop` |93| Knowledge, concept, productivity, SaaS, notion | `notion` |9495## Auto Layout Selection9697When no `--layout` is specified, analyze content structure to select:9899| Content Signals | Selected Layout |100|----------------|-----------------|101| Single quote, one key point, cover | `sparse` |102| 3-4 points, explanation, tutorial | `balanced` |103| 5+ points, summary, cheat sheet, 干货 | `dense` |104| Numbered items, top N, checklist, steps | `list` |105| vs, compare, before/after, pros/cons | `comparison` |106| Process, flow, timeline, steps with order | `flow` |107108**Layout by Position**:109| Position | Recommended Layout |110|----------|-------------------|111| Cover | `sparse` |112| Content | `balanced` or content-appropriate |113| Ending | `sparse` or `balanced` |114115## File Management116117### With Article Path118119Save to `xhs-images/` subdirectory in the same folder as the article:120121```122posts/ai-future/123├── article.md124└── xhs-images/125 ├── outline.md126 ├── prompts/127 │ ├── 01-cover.md128 │ ├── 02-content-1.md129 │ └── ...130 ├── 01-cover.png131 ├── 02-content-1.png132 └── 03-ending.png133```134135### Without Article Path136137Save to `xhs-outputs/YYYY-MM-DD/[topic-slug]/`:138139```140xhs-outputs/141└── 2026-01-13/142 └── ai-agent-guide/143 ├── outline.md144 ├── prompts/145 │ ├── 01-cover.md146 │ └── ...147 ├── 01-cover.png148 └── 02-ending.png149```150151## Workflow152153### Step 1: Analyze Content & Select Style/Layout1541551. Read content1562. If `--style` specified, use that style; otherwise auto-select1573. If `--layout` specified, use that layout; otherwise auto-select per image1584. Determine image count based on content complexity:159160| Content Type | Image Count |161|-------------|-------------|162| Simple opinion / single topic | 2-3 |163| Medium complexity / tutorial | 4-6 |164| Deep dive / multi-dimensional | 7-10 |165166**Note**: Layout can vary per image in a series. Cover typically uses `sparse`, content pages use `balanced`/`dense`/`list` as appropriate.167168### Step 2: Generate Outline169170Plan for each image with style and layout specifications:171172```markdown173# Xiaohongshu Infographic Series Outline174175**Topic**: [topic description]176**Style**: [selected style]177**Default Layout**: [selected layout or "varies"]178**Image Count**: N179**Generated**: YYYY-MM-DD HH:mm180181---182183## Image 1 of N184185**Position**: Cover186**Layout**: sparse187**Core Message**: [one-liner]188**Filename**: 01-cover.png189190**Text Content**:191- Title: xxx192- Subtitle: xxx193194**Visual Concept**: [style + layout appropriate description]195196---197198## Image 2 of N199200**Position**: Content201**Layout**: [balanced/dense/list/comparison/flow]202**Core Message**: [one-liner]203**Filename**: 02-xxx.png204205**Text Content**:206- Title: xxx207- Points: [list based on layout density]208209**Visual Concept**: [description matching style + layout]210211---212...213```214215### Step 3: Save Outline216217Save outline as `outline.md`.218219### Step 4: Generate Images One by One220221For each image, create a prompt file with style and layout specifications.222223**Prompt Format**:224225```markdown226Infographic theme: [topic]227Style: [style name]228Layout: [layout name]229Position: [cover/content/ending]230231Visual composition:232- Main visual: [style-appropriate description]233- Arrangement: [layout-specific structure]234- Decorative elements: [style-specific decorations]235236Color scheme:237- Primary: [style primary color]238- Background: [style background color]239- Accent: [style accent color]240241Text content:242- Title: 「xxx」(large, prominent)243- Key points: [based on layout density]244245Layout instructions: [layout-specific guidance]246Style notes: [style-specific characteristics]247```248249**Layout-Specific Instructions**:250251| Layout | Arrangement Instructions |252|--------|-------------------------|253| `sparse` | Single focal point centered, 1-2 text elements, maximum breathing room |254| `balanced` | Title at top, 3-4 points in clear sections, moderate spacing |255| `dense` | Grid or multi-section layout, 5-8 points, compact but organized |256| `list` | Vertical numbered/bulleted list, consistent item spacing, clear hierarchy |257| `comparison` | Two-column split, clear divider, mirrored structure left/right |258| `flow` | Horizontal or vertical flow with arrows, connected nodes/steps |259260**Image Generation Skill Selection**:2611. Check available image generation skills2622. If multiple skills available, ask user to choose263264**Generation Flow**:2651. Call selected image generation skill with prompt file and output path2662. Confirm generation success2673. Report progress: "Generated X/N"2684. Continue to next269270### Step 5: Completion Report271272```273Xiaohongshu Infographic Series Complete!274275Topic: [topic]276Style: [style name]277Layout: [layout name or "varies"]278Location: [directory path]279Images: N total280281- 01-cover.png ✓ Cover (sparse)282- 02-content-1.png ✓ Content (balanced)283- 03-content-2.png ✓ Content (dense)284- 04-ending.png ✓ Ending (sparse)285286Outline: outline.md287```288289## Content Breakdown Principles2902911. **Cover (Image 1)**: Strong visual impact, core title, attention hook → `sparse` layout2922. **Content (Middle)**: Core points per image, density varies by content → `balanced`/`dense`/`list`/`comparison`/`flow`2933. **Ending (Last)**: Summary / call-to-action / memorable quote → `sparse` or `balanced`294295**Style × Layout Matrix** (recommended combinations):296297| | sparse | balanced | dense | list | comparison | flow |298|---|:---:|:---:|:---:|:---:|:---:|:---:|299| cute | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓ | ✓ |300| fresh | ✓✓ | ✓✓ | ✓ | ✓ | ✓ | ✓✓ |301| tech | ✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ |302| warm | ✓✓ | ✓✓ | ✓ | ✓ | ✓✓ | ✓ |303| bold | ✓✓ | ✓ | ✓ | ✓✓ | ✓✓ | ✓ |304| minimal | ✓✓ | ✓✓ | ✓✓ | ✓ | ✓ | ✓ |305| retro | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓ | ✓ |306| pop | ✓✓ | ✓✓ | ✓ | ✓✓ | ✓✓ | ✓ |307| notion | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ | ✓✓ |308309✓✓ = highly recommended, ✓ = works well310311## Notes312313- Image generation typically takes 10-30 seconds per image314- Auto-retry once on generation failure315- Use cartoon alternatives for sensitive public figures316- Output language matches input content language317- Maintain selected style consistency across all images in series