HTML to Image API Docs
  • HTML to Image API
    • Introduction
    • Using the APIs
    • Getting the API token
    • Authorization
    • Generating an Image
    • Screenshot Capture API
    • HTML/CSS to Image API
    • Generate PDF API
    • URL to PDF API
    • HTML/CSS to PDF API
  • Working with Postman
    • How to setup Postman
    • How to import Postman Collection
  • Zapier Integration
    • Gettting Started with the Zapier App
    • Take Daily Website Screenshots with Zapier
    • Convert HTML CSS to Image with Zapier
    • Generate PDF of any Website or Webpage using its URL
    • Generate PDF file from HTML CSS with Zapier
  • Make (Integromat) Integration
    • Gettting Started with the Make (Integromat) App
    • Capture Website Screenshots with Make(Integromat)
    • Convert HTML CSS to Image With Make(Integromat)
    • Generate PDF of any Website using its URL
    • Generate PDF from HTML CSS with Make
  • Contact Us
Powered by GitBook
On this page
  1. HTML to Image API

Screenshot Capture API

URL to Image Converter API to Capture Screenshot of a Website or Webpage from a URL.

POST https://api.htmlcsstoimg.com/api/v1/generateImage

Generate an image from a URL

Headers

Name
Type
Description

CLIENT-API-KEY*

String

API Key for your account. Will be available on your dashboard.

Request Body

Name
Type
Description

url

String

URL of the Webpage whose screenshot is to be captured

viewPortWidth

Number

Height of View Port. Default value is 1080

viewPortHeight

Number

Height of View Port. Default value is 720

quality

Number

Quality of the image should be in the range 30-100. Default value is 30.

generate_img_url

Boolean

Whether the output should return the image or the Image URL. Default value is true.

full_page

Boolean

Whether to capture full-page screenshot of the URL. Default value is false.

wait_till

Number

Number of seconds to wait before capturing a screenshot from the URL. Default value is 0.

PreviousGenerating an ImageNextHTML/CSS to Image API

Last updated 1 year ago