
Xiaohongshu Cover Generator
This generates cover images in the Xiaohongshu (Little Red Book) style, that distinctively Chinese social media aesthetic with clean text layouts and mobile-first proportions. You give it a topic, it calls the Canghe API, and drops a 3:4 ratio PNG in your current directory with automatic watermark removal. You'll need an API key from canghe.ai. It's surprisingly specific in its purpose, which is actually refreshing. If you're targeting Chinese social media or just like that particular visual style for content, this does one thing without trying to be a Swiss Army knife. The output quality depends entirely on the API backend, but the integration is straightforward enough that you can have a cover image in seconds.
- skills.sh installs
- 1.9K
- GitHub stars
- 98
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/freestylefly/xiaohongshu-skills
- Categories
- Code Review & Quality, Automation & Workflows