Generate Image

Generate or edit images via Google's Gemini Nano Banana API using a shell script.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ddl2829/claude-skills --skill generate-image-ddl2829
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Generate Image
Source: https://github.com/ddl2829/claude-skills/tree/main/skills/generate-image
Command: npx skills add https://github.com/ddl2829/claude-skills --skill generate-image-ddl2829

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers users to generate unique images from text descriptions or modify existing images using advanced AI models, eliminating the need for complex design software or manual creation.

Core Features & Use Cases

  • Text-to-Image Generation: Create entirely new images based on detailed text prompts.
  • Image Editing & Modification: Enhance or alter existing images by providing a reference image and new instructions.
  • Use Case: Generate a marketing banner for a new product launch, or take a product photo and add a professional background.

Quick Start

Generate an image of a futuristic cityscape at sunset and save it to ./cityscape.png.

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 prompts using AI?

Image editing with a reference image allows you to enhance or alter existing pictures. By providing an original photo and new text instructions, you can add professional backgrounds or modify elements without needing complex design software.

Can I use a reference image to modify existing pictures?

Image editing with a reference image allows you to enhance or alter existing pictures. By providing an original photo and new text instructions, you can add professional backgrounds or modify elements without needing complex design software.

Do I need curl and jq to run text-to-image generation?

Yes, you need curl, jq, and base64 installed in your environment to run this text-to-image generation. The Skill utilizes a shell script for API interaction, which relies on these specific command-line tools to process requests and handle the image data.

What is the best way to create a marketing banner from a product photo?

The best way to create a marketing banner from a product photo is using image editing with reference images. You provide the product photo as a reference and use text instructions to generate a professional background, transforming the original image for your launch.

Does this image generation process work with Google's Gemini API?

Yes, this image generation process works directly with Google's Gemini Nano Banana API. It handles both text-to-image generation and image modification by sending your prompts and reference images through a shell script to the Gemini API.