AI HomeDesign API Docs
  • introduction
    • Getting Started
    • API Key
    • How to Use the API Key?
    • Step-by-Step Guide
  • API Endpoints
    • Getting Started with API Endpoints
    • Image Upload
    • Submit Order
      • AI Virtual Staging
      • AI Interior Design
      • AI Image Enhancement
      • AI Day to Dusk
      • AI Item Removal
      • AI Item Removal Mask
    • Get Spaces
    • Get Widgets and Items
    • Get Order Details
    • Generated Image Webhook
    • Upscale Download Webhook
    • Code Examples
      • Mask Canvas
    • Postman Workspace
  • Usage Limits and Policies
    • Rate Limit
  • Support and Contact
    • Help & Support
    • FAQs
Powered by GitBook
On this page
  • Explanation
  • Initiate the Request
  • Request Body
  • Headers
  • Response
  • Get Image via Webhook
  • Request Body
  1. API Endpoints

Upscale Download Webhook

Download Upscaled Images

PreviousGenerated Image WebhookNextCode Examples

Last updated 5 months ago

Explanation

If you've already generated an image and want to obtain a higher-resolution version, you can request an upscaled image through this endpoint. After your request is processed, the upscaled image will be sent to your specified webhook URL. The upscaled image link will be included in the response under the field "upscaled_image_src".

The process consists of two steps:

  1. Initiate the request to upscale the image.

  2. Retrieve the image via the webhook notification.

Initiate the Request


POSThttps://api.aihomedesign.com/v1/order/image/{generated_image_id}/download/upscale

Where can I get the generated_image_id?

The generated images for an order can be accessed via the endpoint.

Request Body

The request body is not required for this endpoint and should be left empty.

Headers

Key
Value

x-api-key*

{your_api_key_here}

Response

{ 
    status : "processing" 
}

Get Image via Webhook

After submitting the request, our system will process the image and send you a webhook notification to the URL you’ve specified in your dashboard. This notification will let you know when the upscaled image is ready and provide a link to download it, also you can identify the webhook request by the field named generated_image_id,which is the id of the image you've requested upscale for.

Request Body

{
   "generated_image_id": "SAMPLE-UUID",
   "upscaled_image_src" : "SAMPLE-DOWNLOAD-LINK",
   "user_id":"SAMPLE-UUID"
}
Get Order Details