🔃

Image Generation

To obtain generated image URL (after_src), set a webhook endpoint on your dashboard at aihomedesign.com (API-access section). Subsequently, submit an order. Upon completion, you will receive an orderId and an estimated time of arrival (ETA) in the response. Be prepared to await our request at the designated endpoint on your application. Below is a representation of our request to your webhook, including the "after_src" parameter: REQUEST BODY
{"order_id":string,
"images":[
{
"id":string,
"before_src":string,
"after_src":string,
"regenerated":boolean,
"style": string,
"color":string,
"type":string,
"created_at":Date time in string format
}]
}

Response

HTTP status code 200: OK HTTP status code 400: bad request