Skip to content

An Extension for Automatic1111 Webui that helps inserting prompts

License

Notifications You must be signed in to change notification settings

Haoming02/sd-webui-easy-tag-insert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SD Webui Easy Tag Insert

This is an Extension for the Automatic1111 Webui, which trivializes inserting prompts.

Compatible with Forge~


(Catppuccin Theme)

This Extension has been updated to work for the latest version of the Webui. If you're using an older version, please refer to Releases.

How to Use

This Extension creates buttons in a new Extra Networks tab, EZ Tags. When clicked, it will add the specified string into the prompt field.

Use Cases

You can use this Extension to simply make shortcuts for very long prompts:

  Positive: (high quality, best quality)
  Negative: (low quality, worst quality:1.2)

This is especially useful with LoRAs, such as those that contain multiple concepts using different trigger words:

  Chara1: trigger1, <lora:franchise:0.75>
  Chara2: trigger2, <lora:franchise:0.75>

How to Edit Entries

The tags are loaded from the .tag files inside the cards folder. You may edit the entries by modifying the table in the EZ Tags Editor tab:

  • Press the Load button to load the tags into the table
    • folder: The path used to filter/categorize
    • filename: The displayed name of the buttons
    • prompt: The strings to add to the field
  • Press the Save button to save the tags into the cards folder
    • Rows with any column empty will be skipped
    • Empty folder will be deleted afterwards
  • If no cards folder is present (eg. fresh install), it will automatically copy the samples folder to cards
  • You can live reload the entries after editing by pressing the Refresh button, without restarting the UI

Sorting

You can toggle the sorting between multiple modes:

  • First by Category, then by Display Name
  • By Index (the order they are loaded in)
  • First by Category, then by Index
  • By Display Name