Content Infographic
@alvagante/content-infographicv2026.08.02.1
01README
Generate browser-ready infographic pages using OpenAI image generation. Produces an image and, optionally, a reliable HTML text shell suitable for embedding in @alvagante/content-ixen (set emitHtml: false to skip the HTML file).
02Models
@alvagante/content-infographicv2026.08.02.1extensions/models/content_infographic.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey? | string | |
| outputDir? | string |
fn generate(topic: string, title?: string, details?: string, keyPoints: array, model: string, size?: string, filename?: string, emitHtml: boolean, htmlFilename?: string, outputDir?: string)
Generate an infographic image with OpenAI, optionally wrapping it in a reliable HTML page suitable for embedding in content-ixen (set emitHtml: false to skip the HTML file).
| Argument | Type | Description |
|---|---|---|
| topic | string | |
| title? | string | |
| details? | string | |
| keyPoints | array | |
| model | string | |
| size? | string | |
| filename? | string | |
| emitHtml | boolean | |
| htmlFilename? | string | |
| outputDir? | string |
fn save(topic: string, title?: string, details?: string, keyPoints: array, imageBase64: string, size?: string, filename?: string, emitHtml: boolean, htmlFilename?: string, model: string, outputDir?: string)
Store an externally provided infographic image without calling OpenAI, optionally wrapping it in the same HTML page shell (set emitHtml: false to skip the HTML file).
| Argument | Type | Description |
|---|---|---|
| topic | string | |
| title? | string | |
| details? | string | |
| keyPoints | array | |
| imageBase64 | string | |
| size? | string | |
| filename? | string | |
| emitHtml | boolean | |
| htmlFilename? | string | |
| model | string | |
| outputDir? | string |
Resources
infographic(infinite)— Generated infographic metadata
Files
html(text/html)— Self-contained infographic HTML page
imageFile(image/png)— Generated infographic image
03Previous Versions
2026.07.15.1
2026.07.05.1
2026.06.24.1
2026.06.23.3
Added 1, removed 1 models
2026.06.23.2
2026.06.23.1
2026.06.22.1
2026.06.19.1
04Stats
A
100 / 100
Downloads
3
Archive size
86.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels