Expand description
Safer wrapper around stable-diffusion.cpp bindings
Structs§
- Config
- Config struct common to all diffusion methods
- Config
Builder - Builder for
Config. - DbCache
Params - Parameters for Db Cache
- DbCache
Params Builder - Builder for
DbCacheParams. - Easy
Cache Params - Parameters for Easy Cache
- Easy
Cache Params Builder - Builder for
EasyCacheParams. - Lora
Spec - Specify the instructions for a Lora model
- Model
Config - Config struct for a specific diffusion model
- Model
Config Builder - Builder for
ModelConfig. - UCache
Params - Parameters for UCache
- UCache
Params Builder - Builder for
UCacheParams.
Enums§
- Clip
Skip - Ignore the lower X layers of CLIP network
- Config
Builder Error - Error type for ConfigBuilder
- DbCache
Params Builder Error - Error type for DbCacheParamsBuilder
- Diffusion
Error - Error that can occurs while forwarding models
- Easy
Cache Params Builder Error - Error type for EasyCacheParamsBuilder
- Lora
Mode Type - Lora mode
- Prediction
- Prediction override
- Preview
Type - Preview mode
- RngFunction
- Specify the range function
- Sample
Method - 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
- UCache
Params Builder Error - Error type for UCacheParamsBuilder
- Weight
Type - Weight type
Functions§
- gen_img
- Generate an image with a prompt