
FLUX 3 Image takes a table of boxes inside the prompt: the 0–1000 grid, why top comes before left, and the four row kinds that change one element and leave the rest.
prompt, directly after a caption that names each element. 2<silhouette_1>. Each row carries that id, a bbox, and a desc saying what the element looks like. 3[
{"id": "background_1", "bbox": [0, 0, 1000, 1000],
"desc": "A flat field of neon yellow-green with fine, organic grain."},
{"id": "silhouette_1", "bbox": [150, 150, 850, 850],
"desc": "A black silhouette of a person in motion, stippled like ink on paper."}
]<silhouette_2> is ready for a second figure. 2
[top, left, bottom, right], four integers out of 1000, measured from the top-left corner. [0, 0, 500, 500] is the top-left quarter of the image, whatever its size or aspect ratio. 2x1, y1, x2, y2. The festival poster's title line is [40, 200, 100, 800]: a band 60 units deep and 600 units wide, near the top.
<person_1> <person_2> <person_3> <person_4>, and the rows give each one its place and its appearance. 3
desc. "Put each line of text in its own row, and quote the exact words in desc, such as text reading "Sauna"." 2import json, os, requests
caption = ("Minimalist graphic illustration featuring a black silhouette of a person "
"<silhouette_1> centered against a solid, vibrant chartreuse background <background_1>.")
rows = [
{"id": "background_1", "bbox": [0, 0, 1000, 1000],
"desc": "A flat field of neon yellow-green with fine, organic grain."},
{"id": "silhouette_1", "bbox": [150, 150, 850, 850],
"desc": "A black silhouette of a person in motion, stippled like ink on paper."},
]
r = requests.post(
"https://api.bfl.ai/v1/flux-3-image",
headers={"x-key": os.environ["BFL_API_KEY"]},
json={"prompt": caption + " " + json.dumps(rows), "aspect_ratio": "1:1"},
)
print(r.json()["polling_url"])
images and each row gains a source and a target:| Row | from | src_bbox | tgt_bbox | Effect |
|---|---|---|---|---|
| Keep | "ref_image_0" | its box | the same box | stays exactly where it is |
| Move | "ref_image_0" | its box | a new box | moves or resizes the element |
| New | null | null | its box | generates desc in the box: adds, replaces or recolours |
| Remove | "ref_image_0" | its box | null | removes the element |
aspect_ratio from 21:9 through 1:1 to 9:21, or auto; resolution one of 768sq, 1k, 1.5k, 2k, 4k. 4 Setting width and height overrides both, up to 16.8 megapixels, or 4 megapixels with reference images. 4auto, a ratio named in the prompt wins; with no reference image and no ratio in the prompt, the output is 1:1. 4 Boxes drawn for a 3:4 frame and sent at 1:1 will land somewhere else.flux-3-image-klein-comfy, which the model card describes as supporting bounding box layout control. 6bbox array pasted into a FLUX.2 prompt has nothing to bind to.ConditioningSetArea node, which gives each area of the canvas its own conditioning. 10docs.bfl.ml
docs.bfl.ml
comfy.org
docs.bfl.ml
docs.midjourney.com
docs.midjourney.com
comfyanonymous.github.io
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.