deck-generator
/deck-generator
Generuje profesjonalne prezentacje z obrazami tworzonymi przez AI (Imagen 4.0) i składa je przez Google Slides API z opisów w Markdown, w stylach takich jak whiteboard, corporate i minimalistyczny.
- Autor
- ericosiu ↗
- Repozytorium
- ai-marketing-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 22.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/generate-deck.py
Co robi i kiedy
Generuje profesjonalne prezentacje z obrazami tworzonymi przez AI (Imagen 4.0) i składa je przez Google Slides API z opisów w Markdown, w stylach takich jak whiteboard, corporate i minimalistyczny.
Oryginalny opis (EN)
Generate professional presentations with AI-generated images. Use when asked to create a deck, presentation, pitch deck, or slides. Supports style presets (whiteboard, corporate, minimalist, etc). Uses Imagen 4.0 API for image generation and Google Slides API for assembly. Produces full decks from markdown content specs in minutes.
Jak działa
- Quick Start
- Workflow
- Key Details
- Content JSON Format
- Google Slides Integration (Optional)
Podgląd SKILL.md
---
name: deck-generator
description: Generate professional presentations with AI-generated images. Use when asked to create a deck, presentation, pitch deck, or slides. Supports style presets (whiteboard, corporate, minimalist, etc). Uses Imagen 4.0 API for image generation and Google Slides API for assembly. Produces full decks from markdown content specs in minutes.
---
# Deck Generator
Generate complete presentations where every slide is an AI-generated image in a consistent visual style.
## Quick Start
1. Read the content spec (user provides slide content or a markdown file)
2. Read `references/styles.md` to pick or customize a visual style
3. Run `scripts/generate-deck.py` with content + style
## Workflow
### Step 1: Content Spec
Accept slide content in any format. Normalize to this structure per slide:
- **Title**: Bold headline
- **Body**: Key points, stats, or narrative
- **Visual cues**: Icons, diagrams, layouts described in words
If user provides a markdown file with `---` separators, parse each section as a slide.
If user provides a topic only, generate 10-14 slides following standard deck structures.
### Step 2: Style Selection
Available style presets:
| Style | Description |
|-------|-------------|
| `whiteboard` | Hand-drawn sketch on white. Black ink, orange accents. |
| `corporate` | Navy/white/gold. Clean sans-serif. Professional. |
| `minimalist` | Pure white, electric blue accent. Maximum negative space. |
| `dark-tech` | Near-black background, neon green. Terminal aesthetic. |
| `playful` | Bright pastels, rounded shapes. Modern startup vibe. |
| `editorial` | Black/white with red spot color. Magazine aesthetic. |
Default: `whiteboard`. User can specify any preset or describe a custom style.
### Step 3: Generate
```bash
# Set your API key
export GEMINI_API_KEY="your-gemini-api-key"
# Run the generator
python3 scripts/generate-deck.py \
--content slides.json \
--style whiteboard \
--title "Deck Title" \
[--output-dir ./output] \
[--aspect 16:9]
```
The script:
1. Generates each slide image via Imagen 4.0 API
2. Saves all images to the output directory
3. Optionally creates a Google Slides presentation (requires Google Slides API credentials)
4. Returns paths to all generated images
### Step 4: Review & Iterate
To regenerate individual slides:
```bash
python3 scripts/generate-deck.py \
--content slides.json \
--style whiteboard \
--slides 3,7 \
--output-dir ./output
```
## Key Details
- **Cost**: ~4 cents per image. A 14-slide deck costs roughly 56 cents in API calls.
- **Speed**: ~2 minutes for 14 slides.
- **API**: Imagen 4.0 via Google's Generative Language API
- **Auth**: Set `$GEMINI_API_KEY` environment variable
- **Aspect ratios**: 16:9 (default), 1:1, 4:3, 3:4, 9:16
- **Image models**: `imagen-4.0-generate-001` (best quality), `imagen-4.0-fast-generate-001` (faster)
## Content JSON Format
```json
[
{"name": "01-title", "prompt": "Title slide: 'Your Deck Title' with company logo placeholder"},
{"name": "02-problem", "prompt": "Problem slide showing frustrated marketer staring at dashboard with declining metrics"},
{"name": "03-solution", "prompt": "Solution slide: AI agent workflow diagram with 3 connected boxes"}
]
```
## Google Slides Integration (Optional)
To automatically create a Google Slides presentation, set up Google Slides API credentials:
```bash
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
python3 scripts/generate-deck.py \
--content slides.json \
--style whiteboard \
--title "My Deck" \
--google-slides \
--google-account your-email@example.com
```
Pliki w paczce (4)
- README.md 3 KB
- SKILL.md 4 KB
- requirements.txt 1 KB
- scripts/generate-deck.py 6 KB
Wersje
W bazie nie ma innych skilli o nazwie deck-generator.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 28.10.2026 · wersja paczki b1c1546a1298 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90marketing-slides
Tworzy slajdy marketingowe, pitch decki, decki sprzedażowe i prezentacje produktowe, w tym slajdy na webinary. - 100slide-generation
Tworzy slajdy z ustrukturyzowanych treści w formacie PPTX, Markdown lub HTML na potrzeby agentów. - 100presentation
Tworzy prezentacje z tekstu lub konspektu w Marp (Markdown na slajdy), w tym pitch decki. - 952slides-ppt-generator
Generuje prezentacje przez API 2slides: z tekstu, ze stylu obrazu referencyjnego lub z podsumowania dokumentu, z narracją głosową AI i eksportem stron. - 902slides-ppt-generator
Generuje prezentacje przez API 2slides: z tekstu, ze stylu obrazu referencyjnego lub z dokumentów, z narracją głosową AI oraz eksportem stron i audio. - 100slides-deck
Tworzy prezentacje, pitch decki i konspekty wystąpień oraz konwertuje dokument Markdown na slajdy w formacie Marp, Slidev lub reveal.js.