Landsat Alphabet API — Home

Public deterministic image API

Landsat Alphabet API

One URL in, one cached PNG out. Render text as stitched NASA/USGS Landsat letter imagery with deterministic variants and immutable cache headers. Open source.

Quick Start

Use the PNG endpoint anywhere an image URL works. The JSON endpoint returns the normalized text, selected letter variants, source URLs, and the PNG render URL.

HTML
<img
  src="https://landsat.pranavkarra.me/v1/name/PRANAV.png"
  alt="PRANAV rendered in Landsat imagery"
/>
curl
curl -L "https://landsat.pranavkarra.me/v1/name/PRANAV.json"
JavaScript
const res = await fetch("https://landsat.pranavkarra.me/v1/name/PRANAV.json");
const data = await res.json();

console.log(data.renderUrl);
console.log(data.letters.map((letter) => letter.sourceUrl));
Endpoints
EndpointResponse
GET /v1/name/{text}.pngStitched PNG with immutable public cache headers.
GET /v1/name/{text}.jsonSelected letters, tile URLs, source URLs, and attribution.
GET /v1/manifest.jsonFull inventory of available letter variants and tile sizes.
GET /openapi.jsonOpenAPI 3.1 spec for API clients and tools.
GET /llms.txtPlain-text usage notes for coding agents.
Parameters
NameValuesDefault
size512 or 1024512
gapInteger from 0 to 64 pixels.0
seedAny string. The same text and seed always select the same variants.default
Attribution

Source imagery: NASA/USGS Landsat. This API is unofficial and is not endorsed by NASA.

Thank you to NASA and the U.S. Geological Survey for Landsat data and outreach materials this project relies on.