sky_view
Where the visible bodies land in a framed photo of the sky, for an image prompt. Give a place, a moment, an aim (compass direction and altitude), a lens, and an image size; get each in-frame body's pixel position, apparent size, brightness, the Moon's phase orientation, a sky-state summary (twilight, limiting magnitude, horizon row), the bright bodies just outside the frame, a ready-to-use prompt, and a machine-readable renderPlan (a body-free background-plate prompt plus the computed layers to composite locally, for a hybrid render pipeline). Caelus computes the geometry and photometry; it does NOT render the image. For "at sunset", first find the set time with sky_events, then pass it as date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, north positive | |
| lon | Yes | Longitude, EAST positive (Americas are negative) | |
| date | No | UTC ISO date-time (convert from local first); omit for now | |
| lens | No | Lens preset; sets field of view and projection (ultrawide is fisheye, the rest rectilinear) | normal |
| width | No | Output image width in pixels | |
| bortle | No | Dark-sky class, 1 (pristine) to 9 (inner city). Sets the night naked-eye limit and drives background star density and Milky Way visibility. Omit for a suburban default | |
| height | No | Output image height in pixels | |
| azimuth | Yes | Center compass direction: degrees from true north (east positive) or a 16-point name like "W" or "WNW" | |
| altitude | No | Center altitude in degrees: 0 looks at the horizon, positive tilts up | |
| overlays | No | Reference-frame overlays to project (annotations, not photoreal): the ecliptic line, the zodiac signs, house cusps and angles, and constellation figures. Exact pixels returned in `overlays` | |
| deep_field | No | Pin the complete deep naked-eye star field (thousands of stars at exact pixels) instead of the bright catalog. Larger response; great for control images | |
| elevation_m | No | Eye height above ground in meters (e.g. 9 for a third-floor window) | |
| max_star_mag | No | Brightest-magnitude cutoff for stars (smaller is brighter); default 2.5, or the limiting magnitude when bortle is set | |
| include_stars | No | Include bright catalog stars when a star catalog is loaded |