Real-estate generic Multipart
POST {{ask-filerobot-server}}/images/real-estate/upload/?cache=False&mode=sync
Image classifier and aesthetic assessement endpoint for real-estate images.
Add file in the request body to process an single image.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cache | string | Use server cache to accelerate response | |
mode | string | Synchronous or asynchronous process |
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
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","predictions":[{"classification":{"description":"a photo of a bed room","threshold":0.65,"is_interior":true,"is_exterior":false,"is_furnished":true,"score":0.9991,"result":"bedroom"},"aesthetic":{"image_level":"medium","score":0.6129,"methods":["iqa","cos_mean"]}}],"request_uuid":"d78893d0-efe9-4f3c-bd1c-6920256bd733","sha1":"c9108b08cee01e6a4e6b2489b7ad1f68533744bf"}