This script allows you to try different checkpoints with different prompts. Each checkpoint can have its own prompt, or the prompt from the positive prompt field is inserted into the checkpoint-specific prompt at a position you specify.
either enter the names of the checkpoints yourself, keep in mind that if you have sorted them into sub-folders, you have to add the sub-folders to the name, or press this 📒 button next to the box and all existing checkpoints will be loaded into the textbox.
checkpointA, checkpointB
Separate the checkpoint names with a comma.@index:number
Is automatically added after the checkpoint name when you load the checkpoint by 📒 button. Ignored by the program, but can help you to see which checkpoint belongs to which prompt.
here you enter the prompts for the checkpoints, each in the same order as the checkpoints are.
If you have installed the Civitai Helper extension, this button automatically launches the prompts from the checkpoint thumbnails into the textbox.
If you don't have this installed it will simply load {prompt};
for each checkpoint. Just like if there is no prompt for the preview image.
hires fix always uses the same prompts as for the first pass of the checkpoint, even if extra hires fix prompts were specified.
promptA; promptB
Separate the prompts with a semicolon.@index:number
Is automatically added after the checkpoint name when you load the checkpoint by 📒 button.{prompt}
insert this at the point in the checkpoint specific prompt where you want the positive prompt to be inserted.{{count:number}}
Add this to the end of the prompt to set a different batch count for this checkpoint{{clip_skip:number}}
Add this to the end of the prompt to set a different clip skip for this checkpoint{{neg: negativ prompt text here}}
Add this to the end of the prompt, the text will be simply added to the back of the negative prompt
These can be changed in the setting. you need to know Regexp to use this! Look at the code in BatchParams.py to see how it works internally.
🔢 adds the @index:number
to the end of the Checkpoints and Prompts. If already there updates them.
specifies how many pixels should be between the checkpoint images in the grid created in the end
You can save the state. Use a unique name for this. I.e. no duplicate names. Press the 💾 button to save.
- To overwrite a saved state, check the
Overwrite existing save
checkbox and press the 💾 button. - To append to a saved state, check the
append existing save
checkbox and press the 💾 button.
To reload a saved state, select it from the drop-down menu and press the 📒 button. This is a multiple selection menu, but only the first selection is taken into account. To load new saves, press the 🔄 button before selecting a save from the drop-down menu.
The basismodel version of the checkpoint can now be inserted with the 🔢 button next to the index, but this is quite slow and takes about 5 minutes on my system with 90 checkpoints. To enable this check under advanced settings the checkbox Add model version to checkpoint names
.
You found a bug or want to contribute to the script? Visit the github page (link can be found in the extensions tab)