public static abstract class
ImageGenerator.ImageGeneratorOptions.Builder
Builder for ImageGenerator.ImageGeneratorOptions
.
Public Constructors
Builder()
|
Public Methods
final ImageGenerator.ImageGeneratorOptions |
build()
Validates and builds the
ImageGenerator.ImageGeneratorOptions instance. |
abstract ImageGenerator.ImageGeneratorOptions.Builder | |
abstract ImageGenerator.ImageGeneratorOptions.Builder |
setImageGeneratorModelDirectory(String modelDirectory)
Sets the image generator model directory storing the model weights.
|
abstract ImageGenerator.ImageGeneratorOptions.Builder |
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public final ImageGenerator.ImageGeneratorOptions build ()
Validates and builds the ImageGenerator.ImageGeneratorOptions
instance.
public abstract ImageGenerator.ImageGeneratorOptions.Builder setErrorListener (ErrorListener value)
Sets an optional ErrorListener
}.
Parameters
value |
---|
public abstract ImageGenerator.ImageGeneratorOptions.Builder setImageGeneratorModelDirectory (String modelDirectory)
Sets the image generator model directory storing the model weights.
Parameters
modelDirectory |
---|
public abstract ImageGenerator.ImageGeneratorOptions.Builder setLoraWeightsFilePath (String loraWeightsFilePath)
Sets the path to LoRA weights file.
Parameters
loraWeightsFilePath |
---|