AI Convert to HTML
🤖 AI Drafted (Not reviewed)
An AI vision model reads each image/page and WRITES it out as semantic HTML — a generative re-creation of the structure and, optionally, inline styles, not a mechanical file conversion; the markup is the model’s reading of the page. Feeds the HTML/WebKit representation in the document viewer. The model alias and style options are editable on the Convert node.
| Folder | /Convert |
| Steps | 2 |
| Tags | preset, convert, html, representation |
Steps, in run order
1. Files
Tool: Files — Pass through input files from workflow context
2. AI Convert to HTML
Tool: AI Convert — Generative format conversion: an AI vision model re-creates the page as Markdown, HTML, SVG, LaTeX, or CSV. The output is the model’s reading of the page, not a mechanical file conversion.
Settings this step uses:
| Option | Value |
|---|---|
include_styles |
yes |
preserve_layout |
yes |
target_format |
html |
What this step asks the model:
Convert this image to semantic HTML that reproduces the original layout.
- Use proper heading tags (h1-h6)
- Use <table> for tabular data
- Use <ul>/<ol> for lists
- Use <figure> for images/diagrams
- Use <blockquote> for quotes
- Use CSS positioning/flexbox to match the spatial layout
IMPORTANT: Faithfully reproduce the original layout, spacing, and visual structure. Match positions, alignment, and proportions as closely as possible.
Include styling (colors, fonts, spacing) to match the original appearance.
Output ONLY the HTML content, no explanations or code fences.