generate-image

Generate images from text prompts using Google's Gemini model via Vertex AI.

5|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/mfmezger/ai_agent_dotfiles --skill generate-image-mfmezger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/mfmezger/ai_agent_dotfiles/tree/main/shared/skills/generate-image
Command: npx skills add https://github.com/mfmezger/ai_agent_dotfiles --skill generate-image-mfmezger

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of visual content, transforming text descriptions into images or modifying existing ones, thereby streamlining the design and content creation process.

Core Features & Use Cases

  • Text-to-Image Generation: Create original images from detailed text prompts.
  • Image-to-Image Transformation: Modify existing images based on new prompts (e.g., style transfer, adding elements).
  • Customizable Output: Control aspect ratio and resolution for generated images.
  • Use Case: A marketing team needs a unique banner image for a social media campaign. They provide a description like "A futuristic cityscape at dawn with flying cars" and the Skill generates several options.

Quick Start

Use the generate-image skill to create a picture of a cat wearing a hat.

Frequently Asked Questions about generate-image

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

FAQPage Schema
How do I generate images from text descriptions using AI?

Text-to-image generation transforms detailed text prompts into original images. This Skill automates that process using Google's Gemini model via Vertex AI to create visual content from your descriptions.

Can I modify an existing image instead of starting from text?

Yes, image-to-image transformation allows you to modify existing images. You can apply style transfers or add new elements to an original image by providing it alongside a new text prompt.

Do I need Google Cloud credentials to use this image generation tool?

Yes, you need Google Cloud credentials. Generating visual content with this Skill requires specific Python libraries and authentication to access the Gemini image generation model via Vertex AI.

What is the best way to control the aspect ratio of AI generated images?

You can control the aspect ratio and resolution of generated images using the customizable output settings. This allows you to specify exact dimensions needed for formats like social media banners.

How does text-to-image generation work with Gemini and Vertex AI?

Text-to-image generation works by sending text prompts to the Gemini model via Vertex AI. The model processes the text description and generates corresponding visual content returned as image files.

What are the limitations of using AI for visual content creation?

Limitations of AI visual content creation include dependency on Google Cloud credentials and specific Python libraries. Generated images may also require iterative prompt adjustments to achieve exact stylistic or compositional goals.