stable-diffusion-webui/webui.yaml
2022-08-26 15:11:34 +02:00

65 lines
1.8 KiB
YAML

# 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
# 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]
sampler_name: k_lms
ddim_eta: 0.0 # legacy name, applies to all algorithms.
n_iter: 1
batch_size: 1
cfg_scale: 7.5
# Leave blank for random seed:
seed:
height: 512
width: 512
# Textual inversion embeddings file path:
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
# 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]
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
# Leave blank for random seed:
seed:
height: 512
width: 512
# Textual inversion embeddings file path:
fp:
gfpgan:
strength: 100