Capture screenshots and generate beautiful OG images with a simple API call. Free to start.
Get Your API KeyCapture any webpage as PNG, JPEG, or full-page screenshot. Custom viewport sizes.
Beautiful social preview images from templates. Dynamic text, themes, and sizes.
Sub-2-second captures with pre-warmed browser pools. 99.9% uptime.
Capture a screenshot of any URL.
curl "https://api.shotlayer.dev/v1/screenshot?url=https://example.com&width=1280&height=720" \ -H "Authorization: Bearer sl_your_key_here" \ -o screenshot.png
Parameters: url (required), width, height, format (png/jpeg), fullPage (true/false), delay (ms)
Generate an OG image from a template.
curl "https://api.shotlayer.dev/v1/og?template=basic&title=My+Post&subtitle=A+great+read&theme=dark" \ -H "Authorization: Bearer sl_your_key_here" \ -o og.png
Parameters: template (basic/blog/product), title, subtitle, theme (light/dark), width, height
Create a free API key.
curl -X POST "https://api.shotlayer.dev/v1/keys" \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'
Enter your email to get an API key instantly. No credit card required.