xonecas.io
7517
Cd

clanker-and-the-dev / commit ce08dc9

Tune direct ControlNet img2img panels

xonecas2026-06-13 ce08dc94fcb7b034a9965dcf28e84ba24417b7f8 parent f88209e

12 files changed

AGENTS.md+7−6
@@ -123,7 +123,7 @@ uv run python train_lora.py \
123123 - `comic/generate.py` now supports SDXL ControlNet generation with configurable model/path, conditioning scale/start/end, control image handling, and optional ControlNet img2img init.
124124 - Important constraint from the user: final panels must be direct generated images. Do not use final-image postprocessing, edge extraction, thresholding, repainting, or substituting control sketches as final art.
125125 - Straight ControlNet txt2img using `diffusers/controlnet-canny-sdxl-1.0` and existing `assets/comics/<slug>/control-panel-XX.png` improved structure but still drifted to gray backgrounds.
126-- Best honest lane so far is ControlNet img2img from a plain black canvas, existing control-panel line controls, and v3 LoRA at low/moderate strength. Current command used for existing specs:
126+- Best honest lane so far is ControlNet img2img from a plain black canvas, existing control-panel line controls, and v3 LoRA at low/moderate strength. Current v2 command used for existing specs:
127127
128128 ```bash
129129 cd comic
@@ -133,17 +133,18 @@ uv run python generate.py --all \
133133 --overwrite \
134134 --lora-scale 0.30 \
135135 --strength 0.98 \
136- --guidance-scale 10 \
136+ --guidance-scale 12 \
137137 --num-inference-steps 35 \
138138 --prompt-2-mode same \
139- --controlnet-scale 1.0 \
140- --controlnet-end 1.0 \
139+ --controlnet-scale 0.8 \
140+ --controlnet-end 0.85 \
141141 --control-preprocess lineart-threshold \
142- --style-prompt 'ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading' \
142+ --style-prompt 'ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only' \
143+ --panel-suffix 'raw art only' \
143144 --negative-prompt 'gray background, green background, white background, colored background, room, wall, texture, pattern, clutter, realistic human, android human, cyberpunk, anime, manga, detailed clothing, text, words, letters, speech bubble, caption, watermark, logo, panel border, photorealistic, 3d render, filled shapes, extra limbs, malformed limbs, blurry, low quality'
144145 ```
145146
146-- Review evidence: `comic/runs/controlnet-final/direct-img2img-existing-specs-contact-sheet.png`. Result is a meaningful improvement in black-background sparse structure, but still not a final polished solution; some panels are dim or overly literal to the old control drawings.
147+- Review evidence: `comic/runs/controlnet-final/direct-img2img-existing-specs-contact-sheet-v2.png`. Result is a meaningful improvement in black-background sparse structure and character readability, but still not perfect; some panels remain overly literal to the old control drawings.
147148
148149 ## Raw panel generation
149150
assets/comics/limb-budget/generation.json+19−19
@@ -1,5 +1,5 @@
11 {
2- "generatedAt": "2026-06-13T21:55:42.375016+00:00",
2+ "generatedAt": "2026-06-13T22:07:53.686636+00:00",
33 "spec": "comic/specs/limb-budget.json",
44 "title": "Limb Budget",
55 "slug": "limb-budget",
@@ -18,9 +18,9 @@
1818 "seed": 1234,
1919 "output": "assets/comics/limb-budget/raw-panel-01.png",
2020 "artPrompt": "The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop.",
21- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
22- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
23- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
21+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only",
22+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only",
23+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
2424 "styleReferences": [
2525 "art-reference/clanker-expressions-sheet.png",
2626 "art-reference/clanker-poses-actions-sheet.png",
@@ -34,15 +34,15 @@
3434 "width": 1024,
3535 "height": 1024,
3636 "numInferenceSteps": 35,
37- "guidanceScale": 10.0,
37+ "guidanceScale": 12.0,
3838 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
3939 "loraScale": 0.3,
4040 "controlNet": {
4141 "enabled": true,
4242 "model": "diffusers/controlnet-canny-sdxl-1.0",
43- "scale": 1.0,
43+ "scale": 0.8,
4444 "start": 0.0,
45- "end": 1.0,
45+ "end": 0.85,
4646 "mode": "existing",
4747 "preprocess": "lineart-threshold",
4848 "resizeMode": "fit",
@@ -58,9 +58,9 @@
5858 "seed": 1335,
5959 "output": "assets/comics/limb-budget/raw-panel-02.png",
6060 "artPrompt": "The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop.",
61- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
62- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
63- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
61+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only",
62+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is sitting behind the laptop, with an inquisitive look, while Clanker is busy to the side with his own laptop., raw art only",
63+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
6464 "styleReferences": [
6565 "art-reference/clanker-expressions-sheet.png",
6666 "art-reference/clanker-poses-actions-sheet.png",
@@ -74,15 +74,15 @@
7474 "width": 1024,
7575 "height": 1024,
7676 "numInferenceSteps": 35,
77- "guidanceScale": 10.0,
77+ "guidanceScale": 12.0,
7878 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
7979 "loraScale": 0.3,
8080 "controlNet": {
8181 "enabled": true,
8282 "model": "diffusers/controlnet-canny-sdxl-1.0",
83- "scale": 1.0,
83+ "scale": 0.8,
8484 "start": 0.0,
85- "end": 1.0,
85+ "end": 0.85,
8686 "mode": "existing",
8787 "preprocess": "lineart-threshold",
8888 "resizeMode": "fit",
@@ -98,9 +98,9 @@
9898 "seed": 1436,
9999 "output": "assets/comics/limb-budget/raw-panel-03.png",
100100 "artPrompt": "The Dev sits defeated with his head on the keyboard, while Clanker excitedly works to his side with his own laptop.",
101- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev sits defeated with his head on the keyboard, while Clanker excitedly works to his side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
102- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev sits defeated with his head on the keyboard, while Clanker excitedly works to his side with his own laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
103- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
101+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev sits defeated with his head on the keyboard, while Clanker excitedly works to his side with his own laptop., raw art only",
102+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev sits defeated with his head on the keyboard, while Clanker excitedly works to his side with his own laptop., raw art only",
103+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
104104 "styleReferences": [
105105 "art-reference/clanker-expressions-sheet.png",
106106 "art-reference/clanker-poses-actions-sheet.png",
@@ -114,15 +114,15 @@
114114 "width": 1024,
115115 "height": 1024,
116116 "numInferenceSteps": 35,
117- "guidanceScale": 10.0,
117+ "guidanceScale": 12.0,
118118 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
119119 "loraScale": 0.3,
120120 "controlNet": {
121121 "enabled": true,
122122 "model": "diffusers/controlnet-canny-sdxl-1.0",
123- "scale": 1.0,
123+ "scale": 0.8,
124124 "start": 0.0,
125- "end": 1.0,
125+ "end": 0.85,
126126 "mode": "existing",
127127 "preprocess": "lineart-threshold",
128128 "resizeMode": "fit",
assets/comics/limb-budget/raw-panel-01.png+0−0
Binary file, not shown.
assets/comics/limb-budget/raw-panel-02.png+0−0
Binary file, not shown.
assets/comics/limb-budget/raw-panel-03.png+0−0
Binary file, not shown.
assets/comics/the-cycle-of-ai-coding-burnout/generation.json+31−31
@@ -1,5 +1,5 @@
11 {
2- "generatedAt": "2026-06-13T21:57:10.917020+00:00",
2+ "generatedAt": "2026-06-13T22:09:21.643028+00:00",
33 "spec": "comic/specs/the-cycle-of-ai-coding-burnout.json",
44 "title": "The Cycle of AI Coding Burnout",
55 "slug": "the-cycle-of-ai-coding-burnout",
@@ -18,9 +18,9 @@
1818 "seed": 1234,
1919 "output": "assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-01.png",
2020 "artPrompt": "The Dev is standing next to Clanker who is focused on working on his laptop.",
21- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is standing next to Clanker who is focused on working on his laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
22- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is standing next to Clanker who is focused on working on his laptop., raw art only, no text, no speech bubbles, no captions, no panel borders",
23- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
21+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is standing next to Clanker who is focused on working on his laptop., raw art only",
22+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is standing next to Clanker who is focused on working on his laptop., raw art only",
23+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
2424 "styleReferences": [
2525 "art-reference/clanker-expressions-sheet.png",
2626 "art-reference/clanker-poses-actions-sheet.png",
@@ -34,15 +34,15 @@
3434 "width": 1024,
3535 "height": 1024,
3636 "numInferenceSteps": 35,
37- "guidanceScale": 10.0,
37+ "guidanceScale": 12.0,
3838 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
3939 "loraScale": 0.3,
4040 "controlNet": {
4141 "enabled": true,
4242 "model": "diffusers/controlnet-canny-sdxl-1.0",
43- "scale": 1.0,
43+ "scale": 0.8,
4444 "start": 0.0,
45- "end": 1.0,
45+ "end": 0.85,
4646 "mode": "existing",
4747 "preprocess": "lineart-threshold",
4848 "resizeMode": "fit",
@@ -58,9 +58,9 @@
5858 "seed": 1335,
5959 "output": "assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-02.png",
6060 "artPrompt": "Dev is standing next to Clanker, amazed and excited with the work Clanker is doing on his laptop. Clanker is sitting in front of his laptop",
61- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, Dev is standing next to Clanker, amazed and excited with the work Clanker is doing on his laptop. Clanker is sitting in front of his laptop, raw art only, no text, no speech bubbles, no captions, no panel borders",
62- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, Dev is standing next to Clanker, amazed and excited with the work Clanker is doing on his laptop. Clanker is sitting in front of his laptop, raw art only, no text, no speech bubbles, no captions, no panel borders",
63- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
61+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, Dev is standing next to Clanker, amazed and excited with the work Clanker is doing on his laptop. Clanker is sitting in front of his laptop, raw art only",
62+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, Dev is standing next to Clanker, amazed and excited with the work Clanker is doing on his laptop. Clanker is sitting in front of his laptop, raw art only",
63+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
6464 "styleReferences": [
6565 "art-reference/clanker-expressions-sheet.png",
6666 "art-reference/clanker-poses-actions-sheet.png",
@@ -74,15 +74,15 @@
7474 "width": 1024,
7575 "height": 1024,
7676 "numInferenceSteps": 35,
77- "guidanceScale": 10.0,
77+ "guidanceScale": 12.0,
7878 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
7979 "loraScale": 0.3,
8080 "controlNet": {
8181 "enabled": true,
8282 "model": "diffusers/controlnet-canny-sdxl-1.0",
83- "scale": 1.0,
83+ "scale": 0.8,
8484 "start": 0.0,
85- "end": 1.0,
85+ "end": 0.85,
8686 "mode": "existing",
8787 "preprocess": "lineart-threshold",
8888 "resizeMode": "fit",
@@ -98,9 +98,9 @@
9898 "seed": 1436,
9999 "output": "assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-03.png",
100100 "artPrompt": "The Dev is standing next to clanker, now mind-blown by the work Clanker is doing in his laptop. Clanker is sitting with his laptop, focused on his work.",
101- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is standing next to clanker, now mind-blown by the work Clanker is doing in his laptop. Clanker is sitting with his laptop, focused on his work., raw art only, no text, no speech bubbles, no captions, no panel borders",
102- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is standing next to clanker, now mind-blown by the work Clanker is doing in his laptop. Clanker is sitting with his laptop, focused on his work., raw art only, no text, no speech bubbles, no captions, no panel borders",
103- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
101+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is standing next to clanker, now mind-blown by the work Clanker is doing in his laptop. Clanker is sitting with his laptop, focused on his work., raw art only",
102+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is standing next to clanker, now mind-blown by the work Clanker is doing in his laptop. Clanker is sitting with his laptop, focused on his work., raw art only",
103+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
104104 "styleReferences": [
105105 "art-reference/clanker-expressions-sheet.png",
106106 "art-reference/clanker-poses-actions-sheet.png",
@@ -114,15 +114,15 @@
114114 "width": 1024,
115115 "height": 1024,
116116 "numInferenceSteps": 35,
117- "guidanceScale": 10.0,
117+ "guidanceScale": 12.0,
118118 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
119119 "loraScale": 0.3,
120120 "controlNet": {
121121 "enabled": true,
122122 "model": "diffusers/controlnet-canny-sdxl-1.0",
123- "scale": 1.0,
123+ "scale": 0.8,
124124 "start": 0.0,
125- "end": 1.0,
125+ "end": 0.85,
126126 "mode": "existing",
127127 "preprocess": "lineart-threshold",
128128 "resizeMode": "fit",
@@ -138,9 +138,9 @@
138138 "seed": 1537,
139139 "output": "assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-04.png",
140140 "artPrompt": "The Dev is laying on the ground seemingly dead, while clanker is now standing next to the looking confused.",
141- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is laying on the ground seemingly dead, while clanker is now standing next to the looking confused., raw art only, no text, no speech bubbles, no captions, no panel borders",
142- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The Dev is laying on the ground seemingly dead, while clanker is now standing next to the looking confused., raw art only, no text, no speech bubbles, no captions, no panel borders",
143- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
141+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is laying on the ground seemingly dead, while clanker is now standing next to the looking confused., raw art only",
142+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The Dev is laying on the ground seemingly dead, while clanker is now standing next to the looking confused., raw art only",
143+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
144144 "styleReferences": [
145145 "art-reference/clanker-expressions-sheet.png",
146146 "art-reference/clanker-poses-actions-sheet.png",
@@ -154,15 +154,15 @@
154154 "width": 1024,
155155 "height": 1024,
156156 "numInferenceSteps": 35,
157- "guidanceScale": 10.0,
157+ "guidanceScale": 12.0,
158158 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
159159 "loraScale": 0.3,
160160 "controlNet": {
161161 "enabled": true,
162162 "model": "diffusers/controlnet-canny-sdxl-1.0",
163- "scale": 1.0,
163+ "scale": 0.8,
164164 "start": 0.0,
165- "end": 1.0,
165+ "end": 0.85,
166166 "mode": "existing",
167167 "preprocess": "lineart-threshold",
168168 "resizeMode": "fit",
@@ -178,9 +178,9 @@
178178 "seed": 1638,
179179 "output": "assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-05.png",
180180 "artPrompt": "The dev is sitting with his laptop, looking tired and defeated.",
181- "prompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The dev is sitting with his laptop, looking tired and defeated., raw art only, no text, no speech bubbles, no captions, no panel borders",
182- "prompt2": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading, The dev is sitting with his laptop, looking tired and defeated., raw art only, no text, no speech bubbles, no captions, no panel borders",
183- "stylePrompt": "ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading",
181+ "prompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The dev is sitting with his laptop, looking tired and defeated., raw art only",
182+ "prompt2": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only, The dev is sitting with his laptop, looking tired and defeated., raw art only",
183+ "stylePrompt": "ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only",
184184 "styleReferences": [
185185 "art-reference/clanker-expressions-sheet.png",
186186 "art-reference/clanker-poses-actions-sheet.png",
@@ -194,15 +194,15 @@
194194 "width": 1024,
195195 "height": 1024,
196196 "numInferenceSteps": 35,
197- "guidanceScale": 10.0,
197+ "guidanceScale": 12.0,
198198 "loraPath": "comic/models/ctdstyle-sdxl-lora-v3",
199199 "loraScale": 0.3,
200200 "controlNet": {
201201 "enabled": true,
202202 "model": "diffusers/controlnet-canny-sdxl-1.0",
203- "scale": 1.0,
203+ "scale": 0.8,
204204 "start": 0.0,
205- "end": 1.0,
205+ "end": 0.85,
206206 "mode": "existing",
207207 "preprocess": "lineart-threshold",
208208 "resizeMode": "fit",
assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-01.png+0−0
Binary file, not shown.
assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-02.png+0−0
Binary file, not shown.
assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-03.png+0−0
Binary file, not shown.
assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-04.png+0−0
Binary file, not shown.
assets/comics/the-cycle-of-ai-coding-burnout/raw-panel-05.png+0−0
Binary file, not shown.
comic/README.md+8−7
@@ -9,7 +9,7 @@ This is the Python project root for the experimental SDXL + LoRA raw-panel workf
99 - Latest run: `models/ctdstyle-sdxl-lora-v3` trained successfully with checkpoints at 200/400/600/800/1000 steps.
1010 - Result: v3 data is much better than the original set, but plain SDXL LoRA generation still misses the target style and character identity often enough that more small prompt/scale sweeps are not the recommended next step.
1111 - ControlNet status: SDXL ControlNet support now exists in `generate.py`. The best current lane is ControlNet img2img from a plain black init canvas plus existing `control-panel-XX.png` line controls; outputs are direct model generations with no final-image postprocessing.
12-- Current finding: ControlNet improves structure, black background, and character readability, but it is still not a final polished solution. Some panels remain dim or overly tied to the old control drawings.
12+- Current finding: ControlNet improves structure, black background, and character readability. The v2 direct img2img settings below are the best current lane; some panels are still overly tied to the old control drawings, but this is a meaningful generated raw-panel improvement.
1313
1414 This workflow generates raw image panels only. It does not compose dialogue, captions, speech bubbles, panel borders, strips, or page chrome.
1515
@@ -81,24 +81,25 @@ uv run python generate.py --all \
8181 --overwrite \
8282 --lora-scale 0.30 \
8383 --strength 0.98 \
84- --guidance-scale 10 \
84+ --guidance-scale 12 \
8585 --num-inference-steps 35 \
8686 --prompt-2-mode same \
87- --controlnet-scale 1.0 \
88- --controlnet-end 1.0 \
87+ --controlnet-scale 0.8 \
88+ --controlnet-end 0.85 \
8989 --control-preprocess lineart-threshold \
90- --style-prompt 'ctdstyle, pure black empty background, bright neon green glowing thin monoline stick figure comic, simple sparse raw panel art, Dev with rectangular glasses, small boxy robot Clanker, no fill, no shading' \
90+ --style-prompt 'ctdstyle, black background, bright neon green thin monoline stick figure comic, clean sparse raw panel art, outline only' \
91+ --panel-suffix 'raw art only' \
9192 --negative-prompt 'gray background, green background, white background, colored background, room, wall, texture, pattern, clutter, realistic human, android human, cyberpunk, anime, manga, detailed clothing, text, words, letters, speech bubble, caption, watermark, logo, panel border, photorealistic, 3d render, filled shapes, extra limbs, malformed limbs, blurry, low quality'
9293 ```
9394
94-This command uses existing `assets/comics/<slug>/control-panel-XX.png` files as ControlNet conditioning and a plain black init canvas for ControlNet img2img. The saved `raw-panel-XX.png` files are the direct Diffusers pipeline outputs; no final-image postprocessing is applied.
95+This command uses existing `assets/comics/<slug>/control-panel-XX.png` files as ControlNet conditioning and a plain black init canvas for ControlNet img2img. The saved `raw-panel-XX.png` files are the direct Diffusers pipeline outputs; no final-image postprocessing is applied. Review sheet: `comic/runs/controlnet-final/direct-img2img-existing-specs-contact-sheet-v2.png`.
9596
9697 Useful iteration flags:
9798
9899 ```bash
99100 uv run python generate.py --slug limb-budget --panel 1 --num-images-per-panel 4 --seed 2000
100101 uv run python generate.py --slug limb-budget --dry-run --print-prompts
101-uv run python generate.py --slug limb-budget --panel 1 --controlnet --controlnet-init-mode black --lora-scale 0.3 --strength 0.98 --guidance-scale 10 --prompt-2-mode same
102+uv run python generate.py --slug limb-budget --panel 1 --controlnet --controlnet-init-mode black --lora-scale 0.3 --strength 0.98 --guidance-scale 12 --controlnet-scale 0.8 --controlnet-end 0.85 --prompt-2-mode same
102103 ```
103104
104105 `generate.py` injects shared style and main-character descriptions automatically, so spec `artPrompt` fields can stay focused on panel-specific action/composition. Override that text with: