> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doczilla.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Image from HTML

> Generate images from HTML.

Convert HTML into professional-looking images
using the `html` [Page option](/api-reference/page-options).
See [Screenshot options](/api-reference/screenshot-options) for all available options for screenshots.

## Example

This example generates a basic image that is 400x200.

<CodeGroup>
  <Snippet file="code-group/image-html.md" />
</CodeGroup>

## Output

<Frame>
  <img src="https://assets.doczilla.app/examples/image-from-html.png" />
</Frame>
