Real-estate generic JSON with grouping
POST {{ask-filerobot-server}}/images/real-estate/?cache=False&mode=sync&grouped_by=level
Image classifier and aesthetic assessement endpoint for real-estate images.
Add a json containing a list of file url in the request body to process several files.
You can group results according image type or image quality using parameter grouped_by
.
Options : [level, type]
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cache | string | Use server cache to accelerate response | |
mode | string | Synchronous or asynchronous process | |
grouped_by | string | Groups outputs by level or by type, options : [level, type] |
Request Body
{"files_urls"=>[{"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/9.webp?vh=29443c"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/8.webp?vh=8f3ed5"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/2.webp?vh=79d2bf"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/7.webp?vh=20b5c8"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/6.webp?vh=dc344c"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/3.webp?vh=8dcfdc"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/4.webp?vh=2313ae"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/5.webp?vh=26244c"}, {"url"=>"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/1.webp?vh=cea7cf"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot API key |
RESPONSES
status: Created
{"status":"success","version":"3.0.10","result":{"high":{"bathroom_furnished":[{"predictions":[{"classification":{"description":"a photo of a furnished bathroom","threshold":0.5,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.8296,"result":"bathroom_furnished"},"aesthetic":{"image_level":"high","score":0.7685,"methods":["iqa","cos_mean"]}}],"request_uuid":"f12d64bd-f94b-41a2-856a-5d05107cf7f9","sha1":"6ce33201dd971a5a81041ff62b3e7a37316233de","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/5.webp?vh=26244c"}],"house_exterior":[{"predictions":[{"classification":{"description":"a photo of a house from outside","threshold":0.8,"is_interior":false,"is_exterior":true,"is_furnished":null,"score":0.9946,"result":"house_exterior"},"aesthetic":{"image_level":"high","score":0.7032,"methods":["iqa","cos_mean"]}}],"request_uuid":"88945ac5-44a0-4425-bfb3-887ccda98d71","sha1":"73b9fcc781037a67fd62b53a3fc1e59e76fea839","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/3.webp?vh=8dcfdc"},{"predictions":[{"classification":{"description":"a photo of a house from outside","threshold":0.8,"is_interior":false,"is_exterior":true,"is_furnished":null,"score":0.9907,"result":"house_exterior"},"aesthetic":{"image_level":"high","score":0.6932,"methods":["iqa","cos_mean"]}}],"request_uuid":"6ec0ab24-00c1-4ce7-b734-f7bf4e5f8a1b","sha1":"b8521f0d68777faa37a0c3b5d5a9b9221dac1bfb","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/2.webp?vh=79d2bf"}],"living_room":[{"predictions":[{"classification":{"description":"a photo of a living room","threshold":0.65,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.9922,"result":"living_room"},"aesthetic":{"image_level":"high","score":0.7998,"methods":["iqa","cos_mean"]}}],"request_uuid":"b44718a1-d85f-41de-b0dc-00fa4b73fd5e","sha1":"753cbc2fb9305986daa003693a77747caef581e3","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/4.webp?vh=2313ae"}]},"medium":{"bedroom":[{"predictions":[{"classification":{"description":"a photo of a bed room","threshold":0.65,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.999,"result":"bedroom"},"aesthetic":{"image_level":"medium","score":0.6981,"methods":["iqa","cos_mean"]}}],"request_uuid":"c0bb1806-807f-48fb-9fb5-03e047e7723e","sha1":"71ae26ac420eb9113ad9afb4dbcc03fbae16139b","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/1.webp?vh=cea7cf"},{"predictions":[{"classification":{"description":"a photo of a bed room","threshold":0.65,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.9995,"result":"bedroom"},"aesthetic":{"image_level":"medium","score":0.6701,"methods":["iqa","cos_mean"]}}],"request_uuid":"1c173931-cf01-44c1-a7ba-dc19715342e2","sha1":"ccee475ab2a9c9fed10b464dd4eae921d6ffda2a","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/7.webp?vh=20b5c8"}],"kitchen_furnished":[{"predictions":[{"classification":{"description":"a photo of a furnished kitchen","threshold":0.7,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.999,"result":"kitchen_furnished"},"aesthetic":{"image_level":"medium","score":0.6807,"methods":["iqa","cos_mean"]}}],"request_uuid":"0818bb5c-a171-44c9-8834-9a90f083b64f","sha1":"fc5f4497eae19d397b89158031238041668e1246","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/6.webp?vh=dc344c"},{"predictions":[{"classification":{"description":"a photo of a furnished kitchen","threshold":0.7,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.9937,"result":"kitchen_furnished"},"aesthetic":{"image_level":"medium","score":0.6757,"methods":["iqa","cos_mean"]}}],"request_uuid":"96f2b646-15fb-4fbe-b4b7-237dc940f11d","sha1":"80290a7afc296995d011b2a23f912c6055cc409f","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/9.webp?vh=29443c"}],"living_room":[{"predictions":[{"classification":{"description":"a photo of a living room","threshold":0.65,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.9946,"result":"living_room"},"aesthetic":{"image_level":"medium","score":0.738,"methods":["iqa","cos_mean"]}}],"request_uuid":"e5bc13ef-5a88-4357-b80c-cf0cd02556c5","sha1":"d1cdeeb20d6c7b3b3abed240a7b03e76ccacb08b","url":"https://try.filerobot.com/erwan/test/real_estate/batch/ad_1/8.webp?vh=8f3ed5"}]}}}