2022-08-26 02:17:58 +03:00
|
|
|
# UI defaults configuration file. Is read automatically if located at configs/webui/webui.yaml, or specify path via --defaults.
|
|
|
|
|
|
|
|
txt2img:
|
|
|
|
prompt:
|
|
|
|
ddim_steps: 50
|
|
|
|
# Adding an int to toggles enables the corresponding feature.
|
|
|
|
# 0: Create prompt matrix (separate multiple prompts using |, and get all combinations of them)
|
|
|
|
# 1: Normalize Prompt Weights (ensure sum of weights add up to 1.0)
|
|
|
|
# 2: Save individual images
|
|
|
|
# 3: Save grid
|
2022-08-26 16:11:34 +03:00
|
|
|
# 4: Sort samples by prompt
|
|
|
|
# 5: Write sample info files
|
|
|
|
# 6: Fix faces using GFPGAN
|
|
|
|
# 7: Upscale images using Real-ESRGAN
|
|
|
|
toggles: [1, 2, 3, 4, 5]
|
2022-08-26 02:17:58 +03:00
|
|
|
sampler_name: k_lms
|
2022-08-26 16:11:34 +03:00
|
|
|
ddim_eta: 0.0 # legacy name, applies to all algorithms.
|
2022-08-26 02:17:58 +03:00
|
|
|
n_iter: 1
|
|
|
|
batch_size: 1
|
|
|
|
cfg_scale: 7.5
|
2022-08-26 16:11:34 +03:00
|
|
|
# Leave blank for random seed:
|
2022-08-26 02:17:58 +03:00
|
|
|
seed:
|
|
|
|
height: 512
|
|
|
|
width: 512
|
2022-08-26 16:11:34 +03:00
|
|
|
# Textual inversion embeddings file path:
|
2022-08-26 02:17:58 +03:00
|
|
|
fp:
|
|
|
|
|
|
|
|
img2img:
|
|
|
|
prompt:
|
|
|
|
ddim_steps: 50
|
|
|
|
# Adding an int to toggles enables the corresponding feature.
|
|
|
|
# 0: Create prompt matrix (separate multiple prompts using |, and get all combinations of them)
|
|
|
|
# 1: Normalize Prompt Weights (ensure sum of weights add up to 1.0)
|
|
|
|
# 2: Loopback (use images from previous batch when creating next batch)
|
|
|
|
# 3: Random loopback seed
|
|
|
|
# 4: Save individual images
|
|
|
|
# 5: Save grid
|
2022-08-26 16:11:34 +03:00
|
|
|
# 6: Sort samples by prompt
|
|
|
|
# 7: Write sample info files
|
|
|
|
# 8: Fix faces using GFPGAN
|
|
|
|
# 9: Upscale images using Real-ESRGAN
|
|
|
|
toggles: [1, 4, 5, 6, 7]
|
2022-08-26 02:17:58 +03:00
|
|
|
sampler_name: k_lms
|
|
|
|
ddim_eta: 0.0
|
|
|
|
n_iter: 1
|
|
|
|
batch_size: 1
|
|
|
|
cfg_scale: 5.0
|
|
|
|
denoising_strength: 0.75
|
|
|
|
# 0: Keep masked area
|
|
|
|
# 1: Regenerate only masked area
|
|
|
|
mask_mode: 0
|
|
|
|
# 0: Just resize
|
|
|
|
# 1: Crop and resize
|
|
|
|
# 2: Resize and fill
|
|
|
|
resize_mode: 0
|
2022-08-26 16:11:34 +03:00
|
|
|
# Leave blank for random seed:
|
2022-08-26 02:17:58 +03:00
|
|
|
seed:
|
|
|
|
height: 512
|
|
|
|
width: 512
|
2022-08-26 16:11:34 +03:00
|
|
|
# Textual inversion embeddings file path:
|
2022-08-26 02:17:58 +03:00
|
|
|
fp:
|
|
|
|
|
|
|
|
gfpgan:
|
|
|
|
strength: 100
|