Generate images from HTML.
html
curl --request POST 'https://api.doczilla.app/v1/screenshot' \ --header 'Authorization: Bearer <your token>' \ --header 'Content-Type: application/json' \ --output 'doczilla.pdf' \ --data '{ "page": { "html": "PGRpdj5Zb3VyIGZpcnN0IERvY3ppbGxhIGltYWdlPC9kaXY+" }, "screenshot": { "viewport": { "width": 400, "height": 200 } } }'
Was this page helpful?