Wispvue is an unofficial site, not affiliated with or endorsed by Black Forest Labs.

FLUX 3 Image Klein layout control with bounding boxes

FLUX 3 Image Klein lets you control where objects appear, move, or disappear by tagging elements in your prompt as <id> and appending a JSON list of bounding-box rows at the end of the prompt string. Every bounding box is defined as [top, left, bottom, right] on a normalized 0–1000 coordinate grid.

Last updated 2026-10-16

Try FLUX 3 Image Klein in your browser Up to 3 images a day are free, no sign-up.

Try FLUX 3 Klein here

Open the full generator

3 free images a day, no sign-up.

Note: Wispvue (flux3klein.org) is an unofficial site and is not affiliated with Black Forest Labs. Bounding-box layout control is not supported in our browser UI; to use layout boxes, use the BFL API, ComfyUI, or local code.

How the 0–1000 coordinate grid works

Instead of pixel dimensions, FLUX 3 Image Klein uses a normalized 0 to 1000 grid across both axes:

  • Box format: [top, left, bottom, right]
  • top and bottom: Vertical coordinates from 0 (top edge) to 1000 (bottom edge).
  • left and right: Horizontal coordinates from 0 (left edge) to 1000 (right edge).
  • In-text tags: Each JSON row has an "id" string (such as "silhouette_1"). You link that box to your prose caption by writing <silhouette_1> right after the element’s mention in the prompt text.

Row formats for text-to-image vs. image editing

The JSON structure appended to the end of your prompt depends on whether you are generating a new image from scratch or editing existing reference images.

Text-to-image generation rows

Each item in the JSON array uses three keys:

  • id: The unique identifier referenced as <id> in the caption.
  • bbox: Target coordinates [top, left, bottom, right] on the 0–1000 grid.
  • desc: A concise description of the element and its visual texture or material.

Image editing and multi-reference rows

When passing one or more images in the images array, each row uses five keys: id, from, src_bbox, tgt_bbox, and desc. The table below shows how to set from, src_bbox, and tgt_bbox for every editing action:

Action from value src_bbox tgt_bbox Purpose
Keep in place "ref_image_0" [top, left, bottom, right] Same as src_bbox Preserves an existing object from the primary image in its current location.
Move "ref_image_0" Original [top, left, bottom, right] New [top, left, bottom, right] Relocates an object from its original spot in the primary image to a new position.
New / replace / recolor null null Target [top, left, bottom, right] Generates a new element, replaces an existing region, or recolors an area at the target box.
Remove "ref_image_0" Original [top, left, bottom, right] null Deletes the object inside src_bbox from the primary image.
Take from another reference "ref_image_1" (or 2..9) Box in that reference image Box in the output image Extracts an element from a secondary reference image and places it into the output canvas.

Official examples and API field guide

Official text-to-image layout example

Below is an API payload using the official BFL generation example (POST https://api.bfl.ai/v1/flux-3-image-klein with header x-key):

{
  "prompt": "Minimalist graphic illustration featuring a black silhouette of a person <silhouette_1> centered against a solid, vibrant chartreuse background <background_1>. [{\"id\": \"background_1\", \"bbox\": [0, 0, 1000, 1000], \"desc\": \"A flat field of neon yellow-green with a subtle paper texture and fine, organic grain.\"}, {\"id\": \"silhouette_1\", \"bbox\": [150, 150, 850, 850], \"desc\": \"A black silhouette of a person in motion, made of dense stippled ink.\"}]",
  "aspect_ratio": "1:1",
  "resolution": "1k",
  "output_format": "png"
}

Official multi-reference editing layout example

Below is an editing payload using the official illustrative coordinates for keeping an oak sideboard in ref_image_0 while importing a ceramic lamp from ref_image_1:

{
  "prompt": "Modify <ref_image_0> by adding a ceramic table lamp <lamp_1> from image 2 next to the oak sideboard <sideboard_1>. Keep the rest of the image exactly unchanged. [{\"id\": \"lamp_1\", \"from\": \"ref_image_1\", \"src_bbox\": [80, 250, 950, 750], \"tgt_bbox\": [300, 120, 560, 280], \"desc\": \"a ceramic table lamp with a linen shade\"}, {\"id\": \"sideboard_1\", \"from\": \"ref_image_0\", \"src_bbox\": [540, 60, 880, 940], \"tgt_bbox\": [540, 60, 880, 940], \"desc\": \"an oak sideboard\"}]",
  "images": [
    "https://example.com/living-room.jpg",
    "https://example.com/lamp-product.jpg"
  ],
  "aspect_ratio": "4:3",
  "resolution": "2k",
  "output_format": "jpeg"
}

How to fill every API field used

  • prompt (required): The caption containing <id> tags followed by the serialized JSON array of bounding-box rows.
  • images (optional): Omit for text-to-image generation. For editing, pass an array of 1 to 10 http(s) URLs or base64 strings (each 256×256 to 16 MP).
  • aspect_ratio (optional): Set this explicitly to match the canvas shape you used when planning your 0–1000 coordinates. Options: 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4, 1:1, 4:5, 3:4, 5:7, 2:3, 9:16, 1:2, 9:21 (default is auto).
  • resolution (optional): Choose 768sq, 1k (default for text-to-image), 1.5k, 2k, or 4k.
  • output_format (optional): jpeg (default) or png.

Aspect ratio tip and layout limits

  • Match aspect_ratio to your box layout: Because the 0–1000 grid stretches to fill whatever output shape is generated, a box of [150, 150, 850, 850] is a square on a 1:1 image but becomes a wide rectangle on a 16:9 image. Always set aspect_ratio to the exact shape you drew your boxes for.
  • Boxes are guides, not hard pixel masks: Bounding boxes guide placement and scale, but they do not act as a strict cutout mask.
  • Small elements may not appear: Very small bounding boxes may be ignored by the model during generation.
  • Outside areas can shift during edits: Even when you mark regions to keep or edit via tgt_bbox, edits can still change content outside the specified region.
  • No extra control fields in API: Do not send seed, negative_prompt, guidance, or prompt_upsampling in the request JSON, or the API will reject the call with a 422 error.

Sources

Read on October 16, 2026. These pages are the basis for the details on this page.

Questions

How are bounding-box coordinates ordered in FLUX 3 Image Klein?

Bounding-box coordinates are ordered as [top, left, bottom, right] on a scale from 0 to 1000. For example, [0, 0, 1000, 1000] covers the entire canvas from the top-left corner to the bottom-right corner.

How do I remove an object from an image using a bounding box?

Set "from": "ref_image_0", set "src_bbox" to the [top, left, bottom, right] coordinates of the object you want to erase, and set "tgt_bbox": null. Include the <id> tag in your prompt instruction alongside a directive to keep the rest of the image unchanged.

Why did my bounding-box proportions look stretched in the final image?

Your boxes stretched because the 0–1000 grid maps proportionally to the final output dimensions. Always set the aspect_ratio field to match the exact aspect ratio you used when designing your box coordinates.

Can I draw layout bounding boxes in the Wispvue web interface?

No, the Wispvue browser interface supports text-to-image and single-image editing without bounding boxes. To use JSON layout rows, run your requests through the BFL API, ComfyUI, or local code.

Try FLUX 3 Image Klein in your browser Up to 3 images a day are free, no sign-up.

Get more images

150 images

$7.90

150 images, paid once

1000 images

$29.90

1,000 images, paid once

One payment through Waffo, no subscription. By buying, you agree to the Terms and ask for the images to be added at once. Unused images are refunded within 14 days.

Your images

No images on this browser yet. If you bought a pack elsewhere, enter its wallet code or your receipt details.

Enter a wallet code

Lost your code? Recover it with your receipt