xhs-cover

Generate Xiaohongshu (小红书) cover images with Chinese text overlays. Use when asked to create social media cover images, Xiaohongshu post images, or RED post covers. Supports split-screen comparisons, gradient backgrounds, and card layouts. Combines Pollinations.ai for AI base images with PIL for precise Chinese typography. Triggers on phrases like "小红书封面", "生成封面图", "make a cover image", "xhs cover", "xiaohongshu image".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "xhs-cover" with this command: npx skills add huuuwnnn-droid/xhs-cover-gen

XHS Cover Generator

Generate publication-ready Xiaohongshu (小红书) cover images (1080×1440, 3:4 ratio) with Chinese text overlays.

How It Works

  1. Base image: Either AI-generated via Pollinations.ai (--base-prompt) or solid color background
  2. Text overlay: Chinese text rendered with Noto Sans CJK font via PIL (auto-downloaded on first run)
  3. Output: JPEG at 95% quality, ready to post

Styles

StyleUse CaseExample
splitA vs B comparisonsPUA式AI vs 暖心AI
gradientSingle-topic postsAI工具测评
cardClean/minimal posts效率技巧分享

Usage

Run the generate script:

python3 scripts/generate.py \
  --title "主标题文字" \
  --subtitle "副标题" \
  --style split \
  --left-label "左侧标签" \
  --right-label "右侧标签" \
  --base-prompt "english prompt for AI base image" \
  --output cover.jpg

Parameters

  • --title (required): Main title text (Chinese OK)
  • --subtitle: Secondary text line
  • --tagline: Bottom tagline (split style only)
  • --style: split | gradient | card (default: gradient)
  • --left-label / --right-label: Labels for split style
  • --left-color / --right-color: R,G,B colors (default: red/green)
  • --base-prompt: English prompt for Pollinations.ai base image; if omitted, uses solid color
  • --width / --height: Dimensions (default: 1080×1440)
  • --output: Output path (default: cover.jpg)

Examples

Split comparison cover:

python3 scripts/generate.py \
  --title "同一个问题,两种AI的回答" \
  --subtitle "差距有多大?" \
  --tagline "一招设置反PUA人设" \
  --style split \
  --left-label "PUA式AI" --right-label "暖心AI" \
  --base-prompt "cute flat illustration, split screen, left pink sad robot, right green happy robot, kawaii pastel" \
  --output pua-vs-warm.jpg

Gradient tool review:

python3 scripts/generate.py \
  --title "2026最强AI编程助手" \
  --subtitle "Cursor vs Copilot vs Windsurf" \
  --style gradient \
  --base-prompt "futuristic code editor interface, purple blue gradient, clean minimal" \
  --output coding-tools.jpg

Card style tip:

python3 scripts/generate.py \
  --title "用AI写周报只需30秒" \
  --subtitle "打工人效率神器" \
  --style card \
  --left-color "70,130,255" \
  --output weekly-report.jpg

Requirements

  • Python 3 with Pillow (PIL)
  • curl for font download and Pollinations.ai
  • Internet access (first run downloads ~17MB CJK font, cached in /tmp)

Typical Workflow (for agents)

  1. Determine the post topic and style
  2. Craft an English prompt for the base image (descriptive, aesthetic keywords)
  3. Run generate.py with Chinese title/subtitle
  4. Send the resulting image to the user

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated