This script automatically adds a signature to all the Stable Diffusion images you generate. The idea is to make it easier to brand your images with your own name or alias.
Watch the Tutorial Video on YouTube
- Python 3.x
- Windows 10/11
Run start.bat
to install a Python virtual environment (venv).
Open the scripts/signature.py
file in a text editor like Notepad.
Change the following line to point to your images folder.
directory = r'C:\add-your-image-folder-path-here'
For example:
directory = r'C:\\Users\\somedude\\Downloads'
Add your name or alias to the following line:
signature_text = 'ADD YOUR NAME HERE'
For example:
signature_text = '-bigsk1'
The default font color is white, but you can change it by modifying the RGB values in the script. You can also change the font, line width, and size.
Double-click start.bat
to run the script.
The signed images will be saved in the outputs
folder. Original images will not be modified.
If your original image name is 00925-3431573143.png
, the signed image will be saved as 00925-3431573143_signed.png
.
.png
.jpg
.jpeg
.bmp
.tiff
Note: The script supports both upper and lowercase file extensions like `.PNG`.
SDXL