Skip to main content

Content Image

@alvagante/content-imagev2026.07.05.1· 27d agoMODELS
01README

Generate images using the OpenAI Images API (gpt-image-1.5 by default). Supports transparent PNG output and 11 style presets: ixen-dark, ixen-light, pencil-bw, pencil-color-accents, blueprint, technical-diagram, cyberpunk-photo, educational, clean, editorial, none. Optional outputDir for composing multi-media mini-sites alongside content-ixen pages.

02Models1
@alvagante/content-imagev2026.07.05.1extensions/models/content_image.ts

Global Arguments

ArgumentTypeDescription
apiKey?string
outputDir?string
fn generate(prompt: string, model: string, size: string, filename?: string, outputDir?: string)
Generate an image from a text prompt using the OpenAI Images API. Use gpt-image-1 or gpt-image-1.5 for transparent PNG output.
ArgumentTypeDescription
promptstring
modelstring
sizestring
filename?string
outputDir?string

Resources

image(infinite)— Generated image metadata

Files

imageFile(image/png)— Generated image binary (PNG, WebP, or JPEG)
03Previous Versions6
2026.06.24.1
2026.06.23.3
2026.06.23.2
2026.06.23.1
2026.06.15.2
2026.06.15.1
04Stats
B
85 / 100
Downloads
6
Archive size
74.5 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 audit0/2missing
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels