Module api

Module api 

Source
Expand description

Safer wrapper around stable-diffusion.cpp bindings

Structs§

Config
Config struct common to all diffusion methods
ConfigBuilder
Builder for Config.
DbCacheParams
Parameters for Db Cache
DbCacheParamsBuilder
Builder for DbCacheParams.
EasyCacheParams
Parameters for Easy Cache
EasyCacheParamsBuilder
Builder for EasyCacheParams.
LoraSpec
Specify the instructions for a Lora model
ModelConfig
Config struct for a specific diffusion model
ModelConfigBuilder
Builder for ModelConfig.
UCacheParams
Parameters for UCache
UCacheParamsBuilder
Builder for UCacheParams.

Enums§

ClipSkip
Ignore the lower X layers of CLIP network
ConfigBuilderError
Error type for ConfigBuilder
DbCacheParamsBuilderError
Error type for DbCacheParamsBuilder
DiffusionError
Error that can occurs while forwarding models
EasyCacheParamsBuilderError
Error type for EasyCacheParamsBuilder
LoraModeType
Lora mode
Prediction
Prediction override
PreviewType
Preview mode
RngFunction
Specify the range function
SampleMethod
Sampling methods
Scheduler
Denoiser sigma schedule
ScmPolicy
Steps Computation Mask Policy controls when to cache steps
ScmPreset
Steps Computation Mask Preset controls which steps can be cached
UCacheParamsBuilderError
Error type for UCacheParamsBuilder
WeightType
Weight type

Functions§

gen_img
Generate an image with a prompt