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.
68
84%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Generate complete presentations where every slide is an AI-generated image in a consistent visual style.
references/styles.md to pick or customize a visual stylescripts/generate-deck.py with content + styleAccept slide content in any format. Normalize to this structure per slide:
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.
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.
# 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:
To regenerate individual slides:
python3 scripts/generate-deck.py \
--content slides.json \
--style whiteboard \
--slides 3,7 \
--output-dir ./output$GEMINI_API_KEY environment variableimagen-4.0-generate-001 (best quality), imagen-4.0-fast-generate-001 (faster)[
{"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"}
]To automatically create a Google Slides presentation, set up Google Slides API credentials:
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.com2eb0f34
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.