PixaromaHelp
Help › Nodes › Image

Seamless Border Prep Pixaroma

Gets a border strip ready for painting a matching corner.

In ComfyUI: double-click an empty spot on the canvas and type Seamless Border Prep Pixaroma.

What it does

Seamless Tile set to Left and right makes border strips that repeat sideways. A frame also needs corners, and a corner has to join two strips at once: the top one on its right, the side one below it. This node finds the band in your strip and lays out a canvas for painting that corner: the corner square top-left, the strip running right from it, the strip turned down the side, and a mask.

The corner starts as a mitred join (45 degrees, like a picture frame). Denoise 1.0 paints a new corner; lower keeps it closer to the mitre.

Where it goes

Put it after VAE Decode of your strip. Inpaint its canvas and mask with your usual setup (VAE Encode, Set Latent Noise Mask or InpaintModelConditioning, KSampler, VAE Decode) and a prompt for the corner, such as "ornate corner piece of the same border". Use the model WITHOUT Seamless Tile here, or the corner tries to join the bottom of the canvas. Then give the result and border_info to Seamless Border Kit Pixaroma.

For a mitred frame with no model, wire canvas straight into Seamless Border Kit.

Good to know

  • The band is found by itself, also on parchment, plaster or a wall that is a different colour above and below it. Wire report into Show Text: it says which rows became the band. If they are wrong, set band_top and band_bottom (its first and last row).
  • When the band runs off the top or bottom of the strip picture, the report says so: that edge of the border is cut off, so make the strip again with another seed.
  • outer_edge says which edge of the band faces out of the frame. Bottom turns the band upside down.
  • repaint: Seam (the default) masks only a band along the corner's diagonal, so every band of the strip carries on round the corner and the model only redraws where they turn. seam_width sets how wide that band is. Corner repaints the whole corner square, for a separate corner block.
  • corner_at: Mirror line (the default) turns the corner where the pattern mirrors itself, such as a motif's centre or a tile edge, so both halves of the corner match and a motif sits on the turn. The mitre alone often looks like a designed corner. Strip edge turns it at the strip's own left edge. The strips Kit outputs start at the same point, so every join still matches.
  • In the prompt, describe the border's style and the corner, not a plain background: the model fills the masked area with whatever the prompt asks for. Words like diagonal, tiled or meet make it draw a line along the join; "the pattern turns the corner smoothly and continuously, one ornate symmetrical ornament on the corner" works well.
  • Denoise about 0.8 paints an ornament on the turn. 0.9 and up can paint a bar along the diagonal; 0.7 stays close to the mitre.
  • Keep the strip's full width: the width is one repeat.
  • One strip at a time: pick one from a batch first.

What you wire in

stripIMAGE
The border strip from VAE Decode: a band across a plain background that repeats left to right. Keep its full width: the width is one repeat.

The settings on the node

band_topnumberdefault 0
First row of the band, in pixels from the top. Leave both rows at 0 to find the band automatically. With band_bottom set, 0 here means the very first row.
band_bottomnumberdefault 0
Last row of the band. 0 = find it automatically. The report output says which rows were found.
contextnumberdefault 1
How much strip the model sees beside the corner, in band thicknesses. More gives the model more of the pattern to follow, and a bigger canvas (never under 1024 px).
outer_edgechoicedefault Top
Which edge of the band faces out of the frame. Bottom turns the band upside down.
TopBottom
repaintchoicedefault Seam
What the model repaints. Seam = only a band along the mitre's diagonal: the strip's bands carry on round the corner and the model redraws where they turn (most coherent). Corner = the whole corner square: a new corner piece, less tied to the strip.
SeamCorner
seam_widthnumberdefault 0.4
Seam only: how wide the repainted band along the diagonal is, as a share of the band thickness. 0.25 = a small ornament on the turn; 0.4 = room for a bigger one.
corner_atchoicedefault Mirror line
Where along the strip the corner turns. Mirror line = the point where the pattern mirrors itself (a motif's centre or a tile edge): both halves of the corner match and a motif sits on the turn. Strip edge = the strip's own left edge. The strips Kit outputs start at the same point.
Mirror lineStrip edge

What comes out

canvasIMAGE
The canvas to inpaint. The corner already holds a mitred join: denoise 1.0 paints a new corner, lower keeps it closer to the mitre. Wire it straight into Seamless Border Kit for a mitred frame with no model.
maskMASK
White where the model should paint: along the corner's diagonal (Seam) or the whole corner (Corner).
border_infoPIXAROMA_BORDER_INFO
Wire into Seamless Border Kit.
reportSTRING
Which rows of the strip became the band, and a warning when the band reaches the top or bottom edge of the strip (it is probably cut off there: make the strip again with another seed). Wire it to Show Text.

This is the help that comes with Pixaroma 1.4.265. Inside ComfyUI, select the node and click the orange ? above it to read the same help there.