Actions7
Generate Image
AI-generatedSummary
Render HTML to an image (PNG/JPEG/WebP) via the AgentGen API.
Inputs
- html (required) — HTML content to render (max 500 KB)
- imageOptions — Optional image rendering settings applied to the generated image.
Output shape
The API response from POST https://www.agent-gen.com/api/v1/generate/image, containing the rendered image data or metadata.
Returned as the
jsonfield of the node's output item.
Examples
Example 1: Generate a default-width, PNG image from a simple heading.
html: '