关于 book-cover-design
通过 inference.sh CLI(belt)调用图像生成应用,制作符合书籍类型的封面概念,面向作者与封面设计者。内容涵盖类型视觉惯例、尺寸、排版区域和迭代流程,并建议在生成图像后另行添加文字。
主要功能
- 01按书籍类型设计封面概念
- 02提供印刷与电子书尺寸参考
- 03指导封面布局和缩略图检查
- 04说明后期添加标题文字
- 05使用多个模型迭代图像
适用场景
- 01为小说生成类型化封面概念
- 02制作非虚构类书籍封面背景
- 03按目标平台准备封面尺寸
- 04迭代调整封面图像
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ inference-sh/ skills --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 Kindle | 2560 x 1600 px(最小 1000 x 625) | 1.6:1 |
| Apple Books | 最小 1400 x 1873 px | ~3:4 |
| 通用电子书 | 2500 x 3750 px | 2: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。
在缩略图尺寸下,读者必须能识别:
- 类型(通过配色和构图)
- 标题(足够大时)
- 氛围(通过图像)
**测试:**将封面缩小到 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/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",
"upscale_factor": 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