Render a photo
render_photoRender a photorealistic image of a 3D home design with sun, lamps, and glass, choosing camera view, time of day, and quality. Returns a PNG for visual checks.
Instructions
Realistic photo (path traced: sun from compass location and time, lamps, glass). cam=i stored view, or view=visitor/aerial (yaw,pitch). quality draft (~10 s) | good | best; hour = local solar time (e.g. 9, 15.5, 20); w/h small. Returns PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Height px (default 360, 64..1200) | |
| w | No | Width px (default 480, 64..1600) | |
| cam | No | Stored point of view index | |
| yaw | No | Aerial turn, degrees (default 60) | |
| hour | No | Local solar hour, 0–24 | |
| view | No | `aerial` (default) or `visitor` | |
| pitch | No | Aerial height angle, degrees (default 40) | |
| quality | No | `draft` (default), `good`, `best` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mimeType | Yes | Type of the image in the content (image/png) |