Layout
A Layout is a list of described regions, with optional boxes that mark where those regions belong. Use it to guide a composition, such as placing a vase in the center of an image.
For example, draw a box around the middle of an image in Bounding Box Editor, label it “A teal ceramic vase,” and connect Boxes to the Layout extension on Flux 3 Image. Supply an overall prompt as well. The Layout adds placement guidance; the model still generates the picture.
Create a Layout
- Connect an image to Image on Bounding Box Editor.
- Draw a box for each region you want to describe.
- Open Edit box details and enter a Label for the region.
- Connect the editor's Boxes output to a compatible Layout input.
The image displayed by the editor helps you position regions. It is separate from the Layout and is not automatically supplied as a reference image to the receiving Node.
Coordinates and limits
Box coordinates are fractions of the image's width and height. The top-left corner is (0, 0) and the bottom-right corner is (1, 1). Horizontal positions increase to the right; vertical positions increase downward.
For example, this box covers the middle half of the image's width:
| Edge | Coordinate | Position in a 1,000 × 500 image |
|---|---|---|
| Left | 0.25 | 250 pixels from the left |
| Top | 0.1 | 50 pixels from the top |
| Right | 0.75 | 750 pixels from the left |
| Bottom | 0.9 | 450 pixels from the top |
Every coordinate must be finite and between 0 and 1, inclusive. Left must be less than right, and top must be less than bottom. A box cannot have zero width or height or extend outside the image. These rules apply to both destination boxes and optional source boxes.
An empty list of regions is a valid Layout. A region can also omit its destination box, although the receiving Node can need one to place it. Bounding Box Editor keeps regions without destination boxes but does not draw them as editable rectangles.
Region details
Each region has an identifier and a description. It can also include a destination box, a source box and reference name, text to render, a caption, and advisory parent or type information.
The list preserves region order. That order and the parent information do not, by themselves, define layers, grouping, or which region covers another. The receiving Node decides how to interpret them.
Compatible connections
Connect a Layout to Bounding Box Editor's optional Boxes input to edit it, or to Flux 3 Image's Layout Model Extension to guide generation. A Layout is separate from an Image, an image mask, or a PointsList2D.
Flux 3 Image uses region descriptions and destination boxes. It appends Text to render to each description. It does not use captions, parent information, or type hints. Source boxes and reference names are useful only when the corresponding reference images are supplied. Read its warnings when information is missing or ignored.
An empty Layout leaves Flux 3 Image's prompt unchanged. Providing boxes guides generation; it does not guarantee exact placement or lettering.