Text-to-Image
Text-to-Image is the most common use case of any diffusion models on Automatic 1111. You can very easily generate images using text prompts using Auto 1111 SDK in the following way:
Load a .safetensors weights file or .checkpoint (ckpt) file and initialize a StableDiffusionPipeline.
Pass a prompt to the pipeline to generate an image:
The output type will be a list of Image PIL objects. By default, the pipeline will generate 1 image, however, you can specify this in the list of parameters:
Parameters:
Currently, Auto 1111 SDK supports the following parameters (and the corresponding default values):
To view a list of all the different types of samplers, read this: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/4384.
Last updated