gen-image

Generate images from text prompts via the Gemini API.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/haingt-dev/agent --skill gen-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-image
Source: https://github.com/haingt-dev/agent/tree/main/global/skills/gen-image
Command: npx skills add https://github.com/haingt-dev/agent --skill gen-image

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, base64, and includes scripts (resource) components.

What problem does it solve?

This Skill automates image generation from text prompts via the Gemini API, enabling fast creation of concept art, thumbnails, and visual assets without manual sketching.

Core Features & Use Cases

  • Single and batch prompts: generate one image or a set from a batch file.
  • Flexible prompts: supports inline prompts or batch files with configurable aspect, size, and model options.
  • Use Case: perfect for concept art, marketing visuals, thumbnails, or educational visuals created from descriptive prompts.

Quick Start

Provide a text prompt to generate a single or batch image using Gemini.

Frequently Asked Questions about gen-image

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 descriptive prompts to automatically create concept art or visual assets without manual sketching. This process supports inline prompts and configurable aspect or size options.

Can I batch generate multiple images from a file of text prompts?

Yes, you can batch generate multiple images by supplying a batch file containing your text prompts. This automates the creation of a set of visual assets simultaneously rather than processing single inline prompts individually.

What do I need to set up to automate image generation with Gemini?

To automate image generation with Gemini, you need an API key for authentication and a local environment with dependencies like curl, jq, and base64 installed to execute the script and process image outputs.

What is the best way to create concept art and marketing visuals from descriptive text?

The best way to create concept art and marketing visuals from descriptive text is automating image generation via the Gemini API. This enables fast creation of thumbnails and visual assets directly from configurable inline prompts.

Are there limitations when using the Gemini API for image generation?

Limitations of Gemini API image generation include dependency on external command-line tools like curl, jq, and base64. It functions as a single script, meaning complex multi-step visual workflows may require additional manual integration.