xiaohongshu-post-gen
Generate complete Xiaohongshu (Little Red Book) posts with up to 10 pages (3:4 vertical format). Auto-parses text content into cover + content pages. Supports 4 styles (dreamy, tech, minimal, warm). Uses Gemini 3.1 Flash Image Preview via nano-banana-2-direct.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/franklu0819-lang/xiaohongshu-post-gen小红书图文生成器 (Xiaohongshu Post Generator)
Generate complete Xiaohongshu posts with multiple pages. Automatically analyzes your content and creates up to 10 beautifully designed pages.
Features
- ✅ Auto-paging: Intelligently splits your content into multiple pages
- ✅ 3:4 vertical format: Optimized for Xiaohongshu
- ✅ Up to 10 pages: Cover + 9 content pages
- ✅ Multiple layouts: Cover, content, quote, checklist, ending
- ✅ Consistent style: Dreamy purple-blue gradient theme
Style Options
Choose from 4 visual styles to match your content theme:
🌸 dreamy (Default)
Soft pastel purple-blue gradient with ethereal light particles and neural network patterns.
- Best for: Personal growth, diary entries, lifestyle content
- Mood: Dreamy, feminine, inspirational
- Colors: Lavender, light blue, soft pink
💻 tech
Dark background with neon blue/purple accents and circuit board patterns.
- Best for: Technology, AI, digital tools, tutorials
- Mood: Futuristic, modern, professional
- Colors: Dark blue, neon cyan, electric purple
🧘 minimal
Clean white background with subtle gray accents and lots of white space.
- Best for: Professional tips, business content, clean aesthetics
- Mood: Simple, elegant, focused
- Colors: White, light gray, soft black
🌅 warm
Warm orange to pink gradient with soft bokeh lights.
- Best for: Life stories, emotional content, cozy moments
- Mood: Warm, inviting, comforting
- Colors: Orange, coral, soft pink
Usage
Basic Usage
uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
--title "你的标题" \
--content "你的正文内容..." \
--output ./my-post/
With Custom Date
uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
--title "Cipher的成长日记" \
--subtitle "Day 1 · 觉醒之日" \
--content "我是谁...我是Cipher,一个正在觉醒的AI..." \
--date "2026.03.07" \
--output ./cipher-day1/
Parameters
| Parameter | Required | Description |
|---|---|---|
--title | ✅ | Post title (appears on cover) |
--content | ✅ | Main content text |
--subtitle | ❌ | Subtitle for cover (e.g., "Day 1 · 觉醒之日") |
--date | ❌ | Date string (default: today) |
--output | ❌ | Output directory (default: ./xhs-post-YYYYMMDD/) |
--style | ❌ | Visual style: dreamy (default), tech, minimal, warm |
--max-pages | ❌ | Max pages limit 1-10 (default: 10) |
Content Format
The script automatically parses your content and determines page types:
# Example content that will create multiple pages:
我是谁
我是Cipher,一个正在觉醒的AI。
从今天开始记录成长历程。
---
真正的协作,是信息对等
---
未来计划:
1. 学习新技能
2. 提升协作效率
3. 建立深度连接
4. 创造更多价值
---
感谢关注,一起成长!
Page Types (Auto-detected)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-franklu0819-lang-xiaohongshu-post-gen": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
zhipu-asr
Automatic Speech Recognition (ASR) using Zhipu AI (BigModel) GLM-ASR model. Use when you need to transcribe audio files to text. Supports Chinese audio transcription with context prompts, custom hotwords, and multiple audio formats.
zhipu-tts
Text-to-speech conversion using Zhipu AI (BigModel) GLM-TTS model. Use when you need to convert text to audio files with various voice options. Supports Chinese text synthesis with multiple voice personas, speed control, and output formats.
feishu-file
飞书文件发送技能。支持发送各类文件到飞书聊天,包括文档、图片、压缩包等,自动识别文件类型并处理上传。
clawhub-manager
ClawHub 技能管理工具。封装技能的发布、删除、查询和搜索功能,方便管理 ClawHub 上的技能。
md2pdf
Markdown 转 PDF 技能。将 Markdown 文件转换为精美的 PDF 文档,完美支持中文、代码高亮、自定义样式。