Skip to content

GUI howtos

fszontagh edited this page Nov 30, 2024 · 10 revisions

Image Output Filename Format

Starting from version 0.2.1, a new setting is available under Settings -> Diffusion that lets you customize the filenames of generated images (excluding the file extension).

You can use the following tags to define the filename structure:

Tag Description
[year] Current year
[month] Current month
[day] Current day
[hours] Hour of image creation
[minutes] Minute of image creation
[seconds] Second of image creation
[unixtimestamp] Unix timestamp when the job finished
[created_at] Unix timestamp when the job was created
[jobid] Internal ID of the job
[seed] Initial seed used for the generation
[batch] Number of images generated in a single job
[width] Image width in pixels
[height] Image height in pixels
[mode] Generation mode (e.g., txt2img, img2img, upscale)
[model] Name of the model used
[steps] Number of steps used to generate the image
[steps_total] Total steps used (including tiling steps)
[cfg_scale] CFG scale value used
[denoising_strength] Denoising strength applied

Example

If you include a directory separator (/) in the filename, such as:
[mode]-[year]-[month]-[day]/[jobid]_[width]x[height],
a corresponding directory will be created in the output folder, and the images will be saved within it.

Conflict Handling

If a file with the same name already exists, the new image will be saved with a suffix in the format _\<number>.ext to avoid overwriting.

The default format is:

[mode]_[jobid]_[seed]_[width]x[height]

Clone this wiki locally