API Documentation
  • Welcome!
  • Quick Start
  • API methods
  • Easy integration
  • Handling Large File Sets
  • Supported formats
  • Webhooks
  • Common usecases
    • Auto enhance image quality
    • Create business photo or avatar from face image
    • Face swap
    • Create beautiful product photo
    • Genarate image in high resolution
    • Remove background
    • AI Drawing to Image - Doodle
    • Real estate
    • Enhancing documents
    • Car dealer photo
  • Image processing
    • Resize and padding
    • Denoise and sharpen
    • Enhance lighting and colors
    • Enhance face details
    • Background removal and generation
    • Image generation
    • Inpainting and outpainting (uncrop)
    • Frame identification
    • Print
    • Captions
    • Additional parameters
    • Presets
  • Account & settings
    • Account information
  • storages
    • Description
    • AWS S3
    • AWS S3 IAM Configuration
  • Presets
    • E-commerce
    • Real-estate
    • Print/Photo
    • Digital Art
  • Technology
    • Algorithms
    • Upscale
    • Background removal
      • Remove BG recommendation
    • Sharpen & Noise reduction
    • Enhance Lighting
  • FAQ
Powered by GitBook
On this page
  1. Common usecases

Real estate

PreviousAI Drawing to Image - DoodleNextEnhancing documents

Last updated 6 months ago

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

with request:

{
    "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:

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:

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

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.

Using adapter_type = "control2" it uses only edges of the given image:

Yet another example.

Description: "house at winter", adapter_type="control2" (just edges).