4 releases
0.1.3 | Sep 28, 2024 |
---|---|
0.1.2 | Mar 11, 2024 |
0.1.1 | Mar 11, 2024 |
0.1.0 | Mar 10, 2024 |
#611 in Web programming
165 downloads per month
12KB
126 lines
imgen
A cli wrapper around OpenAI image generation that works for me. Give multiple prompts and request them concurrently.
Install
cargo install imgen
Config
OpenAI api key should be set using envar OPENAI_API_KEY
.
Run
imgen "First prompt" "Second prompt"
If a prompt is .
imgen will reuse the previous prompt. This way you can easily request variations like this.
imgen "prompt" . .
Dependencies
~9–22MB
~308K SLoC