gemini-imagegen

Generate and edit images using the Google Gemini API.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/praburajasekaran/ruthva-clinic-os --skill gemini-imagegen-praburajasekaran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-imagegen
Source: https://github.com/praburajasekaran/ruthva-clinic-os/tree/main/.gemini/skills/gemini-imagegen
Command: npx skills add https://github.com/praburajasekaran/ruthva-clinic-os --skill gemini-imagegen-praburajasekaran

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of generating and editing images using the Gemini API, making it accessible for a wide range of image manipulation tasks.

Core Features & Use Cases

  • Image Generation: Create images from text prompts with various models and resolutions.
  • Image Editing: Edit existing images by adding elements, changing styles, or modifying attributes.
  • Use Case: If you need a logo created from text or a product photo edited to include specific features, this Skill can help you achieve that efficiently.

Quick Start

Generate an image with the prompt 'A futuristic cityscape at night' and save it as 'cityscape.png'.

Frequently Asked Questions about gemini-imagegen

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

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

To generate images from text prompts using the Gemini API, you provide a descriptive string and the API returns the corresponding generated image. This allows you to programmatically create visuals like futuristic cityscapes without manual design work.

Can I edit existing images and add elements with the Gemini API?

You can edit existing images with the Gemini API to add elements, change styles, or modify attributes. This involves submitting the original image and specific edit instructions to achieve the desired modifications programmatically.

Do I need the Pillow library to handle images generated by the Gemini API?

Yes, you need the Pillow library to handle images generated by the Gemini API. It is a required dependency for image processing tasks, ensuring you can properly save, load, and manipulate the image files returned by the API.

What is multi-turn refinement for image composition?

Multi-turn refinement for image composition is a process that allows you to iteratively adjust and combine multiple reference images. This technique helps achieve complex visual results by progressively updating the image based on sequential instructions.

Does the google-genai library support creating logos from text?

Yes, the google-genai library supports creating logos from text. By using text-to-image generation capabilities, you can input descriptive text prompts to programmatically generate custom logo designs and save them as image files.

What's the best way to programmatically modify attributes in product photos?

The best way to programmatically modify attributes in product photos is using an image editing API like Gemini. You can submit the existing product photo with specific instructions to add features or change styles, efficiently generating the modified image.