Skip to main content
POST
Create interior design

Request

Make a POST request to below endpoint and pass the required parameters in the request body.
curl

Body

json

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

specific_object
string | null

Name a specific furniture or decor element that must appear in the redesigned room

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