Code screenshots and Open Graph previews for your blog, docs and social posts. No headless browser to babysit — just an endpoint.
curl -X POST https://api.devshot.dev/v1/code \
-H "Authorization: Bearer sk_live_..." \
-d '{"code": "const answer = 42;", "theme": "vitesse-dark"}' \
> snippet.png