For the complete documentation index, see llms.txt. This page is also available as Markdown.

Orders

What is an Order?

An Order bundles one or more input images together and makes them ready for AI processing. Think of it as the "job ticket" — you create it once per set of input photos, then fire as many processes against it as you want.

An order has:

  • Entry assets — the original uploaded images

  • Processes — all AI jobs run against this order

  • Statusidle while waiting, active during processing

Asset roles

Role
Description

primary_angle

The main photo (required; only one allowed per order)

secondary_angle

An additional angle of the same space (only one allowed per order)

mask

A binary mask image used by mask-based tools


Create an Order (Upload Images)

POST https://api.aihomedesign.com/v3/order
x-api-key: <your_api_key>
Content-Type: multipart/form-data
Form field
Required
Description

project_id

Optional

ID of the project to attach this order to

asset_file

At least one

Image file(s) to upload — repeat for multiple files

asset_roles

Optional

Role for each file — positionally aligned with asset_files, defaults to primary_angle

Single image:

Two images — primary + secondary angle:

Upload Mask Image (Item Removal Mask tool)

A binary mask image — blue (#7878CD) pixels = remove | black pixels = keep

Response (201 Created):

Save the order_id and each asset id — you need them when creating a process.


Fetch a Single Order

Optional query params: width, height to resize image URLs.

Response:

Last updated