Download the PHP package andrey-helldar/easy-diffusion-ui-samplers-generator without Composer

On this page you can find all versions of the php package andrey-helldar/easy-diffusion-ui-samplers-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package easy-diffusion-ui-samplers-generator

Easy Diffusion UI: Samplers Generator

andrey helldar SD: samplers generator

Installation

First you need to download and run Easy Diffusion.

Next, make sure you have Composer, PHP 8.1 or higher and Git installed on your computer.

Next, you may create a new Samplers Generator project via the Composer create-project command:

Or you can download this repository:

Next, go to the project folder and install the dependencies:

Configuration

The project has few static settings - these are the number of steps for generating images and sizes.

Configuration files are located in the config folder.

Usage

First you need to run the neural network python script See more: https://github.com/cmdr2/stable-diffusion-ui/wiki/How-to-Use

Sampler generation for all available models

To do this, you need to call the bin/sampler models console command, passing it the required parameter --prompt.

For example:

If you want to generate a sampler table for a previously generated image, then you need to also pass the --seed parameter with this value when invoking the console command.

For example:

Available options

Sampler generation for one model

To do this, you need to call the bin/sampler model console command, passing it the required parameters --prompt and --model.

For example:

If you want to generate a sampler table for a previously generated image, then you need to also pass the --seed parameter with this value when invoking the console command.

For example:

Available options

Sampler generation for all models based on configuration files

You can also copy configurations from the Stable Diffusion UI web interface to the clipboard, after which, using any file editor, you can save these configurations to any folder on your computer.

After you save as many configuration files as you need in a folder, you can call the bin/samplers settings --path command, passing it the path to that folder:

When the command is run, the script will find all json files in the root of the specified folder (without recursive search), check them for correct filling (incorrect files will be skipped, there will be no errors), and start generating samplers for all models available to the neural network for each of the files.

The sampler table will be generated by the Seed ID taken from the configuration file.

For example, output info:

The target folder will contain the collected sampler files (jpeg or png), as well as a set of configurations for them.

For example:

Available options

Example

Source

Sampler

Config

The last used configuration for the model is saved to the file

FAQ

Q: Why is it not written in python?

A: I was interested in writing a pet project in one evening and I don't know python 😁


Q: What models do you use?

A: For various purposes, I use the following models:

License

This package is licensed under the MIT License.


All versions of easy-diffusion-ui-samplers-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-imagick Version *
ext-json Version *
archtechx/enums Version ^0.3.1
dragon-code/simple-dto Version ^2.7
dragon-code/support Version ^6.8
guzzlehttp/guzzle Version ^7.5
illuminate/console Version ^9.45
intervention/image Version ^2.7
nesbot/carbon Version ^2.64
symfony/console Version ^6.2
symfony/dom-crawler Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andrey-helldar/easy-diffusion-ui-samplers-generator contains the following files

Loading the files please wait ....