Skip to content

Takes text files made from a keyword generator and inserts them into image XMP metadata

License

Notifications You must be signed in to change notification settings

munsonbh/text-to-xmp-keywords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text to XMP Keywords

Takes text files made from a keyword generator (such as what you get from the Stable Diffusion utilities in kohya_ss) and inserts them into image XMP metadata. Uses the EXIFtool CLI to do the dirty work.

Dependencies

CLI

Python Libraries (pip install)

Howto

  1. Make some comma-separated keyword text files that are named the same as the image file they correspond with
  2. Make sure those text files are in the same folder as your images (standard for keyword generators)
  3. Open the notebook and change the path in the first block to your image folder
  4. Run the codes

99% made by AI

I simply interrogated the JupyterLab OpenAI plug-in until it worked, then moved the folder path to an easier place to change. I'm a dumb-but-tenacious designer. Enjoy!

About

Takes text files made from a keyword generator and inserts them into image XMP metadata

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published