Skip to main content

Content Image

@alvagante/content-imagev2026.06.15.2· 2d agoMODELS
01README

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

02Models1
@alvagante/content-imagev2026.06.15.2content_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 Versions1
2026.06.15.1Jun 14, 2026
04Stats
A
100 / 100
Downloads
5
Archive size
7.7 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