BoundingBox

The BoundingBox ControlNet allows users to define the proportions of the generated model by specifying the length, width, and height through a draggable bounding box. This is particularly useful when you want the generated object to fit within specific dimensions or adhere to certain spatial constraints.

Use Case

  • Example: Generating a sofa or a treasure chest that must fit within prescribed dimensions.

Example Representation

{
  "bbox_condition": [
    100,
    100,
    100
  ]
}
  • bbox_condition: An array that specifies the dimensions and scaling factor of the bounding box.

    • Elements:

      1. Length (X-axis): 100 units.

      2. Width (Y-axis): 100 units.

      3. Height (Z-axis): 100 units.

By setting the bbox_condition, you're instructing the model to generate an object that fits within a box of the specified dimensions.


For an example of a cURL request, please refer to the ControlNet Playground.

ControlNet Playground

Last updated