xiaohongshu-cover-generator
Installation
SKILL.md
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