Skip to content
HTML/CSS to ImageDocs

Learn how to use the API to generate an image using Insomnia

Insomnia is an HTTP client that is useful for interacting with API’s.

Download Insomnia for your operating system.

First, you’ll want to set authorization to Basic and enter your API_ID and API_KEY from the Dashboard.

Basic authentication in Insomnia

Then, enter your HTML/CSS as parameters for the request.

Press send, and you’re done.

Sending HTML and CSS in Insomnia