forked from CompVis/stable-diffusion
-
Notifications
You must be signed in to change notification settings - Fork 2
/
txt2img.yaml
24 lines (23 loc) · 823 Bytes
/
txt2img.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Example configuration file for CLI usage.
# Intended for advanced users.
target: txt2img # img2img not implemented.
prompt: E=mc2
ddim_steps: 50 # legacy name, applies to all algorithms.
# 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 # Valid: DDIM, k_dpm_2_a, k_dpm_2, k_euler_a, k_euler, k_heun, k_lms
ddim_eta: 0.0
n_iter: 1
batch_size: 1
cfg_scale: 7.5
seed: 3172010360 # Leave blank for random seed.
height: 512
width: 512