add documentation

This commit is contained in:
Lincoln Stein 2022-10-01 15:21:57 -04:00
parent a626533cd4
commit fe28c5fbdc
3 changed files with 3 additions and 1 deletions

View File

@ -146,6 +146,7 @@ Here are the dream> command that apply to txt2img:
| --cfg_scale <float>| -C<float> | 7.5 | How hard to try to match the prompt to the generated image; any number greater than 1.0 works, but the useful range is roughly 5.0 to 20.0 |
| --seed <int> | -S<int> | None | Set the random seed for the next series of images. This can be used to recreate an image generated previously.|
| --sampler <sampler>| -A<sampler>| k_lms | Sampler to use. Use -h to get list of available samplers. |
| --hires_fix | | | Larger images often have duplication artefacts. This option suppresses duplicates by generating the image at low res, and then using img2img to increase the resolution |
| --grid | -g | False | Turn on grid mode to return a single image combining all the images generated by this prompt |
| --individual | -i | True | Turn off grid mode (deprecated; leave off --grid instead) |
| --outdir <path> | -o<path> | outputs/img_samples | Temporarily change the location of these images |

View File

@ -573,7 +573,7 @@ class Args(object):
'--hires_fix',
action='store_true',
dest='hires_fix',
help='Create hires image using img2img to prevent dupes'
help='Create hires image using img2img to prevent duplicated objects'
)
img2img_group.add_argument(
'-I',

View File

@ -49,6 +49,7 @@ COMMANDS = (
'-save_orig','--save_original',
'--skip_normalize','-x',
'--log_tokenization','-t',
'--hires_fix',
'!fix','!fetch',
)
IMG_PATH_COMMANDS = (