Content Card
@alvagante/content-cardv2026.06.24.1
01README
Generate playing-card shaped content images using OpenAI image generation. Adds card sequence, skill-level corner numbering, topic icons, optional logo hints, and expanded card-specific style presets.
02Models
@alvagante/content-cardv2026.06.24.1extensions/models/content_card.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey? | string | |
| outputDir? | string |
fn generate(prompt: string, title?: string, text?: string, cardNumber: number, cardCount?: number, cornerIcon?: string, logo?: string, model: string, size: string, filename?: string, outputDir?: string)
Generate a playing-card shaped content image using the OpenAI Images API.
| Argument | Type | Description |
|---|---|---|
| prompt | string | |
| title? | string | |
| text? | string | |
| cardNumber | number | |
| cardCount? | number | |
| cornerIcon? | string | |
| logo? | string | |
| model | string | |
| size | string | |
| filename? | string | |
| outputDir? | string |
Resources
card(infinite)— Generated content card metadata: prompt, corner values, style, filenames, and generation details
Files
imageFile(image/png)— Generated content card image
03Previous Versions
2026.06.23.2Jun 23, 2026
2026.06.23.1Jun 22, 2026
2026.06.21.1Jun 21, 2026
04Stats
A
100 / 100
Downloads
0
Archive size
22.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