imagine-cli
by AhmedAburady
Imagine-cli is a command-line tool that generates and edits images using Google's Gemini (Nano Banana) models and OpenAI's gpt-image-2. It is set up with a single YAML config file and is designed for scripts, batch jobs and repeatable image workflows.
- Stars
- 66
- Licence
- AGPL-3.0
- Runs on
- Your computer
- Setup
- Moderate
- Language
- Go
- Age
- 190 days
What you can do with it
- Generate several image variations from one prompt in a single command
- Edit an existing image by adding a reference file to the prompt
- Run many different image jobs in parallel from one YAML batch file
Make money with it
A freelancer could offer batches of AI-generated marketing or product images to small businesses, using saved prompt libraries to deliver them quickly.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Produce batches of product, social media or marketing images from reusable prompt files without paying for a design tool seat
- Build image generation into automated scripts or CI jobs, such as creating blog illustrations for each new post
Can you use it commercially?
Free to use. Anything you distribute that includes it must be open-sourced under the same licence. Running it as an online service also counts, so a hosted version must offer its source.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Download a pre-built binary for macOS, Linux or Windows, or install with go install (Go 1.26 or later), then add your keys to a YAML config file.
Follow the official instructions in the project README.
Things to check
- Needs a paid Google, Vertex or OpenAI API key, or a ChatGPT subscription
- AGPL-3.0 licence has sharing obligations if you build it into a hosted service
- API keys are stored in plain text in the config file
- Signing in with a ChatGPT subscription may sit in a grey area of OpenAI's terms
Who's talking about it
Checked 30 Oct 2026. Summary drafted by AI from the project's README.