Nodes/ComfyUI-Addoor/AD Poster Maker
ComfyUI Node

AD Poster Maker

Frame an image with a border and background for a poster layout

By Eagle-CN·Created 2 years ago·Updated about a year ago· 75
AD Poster Maker
  • image
  • watermark
  • original_image
  • image
scale0.80
border_size32
border_colorwhite
border_hex#FFFFFF
background_colorwhite
background_hex#FFFFFF
positionright
methodlanczos

Turns a bare image into a framed, poster-style layout: it scales the image down, wraps it in a border, sets it on a background canvas, and shifts it to one side so there's clean space left over - the kind of layout you'd drop a title or caption into. Handy for social posts, thumbnails, and anything where the raw generation needs a bit of presentation around it.

Where it fits

A finished image and a shareable image aren't the same thing. Posters, cover images, and social cards usually want margins, a frame, and negative space for text - not a full-bleed picture. Poster Maker builds that framing in one node so you don't have to composite a border and background by hand every time. It's the presentation-layer sibling of the pack's Mockup Maker: where Mockup Maker places your image into a scene, Poster Maker frames it on a clean canvas.

How it works

It scales the input image down by scale (so it doesn't fill the whole canvas), draws a border of border_size in border_color, and places the framed image onto a background of background_color, offset to the side named by position. Both the border and background colors offer a custom option that reads from their matching hex field. method is the resampling filter for the scaling. Optional watermark and original_image inputs let you brand the poster or bring in a second image for the layout.

The inputs that matter

  • image - the picture to frame.
  • scale - how big the image is within the canvas (0.1–1). Lower leaves more surrounding space.
  • border_size / border_color - the frame thickness and color. Set border_color to custom to use border_hex.
  • background_color - the canvas color. custom uses background_hex.
  • position - which side the framed image sits on: left, right, top, or bottom. The opposite side is your open space for text.

The output is a single image - the composed poster.

Common issues

The custom-color gotcha applies twice here: border_hex and background_hex only take effect when the matching dropdown is set to custom. Type a hex while the dropdown still says white and you'll get white. The other thing to internalize is that position and scale work together to create your text space - a smaller scale plus a position of, say, right leaves a big empty band on the left for a title. If your poster feels cramped, drop the scale. And since this node only lays out the frame, the actual title text is on you - add it in your image editor or a text-drawing node afterward.

Installing ComfyUI-Addoor

ComfyUI-Addoor (葵花宝典) is a utility and image pack from developer Eagle-CN. ComfyUI Manager: Install Custom Nodes → search "ComfyUI-Addoor" → install → restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/Eagle-CN/ComfyUI-Addoor.git
cd ComfyUI-Addoor
pip install -r requirements.txt

Restart and find it under 🌻 Addoor / image.

Category🌻 Addoor/image

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
scaleFLOAT0.800.1–1
border_sizeINT320–256
border_colorCOMBOwhite4 options: white, black, gray, custom
border_hexSTRING#FFFFFF
background_colorCOMBOwhite4 options: white, black, gray, custom
background_hexSTRING#FFFFFF
positionCOMBOright4 options: left, right, top, bottom
methodCOMBOlanczos3 options: lanczos, bicubic, bilinear
watermarkoptIMAGE
original_imageoptIMAGE

Outputs (1)

NameTypeDescription
imageIMAGE