API is live — v1.0.0

Screenshots & OG Images
via REST API

Generate website screenshots and Open Graph social media images with a single API call. Global edge network, milliseconds response.

terminal
# Generate an OG image in one request curl "https://pixelforge.pages.dev/api/og?key=YOUR_KEY&title=Hello+World&template=modern" \ -o og-image.png # Capture a website screenshot curl "https://pixelforge.pages.dev/api/screenshot?key=YOUR_KEY&url=https://example.com" \ -o screenshot.png

Everything you need, nothing you don't

Edge Network

Images generated at the edge — close to your users. No cold starts, no origin server, global distribution via Cloudflare.

🎨

5 Built-in Templates

Modern, Dark, Minimal, Announcement, and Code templates. Each carefully designed for maximum social media engagement.

📸

Full Website Screenshots

Capture any URL at desktop, tablet, or mobile viewport. Full-page mode captures the entire scroll.

🔑

Simple API Key Auth

Generate a free API key in seconds. Include it in every request. Track usage via the /api/usage endpoint.

🖼️

PNG & JPEG Output

Choose your format. PNG for pixel-perfect quality, JPEG for smaller file sizes with adjustable quality.

🌐

CORS Enabled

Call the API directly from your frontend. Embed OG image URLs in your blog's meta tags. Works everywhere.

Simple, RESTful endpoints

POST /api/keys

Generate a new API key. Returns your key and tier info.

GET /api/og

Generate an OG image from a template. Params: title, description, template, format, key.

GET /api/screenshot

Capture a website screenshot. Params: url, width, height, fullpage, device, format, key.

GET /api/usage

Check your current usage and remaining quota. Param: key.

response
# POST /api/keys → 201 Created { "key": "a1b2c3d4e5f6...", "tier": "free", "limit": 500, "message": "Key generated!" } # GET /api/og → 200 OK (image/png) # Returns a 1200×630 PNG image # GET /api/usage?key=YOUR_KEY { "key": "a1b2c3d4...", "tier": "free", "usage": 42, "limit": 500, "remaining": 458 }

Preview your OG image

Fill in the form below to see how your OG image will look. The URL shown is the exact API endpoint you'd use.

Image preview would render here after API deployment.
Try the template switcher to see URL changes →
https://pixelforge.pages.dev/api/og?key=YOUR_KEY&title=Building+Amazing+Products&description=Learn+how+to+build+products+users+love&template=modern&format=png

Start free, scale as you grow

Free
$0/mo
500 images / month
  • 500 images/month
  • All 5 templates
  • PNG + SVG output
  • Watermarked
  • Community support
Get Started Free
Team
$99/mo
50,000 images / month
  • 50,000 images/month
  • All 5 templates
  • PNG + JPEG output
  • No watermark
  • Dedicated support + SLA
Contact Sales