Skip to main content

upload

Parameters

  • uuid: A unique identifier for the image of this request.
  • image_url: The URL where the image is hosted.
  • attribute: A collection of properties related to the image or product. The attribute field includes the following key-value pairs:
    • Brand: Specifies the brand associated with the product.
    • Category: Defines the general type of product.
    • Gender: Indicates the intended target audience by gender.
    • Material: Describes the primary fabric or substance used in the product.
    • Studio: Refers to the location or studio number where the image was taken.

Request

POST /garment-tagging/upload

Headers

KeyValueDescription
API-KEYYOUR_API_KEYAuthentication key for the API
DOMAINYOUR_DOMAINDomain identifier for tenant isolation

Request Body

{
"uuid": "12345",
"image_url": ["https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-001.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-002.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-003.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-004.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-006.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-007.jpg","https://aistetic-assets-tm6a4f1x7d.s3.eu-west-2.amazonaws.com/test_sample/multi_image_sample1/39117-076-138-008.jpg"],
"attribute":{
"Brand": "DOLCE & GABBANA",
"Category": "Clothing",
"Gender": "Womens",
"Material": "Cotton",
"Studio": "18"
}
}

Responses

200 OK

{
"status": true,
"data": {},
"error": [],
"message": "success!"
}