mcpField
B
book-cover-design

book-cover-design

github.com/qu-skills设计与 UI443 次安装12 周前更新
代码仓库

关于 book-cover-design

这是一个通过 inference.sh CLI 使用 AI 图像生成应用设计图书封面的技能,适合作者和封面设计人员。它按类型整理色彩、图像与排版建议,并涵盖尺寸选择、缩略图检查和迭代流程。

主要功能

  1. 01按书籍类型规划视觉方向
  2. 02提供印刷与电子书尺寸参考
  3. 03规划封面布局区域
  4. 04指导缩略图可读性检查
  5. 05提供提示词与迭代流程
  6. 06说明 AI 生成文字的局限

适用场景

  1. 01为不同类型小说制作封面概念
  2. 02为电子书选择封面比例与尺寸
  3. 03检查标题在缩略图中的可读性
  4. 04生成封面背景后另行添加文字

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/qu-skills/superpowers --skill book-cover-design

安装后在 Claude Code 中输入/book-cover-design确认已加载。

详细介绍

安装 belt CLI 技能: npx skills add belt-sh/cli

书籍封面设计

通过 inference.sh CLI 使用 AI 图像生成,创作符合类型特征的书籍封面。

快速开始

需要 inference.sh CLI(belt)。安装说明

belt login

# Generate a thriller cover concept
belt app run falai/flux-dev-lora --input '{
  "prompt": "dark moody book cover art, lone figure standing at end of a rain-soaked alley, dramatic chiaroscuro lighting, noir atmosphere, cinematic, high contrast shadows",
  "width": 832,
  "height": 1248
}'

类型惯例

读者会通过封面判断书籍。符合类型预期至关重要——无论内容如何,爱情小说读者都会略过看起来像科幻小说的封面。

虚构类
类型配色图像字体排版氛围
惊悚/悬疑深色(黑色、海军蓝、血红色)孤身人物、城市场景、阴影粗体无衬线、全大写紧张、不祥
爱情暖色(粉色、红色、金色、柔和紫色)情侣、鲜花、风景背景手写体/草书、优雅衬线体热烈、梦幻
科幻冷色(蓝色、青绿色、紫色、银色)太空、科技、几何图形简洁无衬线、未来感辽阔、科技感
奇幻浓郁饱和色(祖母绿、深红色、金色)宝剑、魔法、风景、生物装饰性衬线体、华丽史诗感、魔幻
文学小说柔和、雅致抽象、简约、象征性图像优雅衬线体、低调深思、艺术感
恐怖深色搭配高对比度亮色面孔、阴影、孤立、腐朽做旧、粗体、滴落效果恐惧、不安
历史小说棕褐色、符合时代背景的柔和色调时代服饰、建筑、文物古典衬线体怀旧、真实
非虚构类
类别风格图像字体排版
商业/自助成长简洁、大胆、2-3 种颜色简约或不使用图像,可选图标大号粗体无衬线标题
回忆录个人化、温暖作者照片或富有氛围的场景衬线体与无衬线体混搭
科学/学术专业、有条理图表、抽象视觉元素简洁衬线体、结构化布局
食谱诱人、明亮主打美食照片温暖、亲切的字体
旅行鲜艳、令人向往目的地摄影冒险风格字体

封面尺寸

印刷版(裁切尺寸)
格式尺寸常见用途
大众市场平装本4.25 x 6.87"类型小说
商业平装本5.5 x 8.5"大多数虚构类/非虚构类书籍
标准尺寸6 x 9"非虚构类书籍、教科书
大开本7 x 10"茶几书、艺术书籍
数字版
平台封面尺寸宽高比
Amazon Kindle2560 x 1600 px(最小 1000 x 625)1.6:1
Apple Books最小 1400 x 1873 px~3:4
通用电子书2500 x 3750 px2:3
书脊宽度

估算值:页数 / 400 = 书脊宽度(英寸)(会因纸张而异)。

  • 200 页 ≈ 0.5" 书脊
  • 400 页 ≈ 1.0" 书脊

布局区域

┌─────────────────────────┐
│     TITLE ZONE          │ ← Top 1/3: Title must be readable here
│     (largest text)      │    This is what shows in thumbnails
│                         │
│                         │
│     MAIN IMAGE          │ ← Middle: Core visual/illustration
│     ZONE                │    The emotional hook
│                         │
│                         │
│     SUBTITLE /          │ ← Bottom area: Author name, subtitle
│     AUTHOR ZONE         │    Smaller text, less critical at thumbnail
└─────────────────────────┘

缩略图测试

你的封面在 Amazon 上会以 80x120px 显示,在搜索结果中为 60x90px,在移动设备网格中约为 40x60px。

在缩略图尺寸下,读者必须能识别:

  1. 类型(通过配色和构图)
  2. 标题(足够大时)
  3. 氛围(通过图像)

**测试:**将封面缩小到 80px 宽。如果看不清标题或无法识别类型,就重新设计。

按类型编写提示词

惊悚小说
belt app run falai/flux-dev-lora --input '{
  "prompt": "dark cinematic book cover scene, silhouette of a person standing before a foggy bridge at night, single streetlamp casting long shadows, noir atmosphere, high contrast, desaturated blue tint, dramatic tension",
  "width": 832,
  "height": 1248
}'
爱情小说
belt app run bytedance/seedream-4-5 --input '{
  "prompt": "romantic soft-focus scene, couple silhouetted against golden sunset on a beach, warm pink and gold tones, bokeh lights, dreamy atmosphere, soft pastel sky, intimate mood",
  "size": "2K"
}'
科幻小说
belt app run falai/flux-dev-lora --input '{
  "prompt": "science fiction book cover art, massive space station orbiting a ringed planet, deep blue and teal color palette, stars and nebula background, hard sci-fi aesthetic, cinematic scale, clean geometric architecture",
  "width": 832,
  "height": 1248
}'
奇幻小说
belt app run xai/grok-imagine-image-pro --input '{
  "prompt": "epic fantasy book cover illustration, ancient stone castle on a cliff overlooking a misty valley, magical aurora in the sky, rich emerald and gold colors, detailed environment, sense of wonder and adventure",
  "aspect_ratio": "2:3"
}'
非虚构类 / 商业类
belt app run falai/flux-dev-lora --input '{
  "prompt": "minimal abstract book cover background, clean gradient from deep navy to white, subtle geometric pattern, professional and modern, negative space, corporate aesthetic",
  "width": 832,
  "height": 1248
}'

字体排版规则

**AI 无法可靠地渲染文字。**使用 AI 生成封面艺术图/背景,然后在设计工具中添加字体排版。

标题层级
  1. 标题 — 最大、最醒目,位于封面上方 1/3 处
  2. 副标题 — 字号较小,位于标题下方或封面底部
  3. 作者姓名 — 位于封面底部,字号取决于作者的知名度
按类型搭配字体
  • 惊悚:粗体无衬线标题 + 窄体无衬线作者名
  • 浪漫:手写体/草写体标题 + 优雅的衬线体作者名
  • 科幻:标题和作者名均使用几何无衬线体
  • 奇幻:装饰性/中世纪风格衬线体标题 + 简洁的衬线体作者名
  • 商业:粗重的无衬线体标题 + 纤细的无衬线体副标题

迭代工作流

# 1. Generate 5+ concepts across different models
belt app run falai/flux-dev-lora --input '{"prompt": "...", "width": 832, "height": 1248}' --no-wait
belt app run bytedance/seedream-4-5 --input '{"prompt": "..."}' --no-wait
belt app run xai/grok-imagine-image-pro --input '{"prompt": "...", "aspect_ratio": "2:3"}' --no-wait

# 2. Refine best concept with image-to-image editing
belt app run bytedance/seededit-3-0-i2i --input '{
  "prompt": "make the sky more dramatic with storm clouds, increase contrast",
  "image": "path/to/best-concept.png"
}'

# 3. Upscale for print quality
belt app run falai/topaz-image-upscaler --input '{
  "image": "path/to/final-cover.png",
  "scale": 4
}'

常见错误

错误问题修正方法
类型信号错误读者会略过研究同类畅销书
标题太小缩略图中看不清标题应占据顶部 1/3
细节过多缩小时显得杂乱简化设计,留出负空间
AI 生成的文字字母扭曲在设计工具中添加文字
所有元素都居中显得呆板、无趣有意运用不对称布局
盲目追随潮流很快过时经典的类型惯例经久不衰

检查清单

  • 从配色和构图中能立即辨认出类型
  • 标题在宽 80px 时仍清晰可读(缩略图测试)
  • 封面上没有 AI 生成的文字
  • 彩色和灰度模式下均适用
  • 尺寸符合目标平台的要求
  • 作者名清晰可见,但不会与标题争抢焦点
  • 分辨率高(印刷品为 300 DPI,数字版为 2500px 以上)
  • 书脊文字清晰可读(印刷品)

相关技能

npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@prompt-engineering
npx skills add inference-sh/skills@image-upscaling

浏览所有应用:belt app list

评论

支持 Markdown