gemini-image-gen

Generate branded images from prompts using Google's Gemini API.

38|5|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/Svenja-dev/claude-code-skills --skill gemini-image-gen-svenja-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gemini-image-gen
Source: https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/gemini-image-gen
Command: npx skills add https://github.com/Svenja-dev/claude-code-skills --skill gemini-image-gen-svenja-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables rapid creation of branded marketing images from text prompts using Google's Gemini API, reducing time-to-visuals.

Core Features & Use Cases

  • Gemini model selection: gemini-2.5-flash-image (fast) or gemini-3-pro-image-preview (quality)
  • Generate social media banners, ads, infographics, and marketing visuals
  • Save results in ready-to-publish formats for social platforms and presentations

Quick Start

Use the gemini-image-gen skill to generate an image from a simple prompt, e.g. "Marketing banner for product launch" and save the output as output.png.

Frequently Asked Questions about gemini-image-gen

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

FAQPage Schema
How do I generate marketing visuals from text prompts using the Gemini API?▼

To generate marketing visuals from text prompts using the Gemini API, you provide a concise prompt like "Marketing banner for product launch," and the skill outputs a ready-to-publish image file such as output.png.

Do I need an API key to generate social media graphics with Gemini?▼

Yes, you need a Google Gemini API key set as the GOOGLE_AI_API_KEY environment variable to authenticate requests and generate social media graphics locally.

What Python packages are required to create infographics from prompts with Gemini?▼

Creating infographics from prompts with Gemini requires installing the Python packages google-genai, pillow, and python-dotenv to handle API calls and image processing.

Can I choose between different Gemini models for image generation?▼

Yes, you can choose between the gemini-2.5-flash-image model for faster generation speeds or the gemini-3-pro-image-preview model for higher quality marketing assets.

What types of marketing assets can I create from prompts using Gemini?▼

You can create social media banners, advertisements, infographics, and presentation visuals from prompts using Gemini, saving the results in ready-to-publish formats.

How do I save generated social media banners locally after using the Gemini API?▼

After using the Gemini API, you save generated social media banners locally by specifying a filename like output.png in your script, which stores the ready-to-publish image result.