xhs-imagen

Generate publish-ready Xiaohongshu image-and-text posts with research, storyboards, and character-consistent illustrations.

120|4|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NimaChu/xhs-imagen --skill xhs-imagen-nimachu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xhs-imagen
Source: https://github.com/NimaChu/xhs-imagen
Command: npx skills add https://github.com/NimaChu/xhs-imagen --skill xhs-imagen-nimachu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Creating a Xiaohongshu carousel normally requires separate research, copywriting, pagination, image prompting, and quality review across multiple tools. This Skill turns a topic, article, or rough idea into a complete publishable package—research notes, post copy, storyboard, a 3:4 cover, 9:16 content pages, and a QA report—in one workflow. ## Core Features & Use Cases - End-to-end content pipeline: Researches and fact-checks claims, selects pages by cognitive anchors instead of mechanical splitting, and writes Xiaohongshu titles, body copy, and hashtags. - Six character-and-style visual profiles: Binds character identity, medium, palette, and anti-drift rules (e.g., alpaca-line-art, toolbox-bot-risograph) so illustrations stay consistent across pages. - Dual rendering paths: Prefers an available image-generation model using one character reference sheet, and falls back to a deterministic local SVG-to-PNG renderer when no image tool exists. - Use Case: Ask for a carousel explaining "why RAG is not installing knowledge into a model" and receive a validated project.json, per-page image prompts, a 3:4 cover, six 9:16 pages, publishable copy, and a QA report checking ratios, text accuracy, and character drift. ## Quick Start Ask your agent to use the xhs-imagen skill to research your topic and create a Xiaohongshu post with a 3:4 cover, several 9:16 content pages, and publishable copy, optionally naming one of the six visual profiles.

Frequently Asked Questions about xhs-imagen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Xiaohongshu carousel from a topic?▼

Give the skill a topic, article, or rough idea and it produces a full package: research notes, post copy, storyboard, a 3:4 cover, 5-8 nine-by-sixteen content pages, and a QA report. You can optionally specify one of six visual profiles to control character and art style.

What image sizes does Xiaohongshu require for covers and content pages?▼

This skill uses a 3:4 cover at 1080 by 1440 pixels and 9:16 content pages at 1080 by 1920 pixels. The included check_png_ratios.py script verifies every exported PNG matches these ratios within a small tolerance.

Can I create Xiaohongshu images without an image-generation model?▼

Yes. When no image-generation tool is available, the skill falls back to a deterministic local SVG-to-PNG renderer that produces knowledge-card layouts with stable Chinese text. It tries rsvg-convert, Inkscape, macOS sips or qlmanage, ImageMagick, or a custom export script.

How do I keep a character consistent across multiple generated images?▼

Each visual profile binds one character to one art style with a single character-sheet.png reference. Attach only that profile's reference to each generation call, and follow the immutable traits and drift checks in the character-consistency reference.

Why does the skill avoid rendering page numbers into images?▼

Page numbers baked into artwork prevent reordering pages at publish time. The skill keeps ordering only in filenames like page-01.png, so you can freely rearrange the carousel before posting; numbered steps are allowed only when they explain the content itself.