image

Generate and edit images via OpenRouter AI models from Python.

3|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/flight505/nano-banana --skill image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image
Source: https://github.com/flight505/nano-banana/tree/main/skills/image
Command: npx skills add https://github.com/flight505/nano-banana --skill image

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill simplifies creating and editing AI-generated images, enabling rapid visual asset production without expensive design software.

Core Features & Use Cases

  • Multiple Models: Gemini 3 Pro Image, FLUX Pro, and Flux Flex for generation and editing.
  • Editing Capabilities: Modify existing images with natural language prompts.
  • Use Case: Produce marketing visuals, concept art, and social media graphics quickly for product launches.

Quick Start

Use the script to generate an image: python skills/image/scripts/generate_image.py "A futuristic city skyline at dusk" -o city.png Edit an existing image: python skills/image/scripts/generate_image.py "Make the sky more dramatic" --input city.png -o city_edited.png

Frequently Asked Questions about image

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

FAQPage Schema
How do I generate AI images from text prompts using Gemini and FLUX models?

To generate AI images, you run the provided Python script with a natural language text prompt and specify an output path, accessing models like Gemini 3 Pro and FLUX via OpenRouter.

Can I edit an existing image with AI using natural language prompts?

Yes, you can edit an existing image by passing the file path as an input argument alongside your natural language modification prompt to the script, which then saves the edited output.

Do I need design software to create marketing visuals and concept art with AI?

No, you do not need expensive design software to create marketing visuals or concept art; the script requires only a Python runtime and an OpenRouter API key to generate assets.

What is the best way to use AI image editing for social media graphics?

The best way to create social media graphics is using the script to generate base visuals with FLUX or Gemini models, then iteratively refine them by passing the output back as an input image.

Which AI models are available through OpenRouter for image generation?

The available AI models for image generation and editing through OpenRouter include Nano Banana Pro Gemini 3 Pro Image, FLUX Pro, and Flux Flex.

Are there limitations when using Python scripts to generate AI images?

Limitations include requiring a Python runtime environment and a valid API key, and the script saves the generated or edited image directly to a specified local file path.