Skip to main content
Every htmltoimage.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Account

checkUsage

account.checkUsage Check account usage and remaining credits Risk: read
Input: empty object Output

Html

convertToImage

html.convertToImage Convert HTML or a public URL into an image Risk: write
Input Output

Image

getImage

image.getImage Retrieve a generated image Risk: read
Input Output