Xiaohongshu Cover Generator
AI-generated Xiaohongshu-style cover images from a topic, saved to the current project directory.
- CCM score
- 48 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 98
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers cover generation from a user topic, producing a 3:4 vertical image suited to mobile viewing
- Requires a
CANGHE_API_KEYenvironment variable or a key passed as an argument toscripts/handler.ts - Writes output as
xiaohongshu-cover-{timestamp}.pnginto the directory where the skill was invoked - Designed for creators who need a clean, youthful social media cover without manual design work
Install
$ npx -y skills add freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Xiaohongshu Cover Generator
This skill generates Xiaohongshu-style cover images based on user-provided topics.
Usage
When a user requests a Xiaohongshu cover image:
- Confirm the topic with the user if not clear
- Check for API key (CANGHE_API_KEY environment variable or ask user to provide it)
- Run the generation script with the topic
- The image will be saved to the current working directory with filename format:
xiaohongshu-cover-{timestamp}.png
Running the Script
The script is located at scripts/handler.ts and requires:
- Topic (required): The subject for the cover image
- API Key (required): Either via environment variable
CANGHE_API_KEYor passed as argument
Execute with:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
npx tsx scripts/handler.ts "<topic>" "<api-key-optional>"
Or with environment variable:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
CANGHE_API_KEY="your-api-key" npx tsx scripts/handler.ts "<topic>"
API Key
Users need a valid API key from https://api.canghe.ai/
If the API key is missing or invalid, provide the user with clear instructions to obtain one.
Output
Details
- Repository
- github.com/freestylefly/xiaohongshu-skills
- Categories
- AI Image, Video & Voice, Social Media
Similar to Xiaohongshu Cover Generator
More AI Image, Video & Voicexiaohu-wechat-coverxiaohuailabs/xiaohu-wechat-format246 installsGenerates WeChat article cover images from an article path or topic in one step, with a fixed Notion-style prompt template.
story-coverzenstory-ai/oh-story-claudecode18.7K installsChinese web novel cover generator that auto-picks genre style and renders title and author name via GPT-Image-2.
canghe-cover-imagefreestylefly/canghe-skills552 installsCover image generator that customizes five dimensions (type, palette, rendering, text, mood) for article covers.
huashu-wechat-imagealchaincyf/huashu-skills749 installsChinese-language skill for generating WeChat Official Account article images, via AI generation or HTML rendering.
guizang-social-card-skillop7418/guizang-social-card-skill5.6K installsGenerate Guizang-style social card sets, Live Photo motion cards, and WeChat cover pairs from supplied source material.
ai-image-generatorjezweb/claude-skills1.5K installsAI image generation skill for Gemini and GPT Image models, covering model selection, prompting, and API calls.