ImageGenerationCapabilities class
Image-generation support of the runtime, from
ImageGenerationEngine.checkRuntime, and of a loaded engine, from
ImageGenerationEngine.capabilities.
- Implemented types
Constructors
Properties
- backendName → String?
-
Device the engine runs on, such as
MTL0,Vulkan0orCPU. ForImageGenerationEngine.checkRuntime, the deviceComputeDevice.autowould pick.final -
deviceNames
→ List<
String> -
Every device the runtime reports, such as
MTL0,BLASandCPU.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isSupported → bool
-
Whether images can be generated.
final
- maxConcurrentTasks → int
-
Maximum concurrent generations: one per process.
final
- modelVersion → String?
-
Model family the runtime detected, such as
SD 2.x;nullbefore a model is loaded.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeVersion → String?
-
stable-diffusion.cpp version of the bundled runtime.
final
- supportsCancellation → bool
-
Whether a running generation can be cancelled.
final
- unsupportedReason → String?
-
Actionable reason when isSupported is false.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited