跳到主要内容

宝玉知识漫画与故事分镜

收藏0

把知识、教程和故事整理成连贯漫画,规划角色、分镜和逐页提示词,调用已有绘图工具出图,可将图片合成 PDF。

让 AI 安装

github最新版本 0.1.0更新于 2026-10-24下载 1 次

references/partial-workflows.md

3.0 KB查看排版效果
1# Partial Workflows
2
3Options to run specific parts of the workflow.
4
5## Options Summary
6
7| Option | Steps Executed | Output |
8|--------|----------------|--------|
9| `--storyboard-only` | 1-3 | `storyboard.md` + `characters/` |
10| `--prompts-only` | 1-5 | + `prompts/*.md` |
11| `--images-only` | 7-9 | + images + PDF |
12| `--regenerate N` | 7 (partial) | Specific page(s) + PDF |
13
14---
15
16## Using `--storyboard-only`
17
18Generate storyboard and characters without prompts or images:
19
20```bash
21/baoyu-comic content.md --storyboard-only
22```
23
24**Workflow**: Steps 1-3 only (stop after storyboard + characters)
25
26**Output**:
27- `analysis.md`
28- `storyboard.md`
29- `characters/characters.md`
30
31**Use case**: Review and edit the storyboard before generating images. Useful for:
32- Getting feedback on the narrative structure
33- Making manual adjustments to panel layouts
34- Defining custom characters
35
36---
37
38## Using `--prompts-only`
39
40Generate storyboard, characters, and prompts without images:
41
42```bash
43/baoyu-comic content.md --prompts-only
44```
45
46**Workflow**: Steps 1-5 (generate prompts, skip images)
47
48**Output**:
49- `analysis.md`
50- `storyboard.md`
51- `characters/characters.md`
52- `prompts/*.md`
53
54**Use case**: Review and edit prompts before image generation. Useful for:
55- Fine-tuning image generation prompts
56- Ensuring visual consistency before committing to generation
57- Making style adjustments at the prompt level
58
59---
60
61## Using `--images-only`
62
63Generate images from existing prompts (starts at Step 7):
64
65```bash
66/baoyu-comic comic/topic-slug/ --images-only
67```
68
69**Workflow**: Skip to Step 7, then 8-9
70
71**Prerequisites** (must exist in directory):
72- `prompts/` directory with page prompt files
73- `storyboard.md` with style information
74- `characters/characters.md` with character definitions
75
76**Output**:
77- `characters/characters.png` (if not exists)
78- `NN-{cover|page}-[slug].png` images
79- `{topic-slug}.pdf`
80
81**Use case**: Re-generate images after editing prompts. Useful for:
82- Recovering from failed image generation
83- Trying different image generation settings
84- Regenerating after manual prompt edits
85
86---
87
88## Using `--regenerate`
89
90Regenerate specific pages only:
91
92```bash
93# Single page
94/baoyu-comic comic/topic-slug/ --regenerate 3
95
96# Multiple pages
97/baoyu-comic comic/topic-slug/ --regenerate 2,5,8
98
99# Cover page
100/baoyu-comic comic/topic-slug/ --regenerate 0
101```
102
103**Workflow**:
1041. Read existing prompts for specified pages
1052. Regenerate images only for those pages
1063. Regenerate PDF
107
108**Prerequisites** (must exist):
109- `prompts/NN-{cover|page}-[slug].md` for specified pages
110- `characters/characters.png` (for reference)
111
112**Output**:
113- Regenerated `NN-{cover|page}-[slug].png` for specified pages
114- Updated `{topic-slug}.pdf`
115
116**Use case**: Fix specific pages without regenerating entire comic. Useful for:
117- Fixing a single problematic page
118- Iterating on specific visuals
119- Regenerating pages after prompt edits
120
121**Page numbering**:
122- `0` = Cover page
123- `1-N` = Content pages

文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。