From c6611b2ad65ade481501a4bc7a089e411b090c09 Mon Sep 17 00:00:00 2001 From: plucked Date: Fri, 7 Oct 2022 10:21:16 +0000 Subject: [PATCH] doc: described how filename format works --- docs/features/OTHER.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/features/OTHER.md b/docs/features/OTHER.md index 6aab528275..0c478c0bfe 100644 --- a/docs/features/OTHER.md +++ b/docs/features/OTHER.md @@ -71,6 +71,20 @@ combination of integers and floating point numbers, and they do not need to add --- +## Filename Format + +The argument `--fnformat` allows to specify the filename of the image. Supported wildcards are all arguments what can be set such as + `perlin`, `seed`, `threshold`, `height`, `width`, `gfpgan_strength`, `sampler_name`, `steps`, `model`, `upscale`, `prompt`, `cfg_scale`, `prefix`. + +The following prompt +```bash +dream> a red car --steps 25 -C 9.8 --perlin 0.1 --fnformat {prompt}_steps.{steps}_cfg.{cfg_scale}_perlin.{perlin}.png +``` + +generates a file with the name: `outputs/img-samples/a red car_steps.25_cfg.9.8_perlin.0.1.png` + +--- + ## Thresholding and Perlin Noise Initialization Options Two new options are the thresholding (`--threshold`) and the perlin noise initialization (`--perlin`) options. Thresholding limits the range of the latent values during optimization, which helps combat oversaturation with higher CFG scale values. Perlin noise initialization starts with a percentage (a value ranging from 0 to 1) of perlin noise mixed into the initial noise. Both features allow for more variations and options in the course of generating images.