Real-estate image aesthetic JSON
POST {{ask-filerobot-server}}/images/real-estate-aesthetic/?cache=False&mode=sync
Quality and aesthetic assessment endpoint for real-estate images.
Add a json containing a list of file url with image type in the request body to process several files.
Options for photo_type
parameter : [livingroom, bedroom, diningroom, kitchenfurnished, kitchenunfurnished, bathroomfurnished, bathroomunfurnished, unfurnishedroom, outdoor, houseexterior, buildingexterior, road, field, cave, sign, person, plan, 3d, swimmingpool, corridor, stairs, warehousebarninterior, lobby, parking, officeinterior, outdoordining, toilet, aerial]
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cache | string | Use server cache to accelerate response | |
mode | string | Synchronous or asynchronous process |
Request Body
{"files_urls"=>[{"url"=>"https://filerobot.s3.eu-west-3.amazonaws.com/ask/tests/property.5.jpg", "photo_type"=>"bedroom"}, {"url"=>"https://filerobot.s3.eu-west-3.amazonaws.com/ask/tests/property.4.jpg", "photo_type"=>"kitchen_furnished"}]}
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":[{"prediction":{"image_level":"medium","score":0.6281,"methods":["iqa","cos_mean"]},"request_uuid":"33ba080a-adf1-4e12-8877-10b134e642fb","sha1":"20f368e651dc5bba72c4d673a2ffc719cbafd526","url":"https://filerobot.s3.eu-west-3.amazonaws.com/ask/tests/property.5.jpg"},{"prediction":{"image_level":"low","score":0.5396,"methods":["iqa","cos_mean"]},"request_uuid":"f5b8ac03-7c2b-4c8e-be8f-6d23cf95c24e","sha1":"50db6746b10e7dae37481da38fbffd35e27d6ac4","url":"https://filerobot.s3.eu-west-3.amazonaws.com/ask/tests/property.4.jpg"}]}