公众号封面|公众号配图|公众号插图|AI 生图 — 公众号 AI 封面与配图生成,按文章标题与内容自动匹配画风,一稿多方案,多风格预设可复用。面向公众号编辑、自媒体、品牌设计。触发词:「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」。不写正文只发一组图请走 aws-wechat-sticker;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。
设计与多媒体
Repo
试用公众号封面生成(WeChat cover studio)。当用户需要 公众号封面、封面图、文章配图、 设计封面、单图双用、微信封面、cover image、WeChat cover,或要为文章设计封面时触发。 工作流:读文章→定风格→选行业意象→生成1:1主图→PIL后处理,一次交付三种版式 (900×383头条 / 1080×1080方版 / 单图双用),单图双用通吃微信两种裁切比例, 中文标题100%无错字,内置程序化QA,适用所有公众号/自媒体创作者。
它能做什么
公众号封面生成(WeChat cover studio)。当用户需要 公众号封面、封面图、文章配图、 设计封面、单图双用、微信封面、cover image、WeChat cover,或要为文章设计封面时触发。 工作流:读文章→定风格→选行业意象→生成1:1主图→PIL后处理,一次交付三种版式 (900×383头条 / 1080×1080方版 / 单图双用),单图双用通吃微信两种裁切比例, 中文标题100%无错字,内置程序化QA,适用所有公众号/自媒体创作者。
技能文档
WeChat Cover Generator(公众号封面生成)
Overview
Generate production-ready WeChat Official Account article covers from an article file or a topic description. The workflow handles the entire pipeline: reading the article's publish info block (title candidates / summary / cover suggestion), choosing a visual style, generating a 1:1 master image, applying Chinese title overlay with system fonts, producing all three required formats, and running programmatic QA.
The critical rule this skill encodes: WeChat's backend accepts only ONE cover image, but automatically crops two displays — the headline card shows the full 2.35:1 image, while the share thumbnail shows the CENTER 1:1 region. Therefore key content must live in the central safe zone. See references/wechat-cover-rules.md §1.
Workflow
Step 1 · Read the article
Read the article file. Extract the publish-info block at the top (usually quoted lines starting with >):
- 标题(候选列表,选最贴合的一个,可浓缩为 4-8 字主标题 + 副标题)
- 摘要(80 字内)
- 封面建议(若有,作为风格参考;用户可要求自由发挥)
- 文章类型(科普/叙事/行业洞察 → 决定风格,见风格库)
Step 2 · Choose a style and industry imagery
Consult the style library in references/wechat-cover-rules.md §3. Quick guide:
| 文章类型 | 风格 |
|---|---|
| 科普、产品机制、技术原理 | 歸藏材质插画(白底 3D + IKB 蓝)或扁平插画 |
| 对比类(新旧、两体系) | 扁平插画 + 材质对比 |
| 叙事、人物、独白、深夜氛围 | 深夜氛围摄影(暖黄灯光 + 深蓝黑背景) |
Choose industry-specific imagery(references/wechat-cover-rules.md §3.5)— the most important step for cover quality:
- Follow the 意象选择三步法: list 3-5 candidate symbols for the topic's field, verify each is field-exclusive (reject generic symbols like yin-yang, hearts, stars, gears), then prefer material contrast against the counterpart.
- Use the 行业意象速查表 for common fields (中医/金融/教育/科技/西医/电商/农业/法律/建筑/历史), and search references for any niche/unfamiliar symbol before prompting.
- General rule: generic symbols dilute professionalism; field-exclusive tools and artifacts (针灸铜人, 算盘, 芯片, 化验单...) read instantly.
Step 3 · Generate the 1:1 master image
Use the image generation tool (ImageGen / equivalent) with size 1024x1024. Follow the prompt template in references/wechat-cover-rules.md §4.
Mandatory prompt requirements:
square 1:1 composition, subject fills the lower two thirds, centered horizontallyupper third reserved as clean empty background for title overlaygenerous safe margins, full subject visible, no crop- For short labels (2-5 chars) that the image model renders: list ALL labels with explicit positions and add
ALL N ... MUST appear, no exceptions, no omissions(多标签防漏技巧,§4)
Never ask the image model to render titles longer than ~6 characters — overlay them with PIL instead (§4, §5).
Step 4 · Run the post-processing script
Run scripts/make_cover.py with the generated 1:1 master image:
python scripts/make_cover.py \
--title "主标题" \
--subtitle "副标题" \
-o
The script produces (default modes square,wide,dual):
cover_1x1_*.png— 1080×1080 square share covercover_900x383_*.png— wide headline cover (crops the 2.35:1 band from center;--crop-centeradjusts, default 0.52)cover_单图双用.png— single-image dual-use cover: central 383×383 safe zone (subject + title) with blurred ambiance extension on both sides. This is the recommended upload.
Use --modes square or --modes wide to generate only specific formats.
Step 5 · Verify with built-in QA
The script runs automatic pixel-sampling QA after each render (title-region pixel counts). Check the output:
[QA] ... ✅for every mode. If a mode shows⚠️ 偏低, inspect the title region or re-run with adjusted parameters.- For extra verification (no image-viewing capability), follow the QA table in
references/wechat-cover-rules.md§6: background sampling, warm-pixel grid for subject location, title pixel count.
Step 6 · Deliver
- Present the
cover_单图双用.pngfirst (recommended upload), then the wide and square versions. - Also write a short 封面说明 markdown next to the covers recording: design rationale, title scheme, and QA results.
- File placement convention: if the article lives in a platform-organized folder structure (e.g.
docs/软文/公众号/02_科普_.../where each article has its own subfolder holding copy + images), save all generated covers and the 封面说明 into that article's subfolder — never scatter them at the platform root. Platform-level files (e.g._发布须知.md) stay at the platform root.
Concrete Example
User: "给这篇文章做一个封面" (attaching an article .md)
- Read article → extract title candidates & cover suggestion.
- Pick style (article-type → style library) and pick industry imagery (§3.5 意象三步法 + 速查表).
- ImageGen 1024×1024 with prompt template (subject centered, upper third empty).
python make_cover.py master.png --title "最难的不是技术" --subtitle "做灵素AI 这一年" -o- Confirm 3 QA ✅ lines.
- Present dual-use + wide + square, write 封面说明.md.
Resources
scripts/make_cover.py— PIL post-processing: title/subtitle overlay (auto light/dark text color by background), 900×383 crop, 1080×1080 square, 383×383 central safe-zone dual-use layout, programmatic QA. Auto-detects Chinese fonts (Windows 微软雅黑 / macOS 苹方 / Linux Noto).references/wechat-cover-rules.md— WeChat cover crop mechanics, full workflow, style library (with prompt elements per style), industry-specific imagery library with 意象三步法 + 10-domain quick-reference table (中医/金融/教育/科技/西医/电商/农业/法律/建筑/历史), ImageGen prompt templates, multi-label anti-dropout tricks, PIL title spec, QA table, delivery checklist.
相关技能
公众号爆款封面AI设计工具。基于全网每日收录的10w+文章数据,获取同赛道爆款封面视觉元素,通过AI分析总结高转化视觉规律,生成贴合文章内容、符合平台流量审美的封面设计方案。当用户设计公众号封面、生成封面方案、查询爆款封面规律时使用。触发词:公众号封面、封面设计、爆款封面、封面方案、封面生图。
Turn an article title, topic, summary, or reference image into a WeChat Official Account cover, WeChat article cover, article hero image, post cover, headline image, or supporting article visual. This AI cover generator and article cover maker distills one clear visual hook, then creates either a rendered headline or a text-free headline-safe area. Use logos, portraits, products, and brand references to shape a brand cover image, and refine composition, focal point, color, thumbnail clarity, and crop resilience for a publish-ready WeChat cover design.
Create a WeChat Channels video cover, WeChat Video Account cover, or WeChat Channels thumbnail from a video topic, title, script, key frame, portrait, product photo, or reference image. This AI video cover maker builds a clear focal visual, a text-safe area, and a channel-consistent cover direction for WeChat Channels videos, creator updates, product explainers, local-business posts, and knowledge content.
为公众号「网瘾中年」生成 2.35:1 横版封面提示词。基于品牌机器人 IP、工程蓝 VI 规范、NVH 频率曲线视觉符号,经过三轮问答输出可直接用于即梦/Seedream/Nano Banana/GPT-Image 等多参考图生图模型的提示词。关键词:公众号封面、提示词生成、品牌 IP、工程视觉、2.35:1。
小说封面生成。根据书名、作者名自动分析题材风格,调用 GPT-Image-2 直接生成含标题和署名的专业级网文封面。 触发方式:/story-cover、/封面、「帮我做个封面」「生成封面图」「做个小说封面」「封面设计」