词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
| 来源 | 内置(默认安装) |
| 路径 | skills/creative/baoyu-article-illustrator |
| 版本 | 1.57.0 |
| 作者 | 宝玉 (JimLiu) |
| 许可证 | MIT |
| 平台 | linux, macos, windows |
| 标签 | article-illustration, creative, image-generation |
| 维度 | 控制内容 | 示例 |
|---|---|---|
| 类型(Type) | 信息结构 | infographic、scene、flowchart、comparison、framework、timeline |
| 风格(Style) | 渲染方式 | notion、warm、minimal、blueprint、watercolor、elegant |
| 调色板(Palette) | 配色方案(可选) | macaron、warm、neon — 覆盖风格的默认颜色 |
type=infographic, style=vector-illustration, palette=macaron。edu-visual → 一次性指定 type + style + palette。参见 style-presets.md。| 类型 | 最适合 |
|---|---|
infographic | 数据、指标、技术内容 |
scene | 叙事、情感表达 |
flowchart | 流程、工作流 |
comparison | 并排对比、选项比较 |
framework | 模型、架构 |
timeline | 历史、演进 |
{output-dir}/
├── source-{slug}.{ext} # 仅用于粘贴内容
├── outline.md
├── prompts/
│ └── NN-{type}-{slug}.md
└── NN-{type}-{slug}.png| 输入 | 输出目录 | Markdown 插入路径 |
|---|---|---|
| 文章文件路径 | {article-dir}/imgs/ | imgs/NN-{type}-{slug}.png |
| 粘贴内容 | illustrations/{topic-slug}/(当前工作目录) | illustrations/{topic-slug}/NN-{type}-{slug}.png |
illustrations/ 子目录),请遵从用户要求。-YYYYMMDD-HHMMSS。prompts/ 下保存对应的 prompt 文件。- [ ] 步骤 1:检测参考图像(如有提供)
- [ ] 步骤 2:分析内容
- [ ] 步骤 3:确认设置(使用 clarify 工具,每次一个问题)
- [ ] 步骤 4:生成大纲
- [ ] 步骤 5:生成 prompt
- [ ] 步骤 6:生成图像(image_generate)
- [ ] 步骤 7:收尾vision_analyze,询问风格、调色板、构图和主题。将返回的描述通过 write_file 记录到 {output-dir}/references/NN-ref-{slug}.md。write_file / read_file 复制二进制文件 — 这些工具仅支持文本。如需本地副本留存记录,使用 terminal(cp "$src" "{output-dir}/references/NN-ref-{slug}.{ext}")。skill 本身无需读取二进制文件;它基于 vision 描述工作。image_generate 不接受图像输入,vision 描述将在步骤 5 中嵌入到 prompt 中。| 分析项 | 输出 |
|---|---|
| 内容类型 | 技术型 / 教程型 / 方法论型 / 叙事型 |
| 目的 | 信息传递 / 可视化 / 想象力激发 |
| 核心论点 | 2-5 个主要观点 |
| 插图位置 | 插图能增加价值的位置 |
read_file,或粘贴文本),并使用 write_file 将分析结果写入 {output-dir}/analysis.md。clarify 工具。由于 clarify 每次只处理一个问题,请先问最重要的问题。若用户请求中已包含答案,则跳过对应问题。| 顺序 | 问题 | 选项 |
|---|---|---|
| Q1 | 预设或类型 | [推荐预设]、[备选预设],或手动选择:infographic、scene、flowchart、comparison、framework、timeline、mixed |
| Q2 | 密度 | minimal(1-2 张)、balanced(3-5 张)、per-section(推荐)、rich(6+ 张) |
| Q3 | 风格 (若 Q1 已选预设则跳过) | [推荐]、minimal-flat、sci-fi、hand-drawn、editorial、scene、poster |
| Q4 | 调色板 (可选) | 默认(风格颜色)、macaron、warm、neon |
| Q5 | 语言 (仅当文章语言不明确时) | 文章语言 / 用户语言 |
clarify 问题不超过 2-3 个。若用户在请求中已指定这些内容,则完全跳过。outline.mdwrite_file 将 {output-dir}/outline.md 保存,包含 frontmatter(type、density、style、palette、image_count)及每张插图的条目:write_file 将文件保存到 {output-dir}/prompts/NN-{type}-{slug}.md,包含 YAML frontmatter。direct/style/palette)— 对于 direct 用法,在 prompt 中嵌入参考图像的文字描述(因为 image_generate 不接受参考 图像输入)。image_generate(prompt=..., aspect_ratio=...)。image_generate 返回包含图像 URL 的 JSON 结果;它不会写入磁盘,也不接受输出路径参数。ASPECT 映射到 image_generate 的枚举值:16:9 → landscape,9:16 → portrait,1:1 → square。自定义比例 → 映射到最近的命名比例。terminal 将返回的 URL 下载到 {output-dir}/NN-{type}-{slug}.png(例如 curl -sSL -o "{output-dir}/NN-{type}-{slug}.png" "{url}")。image_generate 选择后端。不要在 prompt 中写入模型名称并期望其路由生效。。Alt 文本:用文章语言简洁描述。Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style] | Palette: [palette or default]
Images: X/N generated| 操作 | 步骤 |
|---|---|
| 编辑 | 更新 prompt → 重新生成 → 更新引用 |
| 添加 | 确定位置 → 编写 prompt → 生成 → 更新大纲 → 插入 |
| 删除 | 删除文件 → 移除引用 → 更新大纲 |
| 文件 | 内容 |
|---|---|
| references/workflow.md | 详细流程 |
| references/usage.md | 调用示例 |
| references/styles.md | 风格图库 + 调色板图库 |
| references/style-presets.md | 预设快捷方式(type + style + palette) |
| references/prompt-construction.md | Prompt 模板 |
image_generate 的宽高比 — 该工具支持 landscape、portrait 和 square。自定义比例映射到最近的选项。image_generate 返回 URL,而非本地文件 — 在将本地图像路径插入文章前,始终通过 terminal(curl)下载。image_generate 使用用户配置的模型(默认:FAL FLUX 2 Klein 9B)。不要在 prompt 中写入 "use <model> to generate this" 并期望其路由生效。