generate-image

Generate and edit images from text prompts using Gemini.

30|3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/harperaa/bastionclaw --skill generate-image-harperaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/harperaa/bastionclaw/tree/main/container/skills/generate-image
Command: npx skills add https://github.com/harperaa/bastionclaw --skill generate-image-harperaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotenv.

What problem does it solve?

This skill streamlines the creation of visual assets by generating images from text prompts using Gemini, reducing manual design time and enabling rapid visuals for projects.

Core Features & Use Cases

  • Prompt-driven image generation: Create architecture diagrams, technical visuals, blog headers, and branded graphics from a concise description.
  • Editing and variations: Update existing images by providing an input image and an edit prompt, with optional aspect ratios.
  • Flexible deployment: Resolves script paths from multiple locations and runs in containerized environments.

Quick Start

Provide a clear description of the image you want and the desired output path; the system will generate and save the image accordingly.

Frequently Asked Questions about generate-image

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

FAQPage Schema
How do I generate architecture diagrams from text prompts?

To generate architecture diagrams from text prompts, you provide a concise description and an output path to the skill, which then creates and saves the visual accordingly. It supports technical diagrams and branded graphics across software projects.

Can I edit existing images and adjust aspect ratios?

Yes, you can edit existing images by providing an input image along with an edit prompt. The skill supports optional aspect ratios to ensure the generated or updated visuals fit your specific layout requirements.

Do I need a Gemini API key to generate images?

Yes, you need a GEMINI_API_KEY configured in your environment to generate images. The skill relies on Gemini's image model to process prompts and create technical visuals, blog headers, or branded graphics.

What's the best way to automate visual design for software documentation?

Automating visual design for software documentation is best handled by using prompt-driven image generation to rapidly create architecture diagrams and technical visuals, significantly reducing manual design time and enabling quick project iterations.

Does this image generation skill work in containerized environments?

Yes, the image generation skill works in containerized environments and resolves script paths from multiple locations. This flexible deployment allows you to integrate automated visual asset creation into various development workflows.

Why does prompt-driven image generation fail without dotenv?

Prompt-driven image generation fails without dotenv because the skill depends on it to load the required GEMINI_API_KEY from the environment. Without this dependency, the Gemini model cannot authenticate or process your image generation requests.