安裝 belt CLI 技能:
npx skills add belt-sh/cli
書籍封面設計
使用 AI 影像生成,透過 inference.sh CLI 建立符合類型的書籍封面。
快速開始
需要 inference.sh CLI (
belt)。安裝說明
belt login
# 生成推理小說封面概念
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 吋書背
版面區域
┌─────────────────────────┐
│ 書名區域 │ ← 上方 1/3:書名必須在此處可讀
│ (最大文字) │ 這是縮圖中顯示的內容
│ │
│ │
│ 主要圖像區域 │ ← 中間:核心視覺/插圖
│ │ 情感鉤子
│ │
│ │
│ 副書名/作者區域 │ ← 底部:作者姓名、副書名
│ │ 文字較小,縮圖中較不重要
└─────────────────────────┘
縮圖測試
您的封面在 Amazon 上會被顯示為 80x120 px,在搜尋結果中為 60x90 px,在手機網格上約 40x60 px。
在縮圖尺寸下,讀者必須能辨別:
- 類型(從色彩與構圖)
- 書名(如果夠大)
- 情緒(從意象)
測試: 將封面縮小至 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. 在不同模型上生成 5 個以上概念
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. 使用圖生圖編輯優化最佳概念
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. 放大至印刷品質
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