Skip to main content

Request

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

Body

json

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.