rednote-card-generator
Installation
SKILL.md
RedNote Card Generator
Overview
Use rednote-card-generator to turn any text content into a beautifully styled Xiaohongshu (小红书) carousel post. The output is a single, self-contained HTML string that renders multiple vertical cards (each 450×600 px) stacked vertically with a 20 px gap.
The skill calls the OpenRouter API (model: google/gemini-2.5-flash with fallback to google/gemini-2.5-flash-lite) and streams the HTML response back.
Inputs to collect
| Field | Required | Description |
|---|---|---|
content |
Yes | The text content to turn into RedNote cards. Can be plain text or light HTML. |
colorScheme |
No | One of: auto (default), warm-brown, sunset, ocean, forest, lavender, monochrome. Controls the dominant palette. |
openrouterApiKey |
Yes | A valid OpenRouter API key (Bearer token). |
Output
Returns a JSON object: