Giter VIP home page Giter VIP logo

sigscript's Introduction

SigScript for Stable Diffusion Images

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.

๐ŸŽฅ Demo

Watch the Tutorial Video on YouTube

๐Ÿ“Œ Prerequisites

  • Python 3.x
  • Windows 10/11

๐Ÿš€ Quick Start

Step 1: Install Python Virtual Environment

Run start.bat to install a Python virtual environment (venv).

Step 2: Edit the Script

Open the scripts/signature.py file in a text editor like Notepad.

Set Image Folder Path

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 Signature

Add your name or alias to the following line:

signature_text = 'ADD YOUR NAME HERE'

For example:

signature_text = '-bigsk1'

Step 3: Customize Appearance (Optional)

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.

Step 4: Run the Script

Double-click start.bat to run the script.

Output

The signed images will be saved in the outputs folder. Original images will not be modified.

File Naming

If your original image name is 00925-3431573143.png, the signed image will be saved as 00925-3431573143_signed.png.

Supported File Types

  • .png
  • .jpg
  • .jpeg
  • .bmp
  • .tiff

Note: The script supports both upper and lowercase file extensions like `.PNG`.

alt text

SDXL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.