Sign In

Random LoRA Injector Ext & Randomize Aspect Ratio Script for SD WebUI

2

57

1

Type

Other

Stats

37

0

Reviews

Published

Oct 3, 2024

Base Model

Other

Hash

AutoV2
140C425DAC

Please note: Randomize Aspect Ratio has been changed to a custom script to ensure functionality. If anyone has more exp than me and is willing to help me figure out how to re-implement the ext with the accordion UI I'm open to suggestions. Claude, ChatGPT, Gemini, and Copilot all failed to help me solve it.

Random LoRA Injector Ext & Randomize Aspect Ratio Script for SD WebUI

One extension and one custom script for Automatic1111's Stable Diffusion Web UI, inspired by the functionality of Dynamic Prompts, designed to automate and diversify the image generation process.

Random LoRA Injector - Extension

Automatically injects random LoRA models into prompts.

Key features:

  • Selects LoRAs from user-specified folders

  • Caches LoRA data for improved performance

  • Allows custom weight overrides

  • Integrates seamlessly with existing prompts

Randomize Aspect Ratio - Custom Script (Couldn't figure out how to make into an Ext)

Generates images with varying aspect ratios.

Key features:

  • Supports landscape, portrait, and square orientations

  • Optional prompt-based orientation selection

  • Customizable dimension ranges

  • Adds aspect ratio info to generation parameters

Both are designed to work independently, together, or alongside Dynamic Prompts. They hook into the main processing pipeline, allowing for easy integration with other scripts and workflows.

Thanks to adieyal the creator of Dynamic Prompts for the inspiration behind these tools.

GitHub repos:

Random LoRA Injector

Randomize Aspect Ratio

Feedback and contributions are welcome. Open an issue or submit a pull request on GitHub for any bugs or feature requests.