A self-hosted Playwright CLI and HTTP server: GET /screenshot?url= returns a PNG.
GET /screenshot?url=
npx screenshot serve curl 'http://127.0.0.1:3000/screenshot?url=https://example.com' -o shot.png
API_KEY
x-api-key
Source on GitHub (MIT).