MJ Images
I enjoy “painting” with Midjourney—it get’s me around my technical shortcomings as an artist! The Discord app and MJ front-end does not have a bulk download facility. Here is my work around.
Goto your Midjourney archive.
- Login at Midjourney
- Navigate to Archive, top left
Create a page with the images you want to download. Zoom waaay out to get lots of images on the page.
In your browser,
File -> Save As
and select the Webpage complete option. This will create an HTML file and a subdirectoryIN_DIR
containing.webp
files with your images.Run Python code to convert to png files. I use
great2
as the scriptg mj-process IN_DIR OUT_DIR
.The download has random file names, so these files are best clustered and renamed. This can be done using
great2.ImageOrganizer
. Select the number of clusters appropriately.import great2 as g2 ic = g2.ImageOrganizer() fl = Path(IN_DIR).glob('*.png') ic.image_list = fl ic.cluster(12, features='clip') ic.make_links(OUT_DIR)