Zum Inhalt springen
Node packÜberprüftExtern
Quelle öffnen

ComfyUI-IllustriousComicLettering

Deterministic speech bubbles and readable dialogue for 2x2 comic pages in ComfyUI.

Betreuer@katorikonoe-aiC · adoptionBewertung

Paketprofil

Status
Überprüft
Verleger
@katorikonoe-ai
Quelle
GitHub

README

ComfyUI Illustrious Comic Lettering

Deterministic speech bubbles and readable dialogue for finished 2×2 comic pages in ComfyUI.

This node solves a common diffusion-comic problem: the artwork may look right, but generated lettering is misspelled, duplicated, mixed with Japanese glyphs, or printed on top of earlier text. Instead of asking the image model to spell dialogue, this extension adds clean bubbles and real font-rendered text after VAE Decode.

Four-panel lettering preview

Features

  • Exactly one configurable bubble per panel in a fixed 2×2 page.
  • Deterministic Pillow-based rendering—no hidden AI service or extra model.
  • Automatic line wrapping and font-size reduction.
  • Padding, panel-safe clamping, bubble-width, tail-size, outline, color, and vertical-position controls.
  • Speaker-side controls; bubbles are placed opposite the speaker and tails point back toward them.
  • Outputs both the finished IMAGE and a combined MASK for optional compositing or refinement.
  • Works after any image model or checkpoint; designed around Illustrious XL comic workflows.

Installation

Git installation

From ComfyUI/custom_nodes:

git clone https://github.com/katorikonoe-ai/ComfyUI-IllustriousComicLettering.git
cd ComfyUI-IllustriousComicLettering
pip install -r requirements.txt

Restart ComfyUI, then search for Illustrious Comic Lettering - 4 Panel under Illustrious Comic/Lettering.

Manual installation

Download the repository ZIP and extract it to:

ComfyUI/custom_nodes/ComfyUI-IllustriousComicLettering

Install requirements.txt in ComfyUI's Python environment and restart ComfyUI.

Recommended graph

Checkpoint + prompts → sampler → VAE Decode
                                   │
                                   ▼
                 Illustrious Comic Lettering - 4 Panel
                              ├─ lettered_page → Preview/Save Image
                              └─ bubble_mask   → optional post-processing

An editable example workflow is included at Illustrious_ComicFactory_DeterministicLettering_v10.json.

The example may reference checkpoint or LoRA filenames from its original environment. Select equivalent locally installed models before queuing it. This repository does not redistribute models.

Prompting rule: prevent “text inside text”

The image model should create the comic art and reserve space for bubbles, but it should not generate final dialogue.

Recommended positive wording:

one complete vertical comic page, exactly four equal rectangular panels in a clean 2 by 2 grid,
consistent white gutters, even white outer margin, crisp black borders,
clear empty negative space near the top outer corner of every panel for later lettering

Recommended negative wording:

letters, readable text, dialogue, captions, subtitles, sound effects, Japanese writing,
vertical writing, gibberish, watermark, logo, text inside speech bubbles

If the generated art already contains text, this node cannot semantically erase it. Regenerate with the no-text prompt, inpaint the old text, or place the new opaque bubble fully over it.

Inputs

InputPurpose
imageDecoded 2×2 comic page (IMAGE, batch supported).
panel_1_text … panel_4_textExact dialogue rendered into each panel.
panel_1_speaker … panel_4_speakerleft, center, or right; controls bubble placement and tail direction.
font_nameFont filename or accessible font path. Falls back to common system fonts.
font_size / min_font_sizePreferred and lowest automatic lettering size.
paddingSpace around fitted text.
outer_margin / gutterGeometry used to locate the four source panels.
panel_safe_marginHorizontal safety distance from panel edges.
bubble_width_limitMaximum bubble width as a percentage of pane

Knoten in diesem Paket

1 Knoten
  • IllustriousComicLettering4Panel

Quellen

3 Quellen
GitHubPrimärVersion main
github.com/katorikonoe-ai/ComfyUI-IllustriousComicLettering

Verifiziert 5. Nov.

GitHubQuelleVersion 4a3e7a0797f9515aebf5e757f6d1952095b9bd1b
github.com/katorikonoe-ai/ComfyUI-IllustriousComicLettering

Verifiziert 14. Okt.

Quellenauszüge

2 Auszüge

Source context: Repo katorikonoe-ai/ComfyUI-IllustriousComicLettering

Source context: Repo katorikonoe-ai/ComfyUI-IllustriousComicLettering