igolaizola / bulkai

AI image generation in bulk automatically
MIT License
189 stars 40 forks source link
automation bluewillow bulk golang midjourney

bulkai πŸ€–πŸŽ¨

bulkai is a tool to generate AI images in bulk

πŸ“’ Connect with us! Join our Telegram group for support and collaboration: t.me/igohub

πŸš€ Features

bulkai works with the following AI image generators:

bulkai automates the following tasks:

πŸ“¦ Installation

You can use the golang binary to install bulkai:

go install github.com/igolaizola/bulkai/cmd/bulkai@latest

Or you can download the binary from the releases

πŸ•ΉοΈ Usage

1. Create session (only for the first time)

You first need to create a session file with the discord credentials and other information retrieved from your browser. bulkai needs this to:

Use the bulkai create-session command to create the session file. It will open a chrome window and you will need to login to Discord.

bulkai create-session

2. Configure settings

You can configure different settings. See the parameters section to see all available options: Parameters

Using a configuration file in YAML format:

bulkai generate --config bulkai.yaml

bulkai.yaml

bot: midjourney
album: cute-animals
download: true
upscale: true
variation: false
thumbnail: true
suffix: " --ar 3:2"
prompt:
  - cute-animals-1.txt
  - cute-animals-2.txt
  - cute monkey dancing on a tree

2. Launch

Use the bulkai generate command to launch the generation. Images will be downloaded to the album name in the output directory specified in the configuration file. You will be able to see the progress in the console. This task can take a long time depending on the number of images to generate.

bulkai generate

You can press Ctrl+C to stop the generation. If you want to resume the generation, just press launch the command again using the same settings and album name. Prompt field will be ignored and the prompts will be loaded from the album.

πŸ› οΈ Parameters

Here is a list of all the parameters available to run the image generation.

❓ FAQ

Do I need to generate a new session every time I want to use use bulkai?

No, you only need to generate a new session if you want to use a different account.

Do I need to enable relaxed mode?

It is up to you to use relaxed or fast mode. Just keep in mind that if you use fast mode with a lot of prompts, you may consume your quota very quickly.

I'm getting couldn't find dm channel for bot error

You must manually join the discord server of the bot you want to use. Then you have to open a DM chat with the bot. Alternatively, you can specify the channel to use in the form guild/channel. The bot must be available in the channel you specify.

⚠️ Disclaimer

The automation of User Discord accounts also known as self-bots is a violation of Discord Terms of Service & Community guidelines and will result in your account(s) being terminated.

The automation of Midjourney and Bluewillow accounts is also a violation of their Terms of Service and will result in your account(s) being terminated.

Read about Discord, Midjourney and Bluewillow Terms of Service and Community Guidelines

bulkai was written as a proof of concept and the code has been released for educational purposes only. The authors are released of any liabilities which your usage may entail.

πŸ’– Support

If you have found my code helpful, please give the repository a star ⭐

Additionally, if you would like to support my late-night coding efforts and the coffee that keeps me going, I would greatly appreciate a donation.

You can invite me for a coffee at ko-fi (0% fees):

ko-fi

Or at buymeacoffee:

buymeacoffee

Donate to my PayPal:

paypal.me/igolaizola

Sponsor me on GitHub:

github.com/sponsors/igolaizola

Or donate to any of my crypto addresses:

Thanks for your support!

πŸ“š Resources

Some of the resources I used to create this project: