Gambarin is a powerful and user-friendly ChatGPT image generation tool that allows you to quickly generate images by simply providing prompts through the command-line interface (CLI). With Gambarin, you no longer need to open a separate website or chat with GPT models online to generate images. You can do it directly from your command-line interface, making it a convenient and efficient way to generate images on the go.
Install the project with npm :
npm i gambarin -g
Firstly, you need to set your API key.
-
Get your API key from OpenAI. Make sure you add payment details so the API works.
-
Set your api_key to gambarin like so:
gambarin api_key=<your_api_key>
- Done :)
You can directly generate an image from your CLI! :)
gambarin p="a cat with sun power in anime style"
Note : make sure you use quotation marks after p=
as usage example so it's detected as one line prompt.
There is some result from that command: