Skip to content

a-l-e-x-d-s-9/stable_diffusion_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

412 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Create requirements:

pipreqs .

Install requirements:

pip install -r requirements.txt

My articles:

My Stable Diffusion Models:

Scripts:

Features:

  1. Visual preview of images.
  2. Show caption file content for each image.
  3. Edit caption text.
  4. Add new text after specific comma to all files. Caption Helper Preview

Features:

  1. Replace multiple patterns at text.
  2. Add/remove couples of regex and replacement string.
  3. Save/load automatically the state to file. Pattern Replacer Preview

Warning:

  • The script not fully debugged. It needs further work.

Features:

  1. Pull models of user with Civitai API.
  2. Plot all models on graph with corresponding downloads per model.
  3. Data pulled periodically and saved to local database. Civitai Dashboard Preview

Features:

  1. Download files from a list of URLs.

Features:

  1. files in a directory by their creation date.

Features:

  1. Crop images by size from each side by pixels.

Features:

  1. Crop images from each side by percentage

Features:

  1. Resize images in a directory.
  2. Delete images smaller than certain size.

Features:

  1. Check exif data can be read.
  2. Allow to remove exif from images with problematic exif.

Features:

  1. Flip images horizontally.
  2. Option to flip randomly with 50% chance.

Features:

  1. Rename files in folder, use a pattern.

TODO:

  1. Need a way to concentrate images with similar aspect ratio to common folders.

Features:

  1. Images sort into folders by aspect ratio of the image.

TODO:

  1. Download by model URL or model name.

Features:

  1. Download model from Civitai using list and configuration in the file: download_config.json.
  2. Can download multiple models at same time.

TODO:

  1. Fix export to file wrong encoding.

Features:

  1. Print Exif info to screen.

Features:

  1. Batch upload files to Hugging Face or Civitai (generic structure).
  2. Supports multi-destination uploads.
  3. Configurable via JSON settings.

Features:

  1. Generate caption files based on image filenames.
  2. Replaces underscores with spaces.

Features:

  1. Generate caption files based on the parent folder name.

Features:

  1. Batch process caption files.
  2. Add, replace, or remove tags/text.

Features:

  1. Copy caption files from a reference directory to a destination if filenames match.

Features:

  1. Scan directory for corrupted images.
  2. Identifies images that cannot be opened.

Features:

  1. Add reactions to images on Civitai.

Features:

  1. Download images associated with a specific Civitai model.

Features:

  1. Download top-rated images from Civitai.

Features:

  1. Download all images from a specific Civitai user.

Features:

  1. Automate filling of metadata for video uploads on Civitai.

Features:

  1. Scan local files and match them against Civitai models.

Features:

  1. Extract download links from Civitai user page as a shell script.

Features:

  1. Count files in subdirectories recursively.

Features:

  1. Count images by their resolution.

Features:

  1. Unit tests for crop jitter functionality.

Features:

  1. Detect faces in images and crop to them.

Features:

  1. Improved version of face cropping.

Features:

  1. Delete files used for training (e.g., converted images, captions) based on criteria.

Features:

  1. Rename or tag images based on recognized faces.

Features:

  1. Calculate average file sizes in a directory.

Features:

  1. Rename folders to include repeat count (used for LoRA training).

Features:

  1. Generate TOML dataset configuration from folder structure.

Features:

  1. Manage git patches.

Features:

  1. Download images from Grok.

Features:

  1. Download files from HuggingFace repositories.

Features:

  1. Fix file paths for HuggingFace operations.

Features:

  1. Merge pull requests on HuggingFace.

Features:

  1. Scan and locate files in HuggingFace repositories.

Features:

  1. Batch upload files to Hugging Face repositories.

Features:

  1. Extract download links from HuggingFace as a script.

Features:

  1. Rotate images based on EXIF orientation tag.

Features:

  1. Generate histograms for images.

Features:

  1. Recolor images based on a palette.

Features:

  1. Tool to quickly sort images.

Features:

  1. Add backgrounds to transparent images.

Features:

  1. Add an overlay image to base images.

Features:

  1. Add multiple overlay images.

Features:

  1. Automatically adjust exposure and contrast of images.

Features:

  1. Convert images between different formats.

Features:

  1. Apply curve adjustments to images.

Features:

  1. Blend images to monochrome.

Features:

  1. Detect and filter blurry images.

Features:

  1. Filter images based on text content.

Features:

  1. Filter out images smaller than a specific size.

Features:

  1. Remove postfixes (e.g., -0001) from filenames.

Features:

  1. Replace text inside image metadata (UserComment).

Features:

  1. Split a specific number of images from a folder to another.

Features:

  1. Extract metadata from images and save as caption files.

Features:

  1. Move random files from one folder to another.

Features:

  1. Purge images from output directory.

Features:

  1. Copy PNG metadata from one file to another.

Features:

  1. Print PNG metadata to console.

Features:

  1. Replace PNG metadata info.

Features:

  1. Extract PNG info to caption files.

Features:

  1. Read and write metadata for PNG/JPEG/WEBP.
  2. Clean and robust utility.

Features:

  1. Read metadata from Safetensors model files.

Features:

  1. Batch search and replace text in files.

Features:

  1. Sort images into folders based on recognized faces.

Features:

  1. Split files into multiple folders.

Features:

  1. Count frequency of tags in caption files.

Features:

  1. Encode text files.

Features:

  1. Extract text using regular expressions.

Features:

  1. Split text files.

Features:

  1. Upload images to Twitter.

Features:

  1. Extract frames from videos.

Features:

  1. GUI tool for cropping multiple images.

Features:

  1. GUI tool for adding stickers/overlays to images.

About

Stable Diffusion Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •