
Huashu Image Upload
This handles the entire workflow for adding images to WeChat articles: it analyzes your content to determine where 5-8 images should go, generates or fetches them from public domain sources or AI, uploads everything to ImgBB for permanent hosting, and inserts the markdown links directly into your article. The source priority is smart: public domain art first, then AI generation via Volcano Engine's doubao-seedream API, then free stock photos. It includes a Python script at /tools/upload_image.py that prevents the common problem of temporary URLs expiring. The five-step checklist is thorough, covering everything from image sizing (封面图 at 1200x600px) to alt text. If you're writing long-form Chinese content for WeChat and tired of manually managing images, this systematizes the whole process.
- skills.sh installs
- 678
- GitHub stars
- 2.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add alchaincyf/huashu-skills --skill huashu-image-upload --agent claude-codeInstalls into .claude/skills of the current project.
Files
图片配图与上传
为公众号文章自动生成配图、上传到图床、插入Markdown链接的专业能力。
何时使用此Skill
当检测到以下场景时,自动加载此skill:
- 用户说"现在配图"、"帮我配图"、"添加图片"
- 文章审校完成后提到配图需求
- 检测到文章内容完整但缺少图片
核心功能
- 分析配图需求:根据文章内容确定需要5-8张配图
- 获取图片源:
- 公共领域作品(Wikimedia Commons、Google Arts & Culture)
- AI生成图片(火山引擎 doubao-seedream API)
- 免费图库(Unsplash、Pexels)
- 自动上传图床:调用ImgBB图床,获取永久链接
- 插入Markdown:将图片链接插入文章对应位置
- 验证显示:确保所有图片链接有效
配图数量规范
- 推荐:5-8张
- 最少:3张(题图 + 2张正文图)
- 最多:不超过10张(避免过度打断阅读)
配图位置策略
必配图位置:
- ✅ 题图(封面图):标题下方,必须
- ✅ 核心章节:每个重点章节配1张
可选配图位置:
- 理论支撑(如引用经典著作)
- 数据可视化(对比图、图表)
- 案例补充(产品截图、示例)
图片来源优先级
1️⃣ 公共领域作品(最优先)
- 来源:Wikimedia Commons、Google Arts & Culture
- 适用:经典艺术作品、历史人物肖像、古籍封面
- 优点:免费、无版权问题、高质量
- 示例:梵高《星空》、康德肖像
- 操作:WebFetch获取Wikimedia Commons图片链接
2️⃣ AI生成(推荐)
- 来源:火山引擎 doubao-seedream-4-0-250828
- 适用:题图、概念图、抽象主题
- 优点:原创、可定制、快速
- 操作:调用API生成图片,返回临时URL
3️⃣ 免费图库
- 来源:Unsplash、Pexels、Pixabay
- 适用:题图、概念图、背景图
- 优点:免费、高质量、商业可用(CC0)
- 操作:WebFetch搜索 + 下载
4️⃣ 截图/官方素材(需注明来源)
- 来源:YouTube、B站、产品官网、电影海报
- 适用:案例图(产品截图、视频截图)
- 注意:注明来源,合理使用原则
- 操作:提醒用户自行截图,或生成AI概念图替代
图床上传流程
Sponsors
Details
- Repository
- github.com/alchaincyf/huashu-skills
- First seen
- Jun 3, 2026
More from alchaincyf/huashu-skills
All 21- Huashu Video Check675
- Huashu Material Search673
- Huashu Agent Swarm672
- Huashu Prompt Save662
- Huashu Md To Pdf1.1K
- Huashu Douyin Script1K
- Huashu Proofreading883
- Huashu Slides844
- Huashu Design776
- Huashu Research753
- Huashu Data Pro748
- Huashu Script Polish741
- Huashu Wechat Image740
- Huashu Xhs Image740
- Huashu Topic Gen734
- Huashu Speech Coach731
- Huashu Article Edit698
- Huashu Video Outline693
- Huashu Info Search692
- Huashu Article To X687