Skip to content
Lennart Isaksson edited this page Apr 29, 2025 · 2 revisions

This guide will help you install and use PanelForge with ComfyUI to create comic page layouts.

Installation

Prerequisites

Before installing PanelForge, ensure you have:

  1. [ComfyUI](https://github.com/comfyanonymous/ComfyUI) installed and working
  2. Python 3.8 or higher
  3. Basic familiarity with ComfyUI's node-based interface

Method 1: Using ComfyUI Manager (Recommended)

The easiest way to install PanelForge is through the ComfyUI Manager:

  1. Make sure you have ComfyUI Manager installed
  2. Open ComfyUI
  3. Navigate to the Manager tab
  4. Search for "PanelForge"
  5. Click "Install"
  6. Restart ComfyUI

Method 2: Manual Installation

To install manually:

  1. Navigate to your ComfyUI custom_nodes directory:

    cd /path/to/ComfyUI/custom_nodes
  2. Clone the repository:

    git clone https://github.com/lisaks/comfyui-panelforge.git
  3. Restart ComfyUI

Basic Usage

Creating Your First Comic Page

  1. Generate Your Panel Images

    • Use any ComfyUI workflow to generate the images you want in your comic panels
    • You can use text-to-image, image-to-image, or any other method to create panel content
  2. Add Frame Nodes

    • For each panel image, add a "Comic Frame" node
    • Connect your generated images to each Frame node
    • Configure the border, padding, and other properties as desired
    • You can add an optional caption to each frame
  3. Create Row Nodes

    • Add a "Comic Row" node
    • Connect your Frame nodes to the Row node's inputs (frame1, frame2, etc.)
    • Set the spacing between frames
    • Choose vertical alignment (top, center, bottom)
  4. Assemble the Page

    • Add a "Comic Page" node
    • Connect your Row nodes to the Page node's inputs (row1, row2, etc.)
    • Configure page properties like:
      • Spacing between rows
      • Row alignment (left, center, right)
      • Page color (white, off-white, light-gray)
      • Page width and margins
      • Optional page title
  5. Export Your Comic Page

    • The output of the Page node is your complete comic page
    • Connect it to a Save Image node or further process it as needed

Advanced Tips

  • Frame Customization: Experiment with different border widths and padding values to achieve the classic comic look or a more modern design.

  • Variable Panel Sizes: Create dramatic effect by using different image sizes for your panels - the Row node will handle alignment.

  • Row Composition: Try different combinations of frames per row to create varied and interesting comic layouts.

  • Caption Handling: Add short captions to frames for narration or dialogue. For longer text, consider adding it directly to your input images.

  • Page Styling: Set page properties to match your comic's style - classic comics often use off-white backgrounds, while modern comics might use clean white.

Troubleshooting

  • Images Not Displaying: Ensure your input images are properly connected to Frame nodes.

  • Node Not Found: If you can't find PanelForge nodes after installation, try restarting ComfyUI completely.

  • Image Size Issues: Very large images may cause performance issues. Consider resizing them before using in your comic layout.

  • Memory Problems: Creating complex layouts with many high-resolution images might require more VRAM. Try reducing image sizes if you encounter out-of-memory errors.

Getting Help

If you encounter issues or have questions: