gemini-image-gen

Generate SVG and PNG visual assets using the Gemini API.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/lamtuanvu/agentskills --skill gemini-image-gen-lamtuanvu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-image-gen
Source: https://github.com/lamtuanvu/agentskills/tree/main/skills/gemini-image-gen
Command: npx skills add https://github.com/lamtuanvu/agentskills --skill gemini-image-gen-lamtuanvu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Design teams often spend excessive time creating consistent vector icons and raster assets across multiple projects; this skill speeds up generation using Gemini API and ensures consistent style across outputs.

Core Features & Use Cases

  • Generate SVG icons for UI toolbars, dashboards, and branding elements using Gemini's text model.
  • Produce PNG raster assets for hero images, product mockups, and illustrations with configurable sizes and styles.
  • Create brand-friendly assets like logos and illustrations that align with a defined color scheme and style.

Quick Start

Generate an SVG icon set for a UI dashboard and save the outputs to assets/icons.

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 SVG icons for UI dashboards using the Gemini API?

To generate SVG icons for UI dashboards using the Gemini API, you provide text prompts to produce high-quality vector assets. This accelerates visual asset creation by ensuring consistent style across your UI toolbars and branding elements.

Can I create PNG raster assets for product mockups with configurable sizes?

Yes, you can create PNG raster assets for product mockups and hero images with configurable sizes and styles. The generation process uses the Gemini API to produce brand-friendly illustrations aligned with your defined color scheme.

Do I need a Python environment with google-genai to generate branding assets?

Yes, you need a valid Gemini API key and a Python environment with the google-genai dependency installed. You also need a project structure to store the generated SVG and PNG outputs for your branding assets.

What is the best way to ensure consistent visual content across multiple design projects?

The best way to ensure consistent visual content across multiple projects is to use the Gemini API for asset generation. It accelerates the creation of logos and illustrations while maintaining a unified style across all outputs.

How does AI image generation handle vector SVG and PNG formats for UI design workflows?

AI image generation handles vector SVG and PNG formats by processing text prompts through the Gemini API to output high-quality graphics. This mechanism directly supports UI design workflows by generating required icons and raster assets.

Are there limitations when generating high-quality vector SVGs with a text model?

Generating high-quality vector SVGs with a text model requires a valid Gemini API key and proper Python environment setup. While it accelerates visual asset creation, outputs must be stored in a configured project structure to maintain organization.