model-keyword  by mix1009

A Stable Diffusion WebUI extension for keyword autofill

created 2 years ago
258 stars

Top 98.6% on sourcepulse

GitHubView on GitHub
Project Summary

This extension for Automatic1111's Stable Diffusion WebUI automatically populates trigger words for custom Stable Diffusion models and LoRA models. It aims to simplify the process of using custom models by reducing manual keyword entry for users.

How It Works

The extension identifies the currently selected Stable Diffusion model or LoRA model and automatically inserts associated keywords into the prompt. Users can configure how keywords are applied, choosing to use all keywords, a random one, iterate through them for sequential image generation, or select specific keywords. It supports custom mappings for user-defined keywords linked to specific model filenames or hashes.

Quick Start & Requirements

  • Install: Copy the repository URL (https://github.com/mix1009/model-keyword) into the Automatic1111 WebUI's Extensions tab and click "Install". Then, apply changes and restart the UI.
  • Prerequisites: Automatic1111 Stable Diffusion WebUI.
  • Links: Repository

Highlighted Details

  • Supports multiple keyword placement strategies: comma-separated, random selection, iteration, or single keyword.
  • Offers LoRA model support with a dropdown for keywords associated with selected LoRA models.
  • Allows users to add and save custom keyword mappings for models not automatically recognized.
  • Uses an older hash value calculation method, which may be relevant for specific WebUI versions.

Maintenance & Community

  • No specific contributors, sponsorships, or community links (Discord/Slack, roadmap) are mentioned in the README.

Licensing & Compatibility

  • The license is not specified in the README.
  • Compatibility with commercial use or closed-source linking is not detailed.

Limitations & Caveats

The "iterate" keyword placement strategy may conflict with the sd-dynamic-prompts extension; users are advised to disable it or rename the extension folder to sd-model-keyword to resolve potential bugs. The extension relies on an older model hash value calculation, which might not be compatible with the latest WebUI updates. LoRA support is limited to selecting one model and one or all keywords.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.