====== Upload API ====== ===== api.picalike.com/upload/api ===== host: **frontend05-hpc.picalike.corpex-kunden.de**\\ port: **8093**\\ method: POST\\ parameters should be passed as form fields ===== required parameters ===== * **shop_apikey** = api key\\ * **img_url** = url | **myfile** = file to be uploaded ===== optional parameters ===== * **x1**, **y1**, **x2**, **y2** = coordinates to crop image (image can either be a file or a url)\\ * **n_items** = number of similar items to be displayed for each category\\ * **p_cat** = picalike category for similarity search (this field can occur multiple times) | **c_cat** = customer category for similarity search (this field can occur multiple times)\\ * **min_catscore** = if no category is provided as parameter, similarity search is made over predicted categories whose score is larger than min_catscore\\ * **color** = filter by color\\ * **b** = filter by brand\\ * **gender** = filter by gender\\ * **size** = filter by size\\ * **price_from** = filter by price\\ * **price_till** = filter by price\\ ===== out ===== { "img_url": , "labels": [ [color, score], ..., [label, score], ... ], "result":[ { "category": , "similar_items":[ { "name": , "url": , "gender": , "brand": , "score": , "price": }, ... ] }, ... ] }