Photo Magazine Maker
Render a real PDF photo magazine from your image batch
- images
- result
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.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| json_data | STRING | — | |
| template | COMBO | 清新自然 | 3 options: 清新自然, 時尚都市, 復古經典 |
| layout | COMBO | 版型A-經典排版 | 3 options: 版型A-經典排版, 版型B-藝術拼貼, 版型C-簡約現代 |
| font | COMBO | default | 1 options: default |
| compress_pdf | BOOLEAN | false | — |
| disable_cover_layout | BOOLEAN | false | 關閉封面排版,使用Page一images作為滿版封面(不含文字) |
| output_path | STRING | ./ComfyUI/output/MyPDF/photo_magazine.pdf | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |