# Config-Presets **Repository Path**: stable_diffusion/Config-Presets ## Basic Information - **Project Name**: Config-Presets - **Description**: 添加一个可配置的下拉列表,允许您更改txt2img和img2img选项卡中的UI预设设置。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-03 - **Last Updated**: 2023-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## What does this do? This [Automatic1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) extension adds a configurable dropdown to allow you to change settings in the txt2img and img2img tabs of the Web UI. ## Screenshots The new dropdown in the image gallery. ![gallery](https://i.imgur.com/ef0p7wM.jpg) Dropdown values (configurable), select one and the generation settings values will be applied to the Web UI. ![dropdown](https://i.imgur.com/hWpoR9N.jpg) Each config preset holds values for: * Sampling Steps * Sampling method * Width * Height * Hires. fix * Upscale by * Denoising strength * Batch count * Batch size * CFG Scale Manually removing one of these fields from the json config file will mean that field will get ignored. Clicking the "Add/Remove..." button lets you create and delete custom presets of settings currently in the Web UI. Each button has tooltips to help you. ![dropdown](https://i.imgur.com/OD8wcSt.jpg) Screenshot of config-txt2img.json, which can be opened with the "Open..." button in the txt2img tab. It's created after the extension is loaded for the first time. You can use this if you want finer control on editing your presets. config-img2img.json also exists for the img2img tab. ![config](https://i.imgur.com/rLONKXz.jpg) ## Installation * In your Automatic1111 Web UI, go to the Extensions tab > Install from URL > URL for extension's git repository: `https://github.com/Zyin055/Config-Presets` * Click the Install button ## Known bugs * [Can't fix] Updating from an old version (before 12/21/2022 update) will wipe your custom config presets ## Changelog #### 2/10/2023 * Manually removing a preset value in the config file will make that value be ignored #### 2/09/2023 * Added 768x768, 1080p, 1440p, and 4k presets for txt2img (they won't show up for existing installations, you'd need to delete your config-txt2img.json file to have it recreated with the new presets) #### 1/02/2023 * Your custom presets will be wiped, you will need to remake any saved custom presets because of changes made in Automatic1111 * The Config Presets dropdown in the txt2img and img2img tabs now use separate config files and thus have separate presets * Saving a new preset now requires a Web UI restart (done automatically) * Added support for the Sampler method turning from a checkbox into a dropdown * Added support for the removal of Firstpass width/height being replaced by Upscale by #### 12/21/2022 * Added the "Add/Remove..." button to create and delete config presets within the Web UI #### 12/19/2022 * config.json will be created on first startup, user edits will not be overwritten when updating the extension after updating to this version #### 12/15/2022 * Fix for installation error on linux #### 12/13/2022 * config.json was tweaked, added Firstpass width and Firstpass height * Better support for img2img tab compatibility #### 12/12/2022 * Initial Release