Request

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

Body

json
{  
    "key":"enterprise_api_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 Attributes

key
string
required
Your API Key used for request authorization.
prompt
string
required
The text prompt describing the content you want in the generated image.
init_image
string
Link to the Initial Image of the room.
negative_prompt
string
Descriptions of things you don’t want in the image. Examples include NSFW content, extra limbs, distorted faces, or poor quality.
strength
number
Prompt strength when using init_image. A value of 1.0 corresponds to full destruction of information in the init image.
base64
boolean
default:"false"
Get the response as a base64 string. Options: true or false. Default is false.
num_inference_steps
integer
The number of denoising steps. Acceptable values are 21, 31, or 41.
guidance_scale
integer
Scale for classifier-free guidance. Minimum is 1, maximum is 20.
temp
boolean
default:"false"
Create a temporary image link. The link is valid for 24 hours.
seed
integer
Seed used to reproduce results. Same seed returns the same image. Pass null for a random seed.
webhook
string
Provide a URL to receive a POST API call once the image generation is complete.
track_id
integer
This ID is returned in the response and used to identify the webhook request.