image-generation

Generate and edit images from text prompts using Gemini.

1|1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/Kjdragan/universal_agent --skill image-generation-kjdragan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/Kjdragan/universal_agent/tree/main/.claude/skills/image-generation
Command: npx skills add https://github.com/Kjdragan/universal_agent --skill image-generation-kjdragan

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables rapid creation and refinement of visuals by converting textual prompts into images and applying edits, reducing manual design time.

Core Features & Use Cases

  • Text-to-image generation: Create visuals from descriptive prompts for dashboards, reports, and presentations.
  • Image editing: Modify existing images with instructions such as background changes, style tweaks, or retouching.
  • Asset creation: Produce infographics, charts, and other visual assets to support content workflows and deliverables.

Quick Start

Start by generating an image from a prompt, then apply edits and preview results using the provided scripts.

Frequently Asked Questions about image-generation

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

FAQPage Schema
How do I generate images from text prompts using Gemini?

To generate images from text prompts using Gemini, you need a Gemini API key and Python tooling with google-genai, Pillow, and Gradio to perform text-to-image generation and preview results.

Can I edit existing images by changing backgrounds or tweaking styles?

You can edit existing images by providing textual instructions for background changes, style tweaks, or retouching, which the Gemini-driven workflow processes to modify and refine the visuals.

Do I need a Gemini API key to create infographics and visual assets?

Yes, you need a Gemini API key to create infographics and visual assets, as the generation and editing tasks rely on Gemini to transform descriptive prompts into visuals for reports and presentations.

What is the best way to automate AI graphics generation for content workflows?

The best way to automate AI graphics generation for content workflows is using scripts that convert textual prompts into images and visual assets, reducing manual design time for dashboards and deliverables.

Does this image generation approach work with Python and Gradio for previews?

Yes, this image generation approach works with Python and Gradio for previews, utilizing the google-genai library and Pillow to perform generation, editing, and preview tasks within the workflow.

What are the limitations of using Gemini for image editing?

Limitations of using Gemini for image editing include the requirement of an active API key and local Python tooling setup, meaning you cannot perform generation or asset creation without these dependencies.