# Real estate

We can use image generation feature to transform empty or bare room photos into fully furnished and designed spaces. Whether you're showcasing a property, visualizing design options, or enhancing listings, this feature can automatically add furniture, decor, and other design elements to an empty room, creating a realistic, styled environment.

Let's change this image

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FjmKF0GCNCPxpBtdCqsGS%2Flost-places-597166_1280.jpg?alt=media&#x26;token=c64b2743-0394-4862-81bf-131672d53dc1" alt="" width="563"><figcaption></figcaption></figure>

### Image edit based

```json
{
    "url": "https://s3.eu-central-1.amazonaws.com/deep-image.ai/api-examples/lost-places-597166_1280.jpg",
    "background": {
       "generate": {
           "description": "A loft style furnishings",
           "adapter_type": "control",
           "model_type": "flux2-klein9b"
       }
    }
}
```

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FvzAhDRM1b796WMKAM6K4%2F327886fb-e590-4128-b900-65d6ea912935-width%3D1280_height%3D853.png?alt=media&#x26;token=09ad46ce-5405-457c-975a-cde10e518e79" alt=""><figcaption></figcaption></figure>

Other model types examples:

#### gemini-3-pro-image-preview

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FtEV1MdZbRzRMMiFxstDD%2Fgenerated_image%20(3).png?alt=media&#x26;token=82edd7ad-16b4-40dc-9754-a111ccbcecfe" alt=""><figcaption></figcaption></figure>

#### qwen

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FcVGUgePAiGS1AK0TSNt0%2Fimage.png?alt=media&#x26;token=790b142d-0c4f-4cce-b886-a5fdcf9093a3" alt=""><figcaption></figcaption></figure>

#### see-dream-4.5

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FlazEhZO9BgJNvIHfl5Qq%2Fimage.png?alt=media&#x26;token=a85a6612-6545-4070-8ddf-8754003c4121" alt=""><figcaption></figcaption></figure>

### Controlnet based

```json
{
    "url": "https://s3.eu-central-1.amazonaws.com/deep-image.ai/api-examples/lost-places-597166_1280.jpg",
    "background": {
       "generate": {
           "description": "A loft style furnishings",
           "adapter_type": "control",
           "controlnet_conditioning_scale": 0.75
       }
    }
}
```

into:

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FRxhdLapKWajlEWG4Np6x%2Flost-places-597166_1280-width%3D200%25_edges_generated.jpg?alt=media&#x26;token=c53d7691-8b9f-4716-86b8-827aa62860be" alt="" width="563"><figcaption></figcaption></figure>

Parameter "**adapter\_type**" is an algorithm type. Value "**control**" generates images based on given image and the edges extracted from the given image while value "**control2**" generates based only on extracted edges. Let's visualise those differences:

Having that image:

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2F0LWbU6jjXlQDfkaF4J1s%2Fbedroom-1872196_1280.jpg?alt=media&#x26;token=c76b3f0f-0d63-46ab-9b1d-8d67cf520dd6" alt=""><figcaption></figcaption></figure>

Edges extracted from that image (this is done under the hood during processing):

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FqlD7dbsHr9zoKiAccdaq%2Fcanny.png?alt=media&#x26;token=e5ff2e68-e0ed-4ab6-8f53-f36b622b7de6" alt=""><figcaption></figcaption></figure>

Result (the same prompt and other parameters) for adapter\_type = "**control**" (based on image and edges), image is mostly preserved, there are just minimal changes.

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2FJYB1EuOAWvcIcxqLlh7B%2Fimage.png?alt=media&#x26;token=ec5afa5e-077e-4b72-a24f-767b421cf3c5" alt=""><figcaption></figcaption></figure>

Using adapter\_type = "control2" it uses only edges of the given image:

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2Ft2D6QiNjAvXnbPDE0SNU%2Fimage.png?alt=media&#x26;token=ced6cc03-17f9-480e-9afb-53f656c718d6" alt=""><figcaption></figcaption></figure>

Yet another example.

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2F43HdIzzQUxElFfJsdZKf%2Fcanny2.png?alt=media&#x26;token=ec8e857f-5259-4ad3-bde1-7d6d25593f02" alt=""><figcaption></figcaption></figure>

Description: "house at winter", adapter\_type="control2" (just edges).

<figure><img src="https://2652559519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3i5YcUkcXyIsWHIhRO2d%2Fuploads%2Fp8HZIgJFW9d1qLpLFSt0%2Fimage.png?alt=media&#x26;token=d6b0dee1-5df0-412a-9ed7-c088f533dfe2" alt=""><figcaption></figcaption></figure>
