# Google Solar API GeoTIFF Layer Image Renderer

> Google Solar API GeoTIFF Layer Image Renderer is a paid API for AI agents from stableenrich.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Downloads a Google Solar API GeoTIFF data layer (rgb, dsm, annualFlux, monthlyFlux, hourlyShade, or mask) and returns it as a PNG or JPEG image, supporting both GeoTIFF ID and lat/lon lookup.

## Facts

- Endpoint: GET https://stableenrich.dev/api/google-maps/solar/rgb-image
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableenrich-dev-4414cabd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bal0zSApgPql7ShJvDqF3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableenrich-dev-4414cabd
```

Example prompt: Show me the annual solar flux layer as a PNG image for the building at latitude 37.4224 longitude -122.0840, using a 50-meter radius, at scale 2 and quality 90.

## When to prefer this

Use this endpoint when you need to visually render Google Solar API GeoTIFF data layers (solar flux, shade, elevation, RGB, or mask) as standard PNG/JPEG images — especially when you have lat/lon coordinates and want Mode B auto-resolution, or when you need grids for monthly/hourly data. Prefer over direct GeoTIFF processing when you need a ready-to-display raster image without additional raster processing tools.

## Known failure modes

- Missing both id and latitude/longitude returns a 400 error
- Invalid layer enum value returns a 400 validation error
- Invalid month or hour range returns a 400 error
- hourlyShade in Mode B requires month — omitting it causes a 400 error
- Coordinates outside Google Solar coverage return a 404 or empty result
- Invalid GeoTIFF asset ID returns a 404 or upstream error
- Quality or scale out of range returns a 400 validation error
- Upstream Google Solar API failure returns a 502 or 503 error
- Payment not provided or insufficient returns a 402 error

## How this service works

Google Solar API - Render a Solar GeoTIFF layer (rgb, dsm, flux, shade, or mask) as PNG/JPEG. Pass either a GeoTIFF id or latitude/longitude. Returns JSON with a public image url and metadata. monthlyFlux supports one month or a 4x3 grid; hourlyShade supports one hour or a 6x4 grid.

## Output

Returns a binary PNG or JPEG image of the requested Google Solar GeoTIFF layer (rgb, dsm, annualFlux, monthlyFlux, hourlyShade, or mask) for the specified location or asset ID. For monthlyFlux without a month, returns a 4×3 grid; for hourlyShade without an hour, returns a 6×4 grid.

## Example request

```json
{
 "crop": false,
 "layer": "annualFlux",
 "scale": 1,
 "format": "png",
 "quality": 85,
 "latitude": 37.4224,
 "longitude": -122.084,
 "radiusMeters": 30
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableenrich-dev-4414cabd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableenrich.dev](https://www.zero.xyz/host/stableenrich.dev/llms.txt)
