The same tools as in the cabinet are available programmatically. A tool costs the same as in the cabinet, plus one API call (Limits and billing). Base address: https://developers.grem.capital/api/v1.
List
| Tool | Request | Scope | How it works |
|---|---|---|---|
| Express valuation | POST /valuation/express | tools:valuation | immediate |
| Full valuation report | POST /valuation/report | tools:valuation | job |
| Rent estimate | POST /valuation/rent | tools:rent | immediate |
| Report review | POST /valuation/review | tools:review | job, with a file, waits for confirmation |
| Content pack | POST /content/generate | tools:contentgen | job |
| Listing texts | POST /text/generate | tools:text | job |
| Video from photos | POST /video/create | tools:video | job, with files |
| Avatar video | POST /avatar/video | tools:avatar | job |
| Photo enhancement | POST /photo/enhance | tools:photo | job, with a file |
| Floor plan cleanup | POST /floorplan/create | tools:floorplan | immediate (the 202 already holds the result), with a file |
| Listing landing page | POST /site/create | tools:sitegen | immediate |
| PDF presentation | POST /pdf/create | tools:pdf | job |
| Personal flyer | POST /flyer/create | tools:flyer | immediate |
| Draft from documents | POST /draft/extract | tools:draft | immediate, with files |
Fields, examples and errors of each tool:
- Valuation - express, full report, rent, report review.
- Content and video - content pack, texts, video, avatar.
- Photos and floor plans - photo enhancement, floor plan.
- Listing materials - landing page, PDF, flyer, draft.
The ids tools take as input (voice, avatar, music, closing phrase) and the current availability of the tools: Reference data.
Sending data
- JSON - most tools:
Content-Type: application/json. - multipart/form-data - tools with files. Their field layouts differ, and this matters:
- photo enhancement and draft - options as one JSON string in the
datafield, files as separate parts; - video - each option as its own form field (
prompt,length,musicTrackId...), photos asphotosparts; - report review and floor plan - the file in the
filepart, options as separate fields.
- photo enhancement and draft - options as one JSON string in the
Sending JSON to a tool that expects a file returns 400.
Responses
- A synchronous tool answers
200with the result. - An async one answers
202with a job; get the result by polling or webhook (Jobs and results). - Generated files are downloaded through
GET /artifacts/{path}.
Send every tool-starting request with an Idempotency-Key (Idempotency).
Not in the API
The 3D tour and the neighbourhood market report are available in the cabinet only for now.