huashu-xhs-image

Generate Xiaohongshu cover images via Gemini 3 Pro Image API.

16|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Marwan78888/Neuron-Cli --skill huashu-xhs-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huashu-xhs-image
Source: https://github.com/Marwan78888/Neuron-Cli/tree/main/scratch/huashu-skills-master/huashu-xhs-image
Command: npx skills add https://github.com/Marwan78888/Neuron-Cli --skill huashu-xhs-image

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai>=1.0.0, pillow>=10.0.0, httpx[socks], and includes scripts (resource) and references (resource) components.

What problem does it solve?

为小红书笔记生成高质量配图。默认AI生成(Gemini),仅精确数据表格用HTML兜底。当用户提到"小红书配图"、"小红书封面"、"小红书图片"、"做张小红书图"、"笔记配图"时使用此技能。

Core Features & Use Cases

  • 自动生成高质量的小红书封面图(AI 版本,Gemini 3 Pro Image)。
  • HTML兜底渲染确保文本可读性与对比度,减少AI渲染错误。
  • 完整工作流:理解内容、提案设计、生成图片、预览确认、上传分发。
  • 支持多路径输出:AI生成与HTML截图两条路径,确保选择多样性。

Quick Start

提供一个小红书笔记的主题,由技能生成两种设计方向的封面图供选择。

Frequently Asked Questions about huashu-xhs-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate Xiaohongshu cover images for note posts?

Automating Xiaohongshu cover images uses the Gemini 3 Pro Image API to create visual assets, applying a 3:4 portrait format at 2K resolution. It provides AI-generated images and HTML-based renders for precise data tables.

Do I need the Gemini API to create Xiaohongshu images with AI?

Yes, creating Xiaohongshu images with AI requires Gemini API access along with the Pillow and httpx image libraries. These dependencies enable the automated generation of high-quality note covers.

What is the default image resolution and aspect ratio for Xiaohongshu cover design?

The default image resolution for Xiaohongshu cover design is 2K, strictly enforcing a 3:4 portrait format. This ensures generated visual assets meet platform specifications for note posts.

Can I use HTML rendering instead of AI generation for Xiaohongshu note covers?

Yes, you can use HTML rendering as a fallback path for Xiaohongshu note covers to ensure text readability and contrast. This reduces AI rendering errors when displaying precise data tables.

How to organize and preview generated Xiaohongshu cover images?

To organize and preview generated Xiaohongshu covers, the workflow outputs images into versioned folders containing prompts and previews. This allows you to confirm designs before the final upload step.

What is the best way to handle text readability issues in AI-generated Xiaohongshu images?

The best way to handle text readability in AI-generated Xiaohongshu images is using the HTML-based render fallback path. This method ensures high contrast and reduces rendering errors for precise data tables.