Cover Image Generator
Generate hand-drawn style cover images for articles with multiple style options.
Usage
# From markdown file (auto-select style based on content)
/baoyu-cover-image path/to/article.md
# Specify a style
/baoyu-cover-image path/to/article.md --style tech
/baoyu-cover-image path/to/article.md --style warm
/baoyu-cover-image path/to/article.md --style bold
# Without title text
/baoyu-cover-image path/to/article.md --no-title
# Combine options
/baoyu-cover-image path/to/article.md --style minimal --no-title
# From direct text input
/baoyu-cover-image
[paste content or describe the topic]
# Direct input with style
/baoyu-cover-image --style playful
[paste content]
Options
| Option |
Description |
--style <name> |
Specify cover style (see Style Gallery below) |
--no-title |
Generate cover without title text (visual only) |
Style Gallery
| Style |
Description |
elegant (Default) |
Refined, sophisticated, understated |
tech |
Modern, clean, futuristic |
warm |
Friendly, approachable, human-centered |
bold |
High contrast, attention-grabbing, energetic |
minimal |
Ultra-clean, zen-like, focused |
playful |
Fun, creative, whimsical |
nature |
Organic, calm, earthy |
retro |
Vintage, nostalgic, classic |
Detailed style definitions: references/styles/<style>.md
Auto Style Selection
When no --style is specified, the system analyzes content to select the best style:
| Content Signals |
Selected Style |
| AI, coding, tech, digital, algorithm |
tech |
| Personal story, emotion, growth, life |
warm |
| Controversial, urgent, must-read, warning |
bold |
| Simple, zen, focus, essential |
minimal |
| Fun, easy, beginner, casual, tutorial |
playful |
| Nature, eco, wellness, health, organic |
nature |
| History, classic, vintage, old, traditional |
retro |
| Business, professional, strategy, analysis |
elegant |
File Management
With Article Path
Save to imgs/ subdirectory in the same folder as the article:
path/to/
├── article.md
└── imgs/
├── prompts/
│ └── cover.md
└── cover.png
Without Article Path
Save to current working directory:
./
├── cover-prompt.md
└── cover.png
Workflow
Step 1: Analyze Content
Extract key information:
- Main topic: What is the article about?
- Core message: What's the key takeaway?
- Tone: Serious, playful, inspiring, educational?
- Keywords: Identify style-signaling words
Step 2: Select Style
If --style specified, use that style. Otherwise:
- Scan content for style signals (see Auto Style Selection table)
- Match signals to most appropriate style
- Default to
elegant if no clear signals
Step 3: Generate Cover Concept
Create a cover image concept based on selected style:
Title (if included, max 8 characters):
- Distill the core message into a punchy headline
- Use hooks: numbers, questions, contrasts, pain points
- Skip if
--no-title flag is used
Visual Elements:
- Style-appropriate imagery and icons
- 1-2 symbolic elements representing the topic
- Metaphors or analogies that fit the style
Step 4: Create Prompt File
Prompt Format:
Cover theme: [topic in 2-3 words]
Style: [selected style name]
[If title included:]
Title text: [8 characters or less, in content language]
Subtitle: [optional, in content language]
Visual composition:
- Main visual: [description matching style]
- Layout: [positioning based on title inclusion]
- Decorative elements: [style-appropriate elements]
Color scheme:
- Primary: [style primary color]
- Background: [style background color]
- Accent: [style accent color]
Style notes: [specific style characteristics to emphasize]
[If no title:]
Note: No title text, pure visual illustration only.
Step 5: Generate Image
Image Generation Skill Selection:
- Check available image generation skills
- If multiple skills available, ask user to choose
Generation:
Call selected image generation skill with prompt file and output path.
Step 6: Output Summary
Cover Image Generated!
Topic: [topic]
Style: [style name]
Title: [cover title] (or "No title - visual only")
Location: [output path]
Preview the image to verify it matches your expectations.
Notes
- Cover should be instantly understandable at small preview sizes
- Title (if included) must be readable and impactful
- Visual metaphors work better than literal representations
- Maintain style consistency throughout the cover
- Image generation typically takes 10-30 seconds
- Title text language should match content language
1---2name: baoyu-cover-image3description: Generate elegant cover images for articles. Analyzes content and creates eye-catching hand-drawn style cover images with multiple style options. Use when user asks to "generate cover image", "create article cover", or "make a cover for article".4---56# Cover Image Generator78Generate hand-drawn style cover images for articles with multiple style options.910## Usage1112```bash13# From markdown file (auto-select style based on content)14/baoyu-cover-image path/to/article.md1516# Specify a style17/baoyu-cover-image path/to/article.md --style tech18/baoyu-cover-image path/to/article.md --style warm19/baoyu-cover-image path/to/article.md --style bold2021# Without title text22/baoyu-cover-image path/to/article.md --no-title2324# Combine options25/baoyu-cover-image path/to/article.md --style minimal --no-title2627# From direct text input28/baoyu-cover-image29[paste content or describe the topic]3031# Direct input with style32/baoyu-cover-image --style playful33[paste content]34```3536## Options3738| Option | Description |39|--------|-------------|40| `--style <name>` | Specify cover style (see Style Gallery below) |41| `--no-title` | Generate cover without title text (visual only) |4243## Style Gallery4445| Style | Description |46|-------|-------------|47| `elegant` (Default) | Refined, sophisticated, understated |48| `tech` | Modern, clean, futuristic |49| `warm` | Friendly, approachable, human-centered |50| `bold` | High contrast, attention-grabbing, energetic |51| `minimal` | Ultra-clean, zen-like, focused |52| `playful` | Fun, creative, whimsical |53| `nature` | Organic, calm, earthy |54| `retro` | Vintage, nostalgic, classic |5556Detailed style definitions: `references/styles/<style>.md`5758## Auto Style Selection5960When no `--style` is specified, the system analyzes content to select the best style:6162| Content Signals | Selected Style |63|----------------|----------------|64| AI, coding, tech, digital, algorithm | `tech` |65| Personal story, emotion, growth, life | `warm` |66| Controversial, urgent, must-read, warning | `bold` |67| Simple, zen, focus, essential | `minimal` |68| Fun, easy, beginner, casual, tutorial | `playful` |69| Nature, eco, wellness, health, organic | `nature` |70| History, classic, vintage, old, traditional | `retro` |71| Business, professional, strategy, analysis | `elegant` |7273## File Management7475### With Article Path7677Save to `imgs/` subdirectory in the same folder as the article:7879```80path/to/81├── article.md82└── imgs/83 ├── prompts/84 │ └── cover.md85 └── cover.png86```8788### Without Article Path8990Save to current working directory:9192```93./94├── cover-prompt.md95└── cover.png96```9798## Workflow99100### Step 1: Analyze Content101102Extract key information:103- **Main topic**: What is the article about?104- **Core message**: What's the key takeaway?105- **Tone**: Serious, playful, inspiring, educational?106- **Keywords**: Identify style-signaling words107108### Step 2: Select Style109110If `--style` specified, use that style. Otherwise:1111. Scan content for style signals (see Auto Style Selection table)1122. Match signals to most appropriate style1133. Default to `elegant` if no clear signals114115### Step 3: Generate Cover Concept116117Create a cover image concept based on selected style:118119**Title** (if included, max 8 characters):120- Distill the core message into a punchy headline121- Use hooks: numbers, questions, contrasts, pain points122- Skip if `--no-title` flag is used123124**Visual Elements**:125- Style-appropriate imagery and icons126- 1-2 symbolic elements representing the topic127- Metaphors or analogies that fit the style128129### Step 4: Create Prompt File130131**Prompt Format**:132133```markdown134Cover theme: [topic in 2-3 words]135Style: [selected style name]136137[If title included:]138Title text: [8 characters or less, in content language]139Subtitle: [optional, in content language]140141Visual composition:142- Main visual: [description matching style]143- Layout: [positioning based on title inclusion]144- Decorative elements: [style-appropriate elements]145146Color scheme:147- Primary: [style primary color]148- Background: [style background color]149- Accent: [style accent color]150151Style notes: [specific style characteristics to emphasize]152153[If no title:]154Note: No title text, pure visual illustration only.155```156157### Step 5: Generate Image158159**Image Generation Skill Selection**:1601. Check available image generation skills1612. If multiple skills available, ask user to choose162163**Generation**:164Call selected image generation skill with prompt file and output path.165166### Step 6: Output Summary167168```169Cover Image Generated!170171Topic: [topic]172Style: [style name]173Title: [cover title] (or "No title - visual only")174Location: [output path]175176Preview the image to verify it matches your expectations.177```178179## Notes180181- Cover should be instantly understandable at small preview sizes182- Title (if included) must be readable and impactful183- Visual metaphors work better than literal representations184- Maintain style consistency throughout the cover185- Image generation typically takes 10-30 seconds186- Title text language should match content language