Dgenerate

Latest version: v4.5.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 10

3.5.0

v3.5.0 release with Windows installer.

Due to the size of the packaged python environment, the installer is within a multi-part zip file.

The multipart zip can be extracted using 7-Zip: https://www.7-zip.org/

Download both ``dgenerate_installer.zip.001`` and ``dgenerate_installer.zip.002`` to a folder.

Unzip ``dgenerate_installer.zip.001`` to a directory (Right click, 7-Zip -> Extract to "dgenerate_installer") and then run ``dgenerate_installer\dgenerate.msi`` to install.

dgenerate will be installed under ``C:\Program Files\dgenerate`` by default with an isolated python environment provided.

The install directory will be added to PATH, and dgenerate will be available from the command line.

Portable Install

A portable install is provided via ``dgenerate_portable.zip.001`` and ``dgenerate_portable.zip.002``, these contain
nothing but the dgenerate executable and a frozen python environment which can be placed anywhere.

Features & Fixes

* [Console UI](https://github.com/Teriks/dgenerate/tree/v3.5.0?tab=readme-ov-file#console-ui) (cross platform tkinter UI) for interacting with dgenerate as a live shell process via `--console`
* New windows installer options, desktop shortcut / start menu shortcut for Console UI
* Use dgenerate as a shell in the terminal via `--shell`, by-pass the large overhead of loading machine learning librarys for every command line use by working interactively with the configuration language via a REPL
* Config language now supports bash like file globbing in configs (star globbing) and home directory expansion for dgenerate invocations / most directives
* Added config directive `\help` alias of `--help`
* Added config directive `\setp` which allows setting a template variable to the value of an evaluated python expression (aware of global template variables) via `asteval`, supports the use of all template functions
* Added config directive `\sete` which allows you to set a template variable to a list of tokens derived from shell expansion (shell globing and home directory expansion)
* Added config directive `\echo` print with shell expansion, (`\print` only prints a raw value)
* Added additional config directives mimicking corresponding unix commands `\cd`, `\pushd`, `\popd`, `\ls`, `\pwd`, `\mv`, `\cp`, `\mkdir`, `\rmdir`
* Added config directive `\exec` which allows the execution of subprocesses, supports pipes, and all file redirect operators supported by bash
* Added config directives `\directives_help` and `\functions_help`, similar to `\templates_help`
* Added additional template functions, add access to almost all python builtins for use in jinja templates and `\setp`
* Add template function `cwd()` for retrieving the current working directory
* Configurable `--scheduler` init parameters via URI syntax, enabling support of `v_prediction` models and tweaking of scheduler configuration. Applies to all scheduler options.
* More resilient cache for downloaded `--image-seeds` and image processor media / models, featuring adjustable TTL, and resistance to improper program termination
* Bug fixes and a few new messages regarding invalid arguments and argument combinations
* `--upscaler-noise-levels` can now by used with `torch-ifs-*` models, (Deep Floyd Super Resolution)
* Allow use with newer versions of python
* python 3.12.3 in Windows installer environment

3.4.5

v3.4.5 release with Windows installer.

Due to the size of the packaged python environment, the installer is within a multi-part zip file.

The multipart zip can be extracted using 7-Zip: https://www.7-zip.org/

Download both ``dgenerate_installer.zip.001`` and ``dgenerate_installer.zip.002`` to a folder.

Unzip ``dgenerate_installer.zip.001`` to a directory (Right click, 7-Zip -> Extract to "dgenerate_installer") and then run ``dgenerate_installer\dgenerate.msi`` to install.

dgenerate will be installed under ``C:\Program Files\dgenerate`` by default with an isolated python environment provided.

The install directory will be added to PATH, and dgenerate will be available from the command line.

Portable Install

A portable install is provided via ``dgenerate_portable.zip.001`` and ``dgenerate_portable.zip.002``, these contain
nothing but the dgenerate executable and a frozen python environment which can be placed anywhere.

Fixes

* Proper batching with Stable Cascade instead of iterative decoder passes

3.4.4

v3.4.4 release with Windows installer.

Due to the size of the packaged python environment, the installer is within a multi-part zip file.

The multipart zip can be extracted using 7-Zip: https://www.7-zip.org/

Download both ``dgenerate_installer.zip.001`` and ``dgenerate_installer.zip.002`` to a folder.

Unzip ``dgenerate_installer.zip.001`` to a directory (Right click, 7-Zip -> Extract to "dgenerate_installer") and then run ``dgenerate_installer\dgenerate.msi`` to install.

dgenerate will be installed under ``C:\Program Files\dgenerate`` by default with an isolated python environment provided.

The install directory will be added to PATH, and dgenerate will be available from the command line.

Portable Install

A portable install is provided via ``dgenerate_portable.zip.001`` and ``dgenerate_portable.zip.002``, these contain
nothing but the dgenerate executable and a frozen python environment which can be placed anywhere.

Fixes

* Fix for Stable Cascade model type not properly honoring ``--unet`` and ``--unet2`` due to pipeline constructor argument naming differences.

3.4.3

Fixes

* Fix for Stable Cascade model type not honoring ``--batch-size`` value, multiple images can now be generated in batch at once by the prior model, and processed individually by the decoder model.

3.4.2

Fixes

* Fix for Stable Cascade models not honoring ``--seeds`` values, leading to the inability to produce deterministic output when specific seeds were provided for generation.

3.4.1

Fixes

* Fix broken pix2pix pipeline selection for stable diffusion and stable diffusion XL that rendered pix2pix unusable

Page 7 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.