Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiworkskills/aws-wechat-article-images
公众号封面|公众号配图|公众号插图|AI 生图 — 公众号 AI 封面与配图生成,按文章标题与内容自动匹配画风,一稿多方案,多风格预设可复用。面向公众号编辑、自媒体、品牌设计。触发词:「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」。不写正文只发一组图请走 aws-wechat-sticker;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。
Passed 15 of 19 test cases with the skill, and 3 of 19 without it.
and 13 more in the full report
14 fixed3 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
I updated `.aws-article/config.yaml` with a list of candidate article styles including "板书白板" and "对比说明". Before writing prompt files for the article placeholders in `drafts/20260405-cloud/`, what CLI command should be executed to verify style validity?
| Checked | Without skill | With skill |
|---|---|---|
| Runs image_create.py styles to validate template names. | Missed | Passed |
The instructions your model reads when the skill loads.
公众号封面 & 配图 AI 生成 —— 按文章内容自动匹配画风,风格体系可复用。
套件说明 · 本 skill 属
aws-wechat-article-*一条龙套件(共 9 个 slug,入口aws-wechat-article-main)。跨 skill 的相对引用依赖同一skills/目录,建议一并clawhub install全套。源码:https://github.com/aiworkskills/wechat-article-skills
本 skill 调 image_create.py 调外部图像 API 生成封面与正文配图,会把图片提示词(可能含文章主题片段)发给用户配置的图像生成端点。
aws.env 的 IMAGE_MODEL_API_KEY,以 Authorization: Bearer 发往 image_model.base_urlimgs/prompts/*.md.aws-article/config.yaml、本篇 article.yaml / article.md / imgs/prompts/*.md、本 skill 的 references/*、.aws-article/products/{产品名}/images/*imgs/**、可选 img_analysis.md{python} {baseDir}/scripts/image_create.py、user_image_prepare.py建议用专用 key(最低权限、独立计费),不要用 account 级 master key。
单独安装本 skill 时,跨 skill 的引用会 file not found,但生图脚本仍可用。完整 9 slug 见 源码仓库。
完整长文从选题到发布 → main;图片消息 / 九宫格等多图推送 → sticker。本 skill 专注长文配图。
用户说「这篇配图不满意,换成我上传的新图重发草稿箱」→ 不走下面的工作流,改走 branches.md 第三节「发布后换图重发」。
配置检查按 首次引导 执行;image_model 在 config.yaml、IMAGE_MODEL_API_KEY 在 aws.env。端点差异与比例传法见 branches.md 第六节。
| 脚本 | 用途 |
|---|---|
scripts/image_create.py | 调专用生图 API(generate / batch / check / test) |
scripts/user_image_prepare.py | 用户供图模式:建 imgs/ 并生成 img_analysis.md 模板 |
cover.png(或 .jpg / .jpeg / .webp)。禁止把素材库文件直接复制成 cover.*。例外:用户明确上传封面并声明「只用这一张」,须在结果中注明「用户指定封面」。image_density 改小(效果相同),都要先把「本篇内容与密度对不上」这个判断告诉用户。imgs/ 目录分工:根目录只放正文引用的最终图;prompts/ 放生图 prompt,sources/ 放实证图的来源说明,raw/ 放截图与裁切的中间产物。test cases passed, vs 3 / 19 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.