Michael King’s guide

Midjourney is fun, but the Discord-based interface is somewhat annoying, if you want to make a lot of images. To get all the images you generate, you have to upscale all 2×2 previews, and save them manually. It can get pretty tiring, so instead of making better images, I spent a bit of time to automate the download and import process. With this code, a Discord bot will monitor your server, watch for Midjourney messages, process all images, and upload them to your Lightroom CC cloud account. Run the script anywhere, a Raspberry Pi or a cheap cloud server, and keep making images.

If you want to get started right away, the code is github.com/softplus/midjourney_lightroom

This looks like a long post – it’s just a collection of many small steps. If you’ve run something from Github before, you can do it. All of this works under Ubuntu, I’m not bored enough to try it out in other operating systems. YMMV.

Inspired by Michael King’s guide to automatically download Midjourney images.

Overview

You will need the following:

  • Somewhere to run the code. I use a computer with Ubuntu.
  • A private Discord server. Make a new one if you want, they’re “free”.
  • A Discord bot key (we’ll make that below)
  • An Adobe Lightroom CC API key (we’ll make that below)
  • A Midjourney account (#obviously)

It will do the following:

  • The bot joins your private server & channel.
  • You’ve invited Midjourney there too.
  • When you get a result from Midjourney, it will download the image, and upload them to Lightroom.
  • Once a day you’ll need to authenticate for Lightroom.

Be the first to comment

Leave a Reply

Your email address will not be published.


*