Get the current command flags.
Reference: get_cmd_flags
Current command flags
Create embedding from options.
Reference: create_embedding
Options for creating an embedding
Create HyperNetwork from options.
Reference: create_hypernetwork
Options for creating a HyperNetwork
Information about the HyperNetwork
Get all installed extensions.
Reference: get_extensions_list
All installed extensions
Generate extra images from multiple images.
Reference: extras_batch_images_api
Options for generating extra images from multiple images
Generated images as base64 strings
Generate extra images from a single image.
Reference: extras_single_image_api
Options for generating extra images from a single image
Generated images as base64 strings
Get all available face restorers.
Reference: get_face_restorers
All available face restorers
Get all available hyper networks.
Reference: get_hypernetworks
All available hyper networks
Generate images from images.
Reference: img2imgapi
Options for generating images from images
List of base64 encoded images
Generated images as base64 strings
Interrogating an image.
Reference: interrogateapi
Options for interrogating the current task
Interrupt the current task.
Reference: interruptapi
Information about the interruption
Get all available latent upscale modes.
Reference: get_latent_upscale_modes
All available latent upscale modes
Get the current memory usage.
Reference: get_memory
Current memory usage
Get the current options or set the options.
Reference: get_config, set_config
Optional
options: TOptions to set
Current options
Get information about a PNG image.
Reference: pnginfoapi
Optional
image: TBase64 encoded PNG image
Information about the PNG image
Get the progress of the current task.
Reference: progressapi
Progress of the current task
Get all available prompt styles.
Reference: get_prompt_styles
All available prompt styles
Get all available RealESRGAN models.
Reference: get_realesrgan_models
All available RealESRGAN models
Refresh checkpoints.
Reference: refresh_checkpoints
Information about the refresh
Refresh embeddings.
Reference: refresh_embeddings
Information about the refresh
Refresh VAE.
Reference: refresh_vae
Information about the refresh
Reload the current checkpoint.
Reference: reloadapi
Information about the reloading
Get all available samplers.
Reference: get_samplers
All available samplers
Get all available schedulers.
Reference: get_schedulers
All available schedulers
Get all available script info.
Reference: get_script_info
All available script info
Get all available scripts.
Reference: get_scripts_list
All available scripts
Get all available SD models.
Reference: get_sd_models
All available SD models
Get all available SD VAEs.
Reference: get_sd_vaes
All available SD VAEs
Options to set
Current options
Skip the current task.
Reference: skipapi
Information about the skipped task
Train embedding from options.
Reference: train_embedding
Options for training an embedding
Information about the training
Train HyperNetwork from options.
Reference: train_hypernetwork
Options for training a HyperNetwork
Information about the training
Generate images from text.
Reference: text2imgapi
Options for generating images from text
Generated images as base64 strings
Unload the current checkpoint.
Reference: unloadapi
Information about the unloading
Get all available upscalers.
Reference: get_upscalers
All available upscalers
The
SDWebUIApi
class provides methods to interact with the AUTOMATIC1111 Stable Diffusion Web UI API. It extends theShared
class and includes various methods to generate images, retrieve information, and manage options and configurations.Each method corresponds to a specific API endpoint and provides a convenient way to interact with the AUTOMATIC1111 Stable Diffusion Web UI functionalities.