Nodes/ComfyUI-ListHelper/Photo Magazine Maker
ComfyUI Node

Photo Magazine Maker

Render a real PDF photo magazine from your image batch

By dseditor·Created about a year ago·Updated 7 months ago· 75
Photo Magazine Maker
  • images
  • result
json_data
template清新自然
layout版型A-經典排版
fontdefault
compress_pdffalse
disable_cover_layoutfalse
output_path./ComfyUI/output/MyPDF/photo_magazine.pdf

The "AI magazine" genre usually means a collage you save as a PNG. PhotoMagazineMaker is the one that takes it all the way to a real document: it typesets your generated images into a multi-page PDF magazine - cover, interior pages, story pages - with layout templates and Chinese text, written straight to your output folder. If you've ever wanted to hand a friend a physical-feeling PDF of your renders instead of a folder of images, this is the node.

How it works

The node takes a batch of images plus structured json_data describing the magazine - which image is the cover, which are interior pages, what text goes where - and lays each out using the reportlab library (which is in the pack's requirements.txt, so it installs with the pack rather than on-demand). Three choices shape the result:

  • template - visual style: 清新自然 (fresh/natural), 時尚都市 (urban fashion), 復古經典 (vintage classic). This drives colors and the general look.
  • layout - page arrangement: 版型A-經典排版 (classic), 版型B-藝術拼貼 (art collage), 版型C-簡約現代 (minimal modern).
  • font - a single "default" option in the current schema.

Two useful switches: disable_cover_layout makes the first image a full-bleed, text-free cover (per its tooltip, using "Page 一 images" as the cover), and compress_pdf shrinks the output for easier sharing. Output path defaults to ./ComfyUI/output/MyPDF/photo_magazine.pdf.

Inputs and output

  • images - your batch of generated pages.
  • json_data - the magazine structure (cover/pages/story data with prompts and text). This is what PhotoMagazineParser's sibling nodes produce; you don't hand-write it.
  • template, layout, font, compress_pdf, disable_cover_layout, output_path - the knobs above.

Output: result (STRING) - a status/path message.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/dseditor/ComfyUI-ListHelper

reportlab is a declared dependency, so the pack install handles it; if it's missing, pip install reportlab fixes it. Restart ComfyUI; find it under DesignPack. ComfyUI Manager: search "ComfyUI-ListHelper".

The honest take

This node has the highest "wow" ceiling in the pack and also the steepest setup: the json_data structure is the real interface, and you're expected to produce it with an LLM (via the pack's parser nodes) rather than by hand. The heavy machinery here is text layout, and Traditional-Chinese text on images requires the right font handling - if your PDF shows boxes instead of glyphs, that's a font/CJK issue, not a bug in your prompts. Start with the built-in templates and a small batch before you promise anyone a 40-page magazine. When the pipeline clicks - extract character, describe via LLM, generate pages, assemble PDF - it's a genuinely impressive one-shot deliverable.

CategoryDesignPack

Inputs (8)

NameTypeDefaultDescription
imagesIMAGE
json_dataSTRING
templateCOMBO清新自然3 options: 清新自然, 時尚都市, 復古經典
layoutCOMBO版型A-經典排版3 options: 版型A-經典排版, 版型B-藝術拼貼, 版型C-簡約現代
fontCOMBOdefault1 options: default
compress_pdfBOOLEANfalse
disable_cover_layoutBOOLEANfalse關閉封面排版,使用Page一images作為滿版封面(不含文字)
output_pathSTRING./ComfyUI/output/MyPDF/photo_magazine.pdf

Outputs (1)

NameTypeDescription
resultSTRING