POST
/
interior
/
make
Create interior design
curl --request POST \
  --url https://modelslab.com/api/v6/interior/make \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "prompt": "<string>",
  "init_image": "<string>",
  "negative_prompt": "<string>",
  "strength": 5,
  "base64": false,
  "num_inference_steps": 51,
  "guidance_scale": 8,
  "temp": false,
  "seed": 0,
  "scale_down": 6,
  "webhook": "<string>",
  "track_id": 123
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "meta": {}
}

Request

Make a POST request to below endpoint and pass the required parameters in the request body.
curl
--request POST 'https://modelslab.com/api/v6/interior/make' \

Body

json
{  
    "key":"",  
    "init_image":"https://imagedelivery.net/PP4qZJxMlvGLHJQBm3ErNg/50bc1662-8d41-468e-55d0-9575ad096000/768",  
    "prompt": "Luxury bedroom with an elegant wooden floor, a stylish table, and a plush red carpet, creating a warm and sophisticated ambiance.", 
    "negative_prompt": "bad quality",
    "seed": 0,  
    "guidance_scale": 8,  
    "strength": 0.99,  
    "num_inference_steps": 51,  
    "base64": false,  
    "temp": false,  
    "scale_down": 6,  
    "webhook":null,  
    "track_id":null
}

Body

application/json
key
string
required

Your API Key used for authenticating your request

prompt
string
required

A text prompt describing the content you want in the generated interior image

init_image
string<uri>
required

A URL to the initial image of the room to base the design on

negative_prompt
string

Descriptions of elements to avoid in the image (e.g., NSFW content, poor quality, distorted features)

strength
number
default:5

The degree to which the prompt influences the initial image. 1.0 corresponds to full destruction of the initial image details Range: 1.0 to 10.0

base64
boolean
default:false

Specifies whether the response should be returned as a base64 string. Defaults to false

num_inference_steps
integer
default:51

The number of denoising steps. Acceptable values are 21, 31, or 41

guidance_scale
integer
default:8

The scale for classifier-free guidance. Minimum is 1, and maximum is 20

temp
boolean
default:false

Indicates if temporary links should be used, valid for 24 hours. Defaults to false

seed
integer | null
default:0

Seed for reproducibility. The same seed generates the same image. Use null for a random seed

scale_down
integer
default:6

Scale down parameter for image processing

webhook
string<uri> | null

A URL to receive a POST API call once the image generation is complete

track_id
integer | null

An ID returned in the API response, used to identify the webhook request

Response

Interior design response

status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the result in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of URLs to the generated images

Array of proxy URLs for the generated images

meta
object

Metadata about the generation process and parameters used