Deck Generator takes slide content, from your own markdown or JSON or from a topic alone, and produces a deck of images generated with Google’s Imagen 4. You choose one of six style presets (whiteboard, corporate, minimalist, dark-tech, playful or editorial) or describe your own, and the same style prefix is applied to every slide so the deck looks consistent.
A topic-only request is expanded into 10 to 14 slides following standard deck structures. The script saves each slide as a PNG, writes a summary JSON with an estimated cost, and can regenerate chosen slides by number. The skill states a cost of about 4 cents per image and roughly two minutes for 14 slides.
What You Get
- One PNG per slide in your output folder
- A summary JSON with slide counts, style, image paths and a cost estimate
- Six ready style presets and support for a custom style prompt
- Single-slide regeneration by slide number
- An optional Google Slides presentation built from the images
Common Use Cases
- Draft a 14-slide pitch or training deck from an outline in minutes
- Produce a whiteboard-style explainer deck for a webinar
- Redo only slides three and seven after a review
- Create vertical 9:16 slide images for social posts
What Makes It Unique
Every slide is a generated image, and one style prefix is prepended to each slide prompt so a whole deck shares a look. The script is small and transparent, shows its cost estimate, and lets you re-roll single slides without rebuilding the deck.
Under The Hood
It runs one Python script that sends each slide prompt to Google’s Generative Language API with your Gemini API key from the environment, decodes the returned image and writes PNG files plus a summary JSON into an output folder. It waits a second between slides. The optional Google Slides step needs Google credentials from a service account file, and the slide images and prompts leave your machine for those services.