imagegen

Generate and edit presentation images via the Google Gemini API.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/AntonySilverhand/BPDU-SlideGen --skill imagegen-antonysilverhand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/AntonySilverhand/BPDU-SlideGen/tree/main/skills/imagegen
Command: npx skills add https://github.com/AntonySilverhand/BPDU-SlideGen --skill imagegen-antonysilverhand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Quickly create and modify presentation-ready images so presenters and slide authors do not need to source, edit, or manually reformat illustrations to match the BPDU brand style.

Core Features & Use Cases

  • Image generation: Produce warm, flat-cartoon illustrations, icons, and portraits in specified aspect ratios and resolutions for slide title pages and speaker bios.
  • Image editing: Edit existing images by sending base64-encoded source files and textual edit instructions to produce style-consistent variations.
  • Tooling & examples: Command-line script supports model selection, size/aspect parameters, and saves PNG outputs ready for embedding in single-file HTML slide decks.

Quick Start

Generate a BPDU-style title illustration by running the image generator with a clear prompt, select an appropriate Gemini model and aspect ratio, and provide an output file path.

Frequently Asked Questions about imagegen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate BPDU-style illustrations for presentation slides?

To generate BPDU-style illustrations for presentation slides, run the command-line script with a text prompt, select a Gemini model, specify the aspect ratio and resolution, and save the resulting PNG output for embedding in HTML slide decks.

Can I edit existing images to match a specific brand style?

Yes, you can edit existing images to match a brand style by sending base64-encoded source files and textual edit instructions to the Google Gemini API, which produces style-consistent variations.

Do I need a Google Gemini API key to generate presentation assets?

Yes, generating presentation assets requires the GEMINI_API_KEY environment variable to authenticate and access Google's generative image endpoint for creating illustrations, icons, and portraits.

What is the best way to create speaker bio portraits for single-file HTML slide decks?

The best way to create speaker bio portraits for single-file HTML slide decks is using this Python script to specify the appropriate aspect ratio and generate warm, flat-cartoon PNG images ready for direct embedding.

Does this image generation tool support custom resolutions and aspect ratios?

Yes, the image generation tool supports custom resolutions and aspect ratios by accepting size and aspect parameters, allowing you to generate tailored title illustrations, speaker bios, and icons for slides.

What are the limitations of using the requests library for Gemini image generation?

Using the requests library for Gemini image generation limits you to standard HTTP API calls, requiring manual base64 encoding for image edits and command-line execution to save PNG files locally.