space-xhs-image

Generate 3:4 Xiaohongshu infographic series from articles using Codex built-in image generation.

Updated Aug 16, 2026
One-click install
npx skills add https://github.com/chuanyue98/skillhub --skill space-xhs-image-chuanyue98
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: space-xhs-image
Source: https://github.com/chuanyue98/skillhub/tree/main/vendored/SpaceZephyr/creator-buddy/xhs-Skills/space-xhs-image
Command: npx skills add https://github.com/chuanyue98/skillhub --skill space-xhs-image-chuanyue98

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve? Turning long-form articles, tutorials, SOPs, or checklists into publish-ready Xiaohongshu (Little Red Book) image posts requires design skills and repetitive layout work. This Skill converts user content into consistent 3:4 vertical infographics using Codex's built-in image_gen model, with no API keys or external image backends required. ## Core Features & Use Cases - Fixed Visual System: Applies a locked "light AI product infographic" style with white/lavender backgrounds, black bold headlines, violet-blue and lime-green accents, rounded cards, and linear tech icons, enforced via a reusable Style Lock prompt. - Structured Page Planning: Splits content into 1, 6, 7, 8, or 9 pages using a library of page patterns (cover, flow, comparison, checklist, before/after, acceptance criteria) with source-grounded copy mapping. - Quality Verification: Ships a Python script that checks aspect ratio, 1080x1440 sizing, edge brightness, and file size, and exports 260px thumbnails for manual text review. - Use Case: A finance blogger pastes an 8-step automation SOP and asks for an 8-image Xiaohongshu carousel; the Skill plans the page sequence, generates each image with verbatim Chinese text, verifies specs, and saves versioned PNGs to the workspace. ## Quick Start Use the space-xhs-image skill to turn my attached tutorial into an 8-image 3:4 Xiaohongshu infographic series and save the final PNGs to my workspace.

Frequently Asked Questions about space-xhs-image

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

FAQPage Schema
How do I generate Xiaohongshu infographic images from an article?▼

Provide your article, tutorial, or SOP and request single images or a carousel. The Skill reads the full content, plans a page sequence, then calls Codex built-in image_gen once per page with verbatim text prompts, producing 1080x1440 PNG files.

How many images should a Xiaohongshu carousel have?▼

The Skill supports 1 cover image or series of 6 to 9 pages. Defaults by content type: short checklists get 6 pages, full methods 7, hands-on tutorials 8, and complete SOPs 9 pages.

Does this image generation require an API key or external backend?▼

No API key is required. The Skill uses only the Codex built-in image_gen model and never calls third-party image generation services or probes external backends.

Can I use reference images to match a visual style?▼

Yes, you can provide 1-3 reference images marked as visual-language references only. The Skill borrows color relationships and layout hierarchy but explicitly forbids copying account names, logos, watermarks, text, or exact layouts.

What are the limitations of AI-generated infographic text?▼

Image models can produce Chinese character errors when text density is high. The Skill limits inner pages to 120-180 characters and verifies output; for 100% text accuracy it recommends using an HTML-based skill instead.

How do I check generated images meet Xiaohongshu specs?▼

Run python3 scripts/check_image.py on the output PNGs. It verifies 3:4 aspect ratio, 1080x1440 dimensions, light edge brightness, file size under 5MB, and exports a 260px thumbnail for manual text review.