REST API · 20 themes · 20+ languages

Beautiful code images,
in one API call.

POST a snippet, get back a polished PNG that's ready to post. No headless browser, no design work, no screenshot cropping.

One request, one image

Authenticate with a header, send JSON, receive image bytes. That's the whole API.

Request

curl -X POST https://your-host/v1/render \
  -H "X-API-Key: ss_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "code": "const x = 42;",
    "language": "javascript",
    "theme": "midnight"
  }' \
  --output snippet.png

Node

const res = await fetch(url, {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.SS_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ code, language, theme }),
});

// res.body is PNG bytes
await writeFile('out.png', Buffer.from(
  await res.arrayBuffer()));

Python

import requests

r = requests.post(url,
  headers={"X-API-Key": key},
  json={
    "code": code,
    "language": "python",
    "theme": "sunset",
  })

with open("out.png", "wb") as f:
    f.write(r.content)

Built to be boring in production

The parts you'd otherwise have to build yourself.

Deterministic caching

The same code and theme always produce the same bytes, served straight from a content-addressed cache. Repeat calls are effectively free.

No headless browser

Rendering is SVG generation plus a native rasterizer — milliseconds per image, no Chromium to babysit, no memory leaks at 3am.

Self-serve billing

Upgrade, downgrade and cancel from your dashboard through Stripe. No sales call, no support ticket, no dark patterns.

Honest quotas

Every response carries your remaining quota in the headers. Failed renders are refunded automatically — you're only billed for images you receive.

Twenty themes

Monokai, Dracula, Nord, Solarized, Gruvbox, Cobalt and more — plus gradient backdrops like Sunset, Ocean, Aurora and Synthwave that look right on a timeline.

Nothing tracked

No analytics scripts, no third-party cookies, no fingerprinting. Your snippets are cached as images and never inspected.

Pricing

Start free, no card. Upgrade when you outgrow it.

Quotas reset on the 1st of each month. Cancel any time from your dashboard.