Skip to content

Instantly share code, notes, and snippets.

@kermit4977
kermit4977 / get_embeddings.py
Last active July 29, 2023 20:42
Python script to get SD embeddings from the Stable Diffusion Textual Inversion Concepts Library for use with SD WebUI
#!/bin/python
####
# Designed for use with https://github.com/AUTOMATIC1111/stable-diffusion-webui
# Run this file from the root of the repo
#
# Usage in prompt: Put embedding name in prompt (using moxxi.pt and borderlands.pt)
# e.g. moxxi on a beach, in the style of borderlands sharp, clear lines, detailed
# or
# e.g. <moxxi> on a beach, in the style of <borderlands> sharp, clear lines, detailed