Image Upload

Uploading mage to submit an order

Explanation

This API endpoint allows users to upload images to the server. It is designed to handle image files and store them in the server's storage system. The API supports a wide range of image formats, including JPG, JPEG, PNG, and WEBP, as well as RAW file formats such as DNG, ARW, RAF, NEF,etc.


POST https://api.aihomedesign.com/v1/order/image


Request Body

Ensure that your request body is in form-data format.

NameTypeDescription

image *

File

your image file Max size: 50 MB

service_name *

Text

Possible options for service_name : service-creative-designer,

service-ai-virtual-staging,

service-item-removal,

service-day-to-dusk,

service-image-enhancement.

Headers

KeyValue

x-api-key *

{your_api_key_here}

Response

{
    "order_id": string
}

If the image uploads successfully, the response will include an order_id

Keep the order_id. you’ll need it to submit the order.

Last updated