What problem does it solve?
This skill leverages Google's Gemini 2.5 Flash (Nano Banana) via OpenRouter to intelligently combine multiple images, solving complex photo manipulation tasks like face swapping, background replacement, and AI-guided collages that would otherwise require manual graphic design.
Core Features & Use Cases
- Multi-Image Composition: Merge 2-8 images into a single, cohesive composition with AI guidance.
- Face Swapping & Background Replacement: Perform advanced photo editing tasks with natural blending.
- AI-Guided Collages & Thumbnails: Create artistic collages or engaging YouTube thumbnails from multiple sources.
- Use Case: A content creator needs to quickly generate a YouTube thumbnail by combining a portrait of themselves with a dynamic background and overlaying text. This skill automates the complex composition, ensuring professional results.
Quick Start
To combine images with Nano Banana, first install:
pip install httpx python-dotenv pydantic pillow base64
Then, set your OPENROUTER_API_KEY and FRONTEND_URL in your .env file.
Encode your image URLs to base64 and send them with a prompt to the OpenRouter API.