Automate the creation of product screenshots effortlessly with the overlay and device option for screenshots. See Screenshot options for all available device and screenshot options.

Example

curl --request POST 'https://api.doczilla.app/v1/screenshot' \
  --header 'Authorization: Bearer <your token>' \
  --header 'Content-Type: application/json' \
  --output 'doczilla.png' \
  --data '{
    "page": {
      "url": "https://doczilla.app",
      "waitForMilliseconds": 500
    },
    "screenshot": {
      "device": "Macbook Pro 13",
      "overlay": {
        "background": "linear-gradient(135deg, #17BCE0 0%, #17E286 100%)",
        "browser": "dark",
        "margin": 0.2
      }
    }
  }'

Output

Was this page helpful?