返回顶部
b

baoyu-cover-image文章封面生成

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.103.1
安全检测
已通过
2,393
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

baoyu-cover-image

封面图片生成器

为文章生成优雅的封面图片,支持5维自定义。

使用方法

bash

根据内容自动选择尺寸


/baoyu-cover-image path/to/article.md

快速模式:跳过确认

/baoyu-cover-image article.md --quick

指定尺寸

/baoyu-cover-image article.md --type conceptual --palette warm --rendering flat-vector

样式预设(调色板+渲染的简写)

/baoyu-cover-image article.md --style blueprint

带参考图片

/baoyu-cover-image article.md --ref style-ref.png

直接输入内容

/baoyu-cover-image --palette mono --aspect 1:1 --quick [paste content]

选项

选项描述
--type <name>hero, conceptual, typography, metaphor, scene, minimal
--palette <name>
warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone, macaron | | --rendering | flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print | | --style | 预设简写(参见样式预设) | | --text | none, title-only, title-subtitle, text-rich | | --mood | subtle, balanced, bold | | --font | clean, handwritten, serif, display | | --aspect | 16:9(默认), 2.35:1, 4:3, 3:2, 1:1, 3:4 | | --lang | 标题语言(en, zh, ja等) | | --no-title | --text none的别名 | | --quick | 跳过确认,使用自动选择 | | --ref | 用于样式/构图指导的参考图片 |

五维参数

维度可选值默认值
类型hero, conceptual, typography, metaphor, scene, minimalauto
调色板
warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone, macaron | auto | | 渲染风格 | flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print | auto | | 文字 | none, title-only, title-subtitle, text-rich | title-only | | 氛围 | subtle, balanced, bold | balanced | | 字体 | clean, handwritten, serif, display | clean |

自动选择规则:references/auto-selection.md

图库

类型: hero, conceptual, typography, metaphor, scene, minimal
→ 详情:references/types.md

调色板: warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone, macaron
→ 详情:references/palettes/

渲染风格: flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print
→ 详情:references/renderings/

文字层级: none(纯视觉)| title-only(默认)| title-subtitle | text-rich(带标签)
→ 详情:references/dimensions/text.md

氛围层级: subtle(低对比度)| balanced(默认)| bold(高对比度)
→ 详情:references/dimensions/mood.md

字体: clean(无衬线)| handwritten | serif | display(粗体装饰)
→ 详情:references/dimensions/font.md

文件结构

根据defaultoutputdir偏好设置输出目录:

  • - same-dir: {article-dir}/
  • imgs-subdir: {article-dir}/imgs/
  • independent(默认): cover-image/{topic-slug}/

/
├── source-{slug}.{ext} # 源文件
├── refs/ # 参考图片(如有提供)
│ ├── ref-01-{slug}.{ext}
│ └── ref-01-{slug}.md # 描述文件
├── prompts/cover.md # 生成提示词
└── cover.png # 输出图片

标识符: 2-4个单词,短横线命名。冲突时:追加-YYYYMMDD-HHMMSS

工作流程

进度清单

封面图片进度:

  • - [ ] 步骤0:检查偏好设置(EXTEND.md)⛔ 阻塞
  • [ ] 步骤1:分析内容 + 保存参考 + 确定输出目录
  • [ ] 步骤2:确认选项(6个维度)⚠️ 除非使用--quick
  • [ ] 步骤3:创建提示词
  • [ ] 步骤4:生成图片
  • [ ] 步骤5:完成报告

流程

输入 → [步骤0:偏好设置] ─┬─ 找到 → 继续
└─ 未找到 → 首次设置 ⛔ 阻塞 → 保存EXTEND.md → 继续

分析 + 保存参考 → [输出目录] → [确认:6个维度] → 提示词 → 生成 → 完成

(如果使用--quick或全部指定则跳过)

步骤0:加载偏好设置 ⛔ 阻塞

检查EXTEND.md是否存在(优先级:项目 → 用户):
bash

macOS, Linux, WSL, Git Bash


test -f .baoyu-skills/baoyu-cover-image/EXTEND.md && echo project
test -f ${XDGCONFIGHOME:-$HOME/.config}/baoyu-skills/baoyu-cover-image/EXTEND.md && echo xdg
test -f $HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md && echo user

powershell

PowerShell(Windows)


if (Test-Path .baoyu-skills/baoyu-cover-image/EXTEND.md) { project }
$xdg = if ($env:XDGCONFIGHOME) { $env:XDGCONFIGHOME } else { $HOME/.config }
if (Test-Path $xdg/baoyu-skills/baoyu-cover-image/EXTEND.md) { xdg }
if (Test-Path $HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md) { user }

结果操作
找到加载,显示摘要 → 继续
未找到
⛔ 运行首次设置(references/config/first-time-setup.md)→ 保存 → 继续 |

关键: 如果未找到,在任何其他步骤或问题之前完成设置。

步骤1:分析内容

  1. 1. 保存参考图片(如有提供)→ references/workflow/reference-images.md
  2. 保存源内容(如粘贴,保存到source.md)
  3. 分析内容:主题、语气、关键词、视觉隐喻
  4. 深度分析参考 ⚠️:提取具体、明确的元素(参见reference-images.md)
  5. 检测语言:比较源内容、用户输入、EXTEND.md偏好
  6. 确定输出目录:根据文件结构规则

⚠️ 参考图片中的人物:

如果参考图片包含人物且应出现在封面中:

  • - 模型支持--ref(默认):将图片复制到refs/,生成时通过--ref传递。无需描述文件——模型直接看到面部。
  • 模型不支持--ref(Jimeng, Seedream 3.0):创建refs/ref-NN-{slug}.md,包含每个角色的描述(头发、眼镜、肤色、服装)。在提示词文本中嵌入为MUST/REQUIRED指令。

完整决策表参见reference-images.md

步骤2:确认选项 ⚠️

必须使用AskUserQuestion工具以交互式选择呈现选项——而非纯文本表格。在单个AskUserQuestion调用中最多呈现4个问题(类型、调色板、渲染、字体+设置)。每个问题首先显示推荐选项及其理由,然后是备选方案。

完整确认流程和问题格式:references/workflow/confirm-options.md

|

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 baoyu-cover-image-1776119703 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 baoyu-cover-image-1776119703 技能

通过命令行安装

skillhub install baoyu-cover-image-1776119703

下载

⬇ 下载 baoyu-cover-image v1.103.1(免费)

文件大小: 44.8 KB | 发布时间: 2026-4-17 14:11

v1.103.1 最新 2026-4-17 14:11
## 1.103.1 - 2026-04-13

### Fixes
- `baoyu-markdown-to-html`: decode HTML entities and strip tags from article summary
- `baoyu-post-to-weibo`: decode HTML entities and strip tags from article summary

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部