Skip to main content
POST
Interior mixer

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

init_image
string<uri>
required

Room image in which object wants to be added

object_image
string<uri>
required

Object which we want to add

prompt
string
required

Prompt required for generation

width
integer

Width of output image. Min: 512, Max: 2048. If not provided, uses original image resolution

Required range: 512 <= x <= 2048
height
integer

Height of the output image. Min: 512, Max: 2048. If not provided, uses original image resolution

Required range: 512 <= x <= 2048
guidance_scale
integer

The scale for classifier-free guidance

num_inference_steps
integer
default:8

Number of inference steps required for generation

base64
boolean
default:false

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

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 mixer 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