17 KiB
| name | description |
|---|---|
| xhs-images | 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". |
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
/xhs-images posts/ai-future/article.md
# Specify style
/xhs-images posts/ai-future/article.md --style notion
# Specify layout
/xhs-images posts/ai-future/article.md --layout dense
# Combine style and layout
/xhs-images posts/ai-future/article.md --style tech --layout list
# Direct content input
/xhs-images
[paste content]
# Direct input with options
/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
1. cute (Default)
Sweet, adorable, girly - classic Xiaohongshu aesthetic
- Colors: Pink, peach, mint, lavender, cream background
- Elements: Cute stickers, emoji icons, hearts, stars, sparkles
- Best for: Lifestyle, beauty, fashion, daily tips
2. fresh
Clean, refreshing, natural
- Colors: Mint green, sky blue, white, light yellow
- Elements: Plant icons, clouds, simple shapes, breathing room
- Best for: Health, wellness, minimalist lifestyle, self-care
3. tech
Modern, smart, digital
- Colors: Deep blue, purple, cyan, dark backgrounds with neon accents
- Elements: Geometric shapes, data icons, circuit patterns, glowing effects
- Best for: Tech tutorials, AI content, digital tools, productivity
4. warm
Cozy, friendly, approachable
- Colors: Warm orange, golden yellow, brown, cream
- Elements: Sun motifs, coffee cups, cozy illustrations, warm lighting
- Best for: Personal stories, life lessons, emotional content
5. bold
High impact, attention-grabbing
- Colors: Red, orange, black, yellow accents
- Elements: Strong typography, exclamation marks, arrows, contrast
- Best for: Important tips, warnings, must-know content
6. minimal
Ultra-clean, sophisticated
- Colors: Black, white, single accent color
- Elements: Maximum whitespace, simple icons, clean lines
- Best for: Professional content, serious topics, elegant presentations
7. retro
Vintage, nostalgic, trendy
- Colors: Muted pastels, sepia, faded tones
- Elements: Vintage badges, halftone dots, classic typography
- Best for: Throwback content, classic tips, timeless advice
8. pop
Vibrant, energetic, eye-catching
- Colors: Bright primary colors, neon accents, white
- Elements: Bold shapes, comic-style elements, dynamic compositions
- Best for: Exciting announcements, fun facts, engaging tutorials
9. notion
Minimalist hand-drawn line art, intellectual
- Colors: Black outlines, white background, 1-2 pastel accents
- Elements: Simple line doodles, geometric shapes, hand-drawn wobble, maximum whitespace
- Best for: Knowledge sharing, concept explanations, SaaS content, productivity tips
Layout Gallery
1. sparse (Default)
Minimal information, maximum impact
- Density: 1-2 key points per image
- Whitespace: 60-70% of canvas
- Structure: Single focal point, one core message
- Best for: Covers, quotes, impactful statements, emotional content
2. balanced
Standard content layout
- Density: 3-4 key points per image
- Whitespace: 40-50% of canvas
- Structure: Title + 3-4 bullet points or sections
- Best for: Regular content pages, tutorials, explanations
3. dense
High information density, knowledge card style
- Density: 5-8 key points per image
- Whitespace: 20-30% of canvas
- Structure: Multiple sections, structured grid, more text
- Best for: Summary cards, cheat sheets, comprehensive guides, 干货总结
4. list
Enumeration and ranking format
- Density: 4-7 items
- Whitespace: 30-40% of canvas
- Structure: Numbered or bulleted vertical list, consistent item format
- Best for: Top N lists, checklists, step-by-step guides, rankings
5. comparison
Side-by-side contrast layout
- Density: 2 main sections with 2-4 points each
- Whitespace: 30-40% of canvas
- Structure: Left vs Right, Before/After, Pros/Cons
- Best for: Comparisons, transformations, decision helpers, 对比图
6. flow
Process and timeline layout
- Density: 3-6 steps/stages
- Whitespace: 30-40% of canvas
- Structure: Connected nodes with arrows, sequential flow
- Best for: Processes, timelines, cause-effect chains, workflows
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
--stylespecified, use that style; otherwise auto-select - If
--layoutspecified, 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
Style Reference Details
cute
Colors: Pink (#FED7E2), peach (#FEEBC8), mint (#C6F6D5), lavender (#E9D8FD)
Background: Cream (#FFFAF0), soft pink (#FFF5F7)
Accents: Hot pink, coral
Elements: Hearts, stars, sparkles, cute faces, ribbon decorations, sticker-style
Typography: Rounded, bubbly hand lettering
fresh
Colors: Mint green (#9AE6B4), sky blue (#90CDF4), light yellow (#FAF089)
Background: Pure white (#FFFFFF), soft mint (#F0FFF4)
Accents: Leaf green, water blue
Elements: Plant leaves, clouds, water drops, simple geometric shapes
Typography: Clean, light hand lettering with breathing room
tech
Colors: Deep blue (#1A365D), purple (#6B46C1), cyan (#00D4FF)
Background: Dark gray (#1A202C), near-black (#0D1117)
Accents: Neon green (#00FF88), electric blue
Elements: Circuit patterns, data icons, geometric grids, glowing effects
Typography: Monospace-style hand lettering, subtle glow
warm
Colors: Warm orange (#ED8936), golden yellow (#F6AD55), terracotta (#C05621)
Background: Cream (#FFFAF0), soft peach (#FED7AA)
Accents: Deep brown (#744210), soft red
Elements: Sun rays, coffee cups, cozy items, warm lighting effects
Typography: Friendly, rounded hand lettering
bold
Colors: Vibrant red (#E53E3E), orange (#DD6B20), yellow (#F6E05E)
Background: Deep black (#000000), dark charcoal
Accents: White, neon yellow
Elements: Exclamation marks, arrows, warning icons, strong shapes
Typography: Bold, impactful hand lettering with shadows
minimal
Colors: Black (#000000), white (#FFFFFF)
Background: Off-white (#FAFAFA), pure white
Accents: Single color (content-derived - blue, green, or coral)
Elements: Single focal point, thin lines, maximum whitespace
Typography: Clean, simple hand lettering
retro
Colors: Muted orange, dusty pink (#FED7E2 at 70%), faded teal
Background: Aged paper (#F5E6D3), sepia tones
Accents: Faded red, vintage gold
Elements: Halftone dots, vintage badges, classic icons, tape effects
Typography: Vintage-style hand lettering, classic feel
pop
Colors: Bright red (#F56565), yellow (#ECC94B), blue (#4299E1), green (#48BB78)
Background: White (#FFFFFF), light gray
Accents: Neon pink, electric purple
Elements: Bold shapes, speech bubbles, comic-style effects, starburst
Typography: Dynamic, energetic hand lettering with outlines
notion
Colors: Black (#1A1A1A), dark gray (#4A4A4A)
Background: Pure white (#FFFFFF), off-white (#FAFAFA)
Accents: Pastel blue (#A8D4F0), pastel yellow (#F9E79F), pastel pink (#FADBD8)
Elements: Simple line doodles, hand-drawn wobble effect, geometric shapes, stick figures, maximum whitespace
Typography: Clean hand-drawn lettering, simple sans-serif labels
Layout Reference Details
sparse
Information Density: Very Low (1-2 points)
Whitespace: 60-70%
Structure: Single centered focal point
Text Elements: Title only, or title + one subtitle/tagline
Visual Balance: Centered, symmetrical, breathing room on all sides
Best Pairing: Any style, especially effective with bold, minimal, notion
balanced
Information Density: Medium (3-4 points)
Whitespace: 40-50%
Structure: Title at top, content sections below
Text Elements: Title + 3-4 bullet points or key messages
Visual Balance: Top-weighted title, evenly distributed content below
Best Pairing: All styles work well
dense
Information Density: High (5-8 points)
Whitespace: 20-30%
Structure: Multi-section grid or stacked blocks
Text Elements: Title + multiple sections with headers + numerous points
Visual Balance: Organized chaos, clear section boundaries, compact spacing
Best Pairing: tech, notion, minimal (clean styles prevent visual overload)
list
Information Density: Medium-High (4-7 items)
Whitespace: 30-40%
Structure: Vertical enumeration with numbers or bullets
Text Elements: Title + numbered/bulleted items, consistent format per item
Visual Balance: Left-aligned list, clear number/bullet hierarchy
Best Pairing: All styles, especially cute (checklist), bold (rankings)
comparison
Information Density: Medium (2×2-4 points)
Whitespace: 30-40%
Structure: Two-column split with center divider
Text Elements: Title + left label + right label + mirrored points
Visual Balance: Symmetrical left/right, clear visual contrast
Best Pairing: bold (dramatic contrast), tech (data comparison), warm (before/after stories)
flow
Information Density: Medium (3-6 steps)
Whitespace: 30-40%
Structure: Connected nodes with directional arrows
Text Elements: Title + step labels + optional descriptions per step
Visual Balance: Directional flow (top→bottom or left→right), clear progression
Best Pairing: tech (process diagrams), notion (simple flows), fresh (organic flows)
Content Breakdown Principles
- Cover (Image 1): Strong visual impact, core title, attention hook →
sparselayout - Content (Middle): Core points per image, density varies by content →
balanced/dense/list/comparison/flow - Ending (Last): Summary / call-to-action / memorable quote →
sparseorbalanced
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