Sign In

Midjourney file name extractor

19
179
0
Type
Other
Stats
179
Reviews
Published
May 30, 2023
Base Model
Other
Hash
AutoV2
5264678A8F
default creator card background decoration
Nej_dot's Avatar
Nej_dot

when you download images in bulk from midjourney, the name will contain at least part of your prompt. This can be useful for dataset tagging when training models. This script, with a gui, automates taking that name, removing the username prefix and the UUID suffix, as well as replace the underscores in the text. Then it puts it in a .txt and saves it in the same directory as the image, using the exact same name except for the file ending.

for example the image file would have a name like this: your_username_your_prompt_45987923023409.png

this script creates a text file with the text "your prompt" with the name "your_username_your_prompt_45987923023409.txt"

https://github.com/nej-dot/imgname2txt/tree/main