Skip to content

Project with support for using chaiNNer compatible models from the command line (site addition?) #330

@Teriks

Description

@Teriks

I added support for using chainner compatible upscaling / restoration models to my CLI stable diffusion tool recently. It is a batch generation tool focused on mass generation of images, and automating image generation tasks via scripting, which is used entirely from the command line.

The models from OpenModelDB can be used as a post-processor or pre-processor for diffusion based image generation, or standalone on images, animated images, and videos.

It is implemented in a generic way along side various other image processors in the command line tool which can be used in a similar manner.

It uses tiled upscaling similar to ComfyUI, the code for this is adapted from chainner

I saw on the website a listing of compatible software, and to create a ticket.

I figured it might be of interest, I have been working on this for fun :)

https://github.com/Teriks/dgenerate

Some example uses with the upscaler image processor:

https://github.com/Teriks/dgenerate/tree/v3.0.2?tab=readme-ov-file#upscaling-with-chainner-compatible-upscaler-models

https://github.com/Teriks/dgenerate/blob/v3.0.2/examples/stablediffusion_xl/postprocessors/upscaler-config.txt

https://github.com/Teriks/dgenerate/blob/v3.0.2/examples/config_directives/image_process/upscaler-config.txt

Latest Windows Installer:

https://github.com/Teriks/dgenerate/releases/tag/v3.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions