Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

StableDiffusionCppModelResource

Handle
📦 CommunityToolkit.Aspire.Hosting.StableDiffusionCpp v13.6.1

Represents a model hosted by stable-diffusion.cpp and downloaded from Hugging Face.

type StableDiffusionCppModelResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the ConnectionStringExpression property
ConnectionStringExpression() *ReferenceExpression
propertyFileNamestringget
Gets the model file path inside the Hugging Face repository.
FileName() (string, error)
propertyParentStableDiffusionCppResourceget
Gets the parent stable-diffusion.cpp server.
Parent() StableDiffusionCppResource
propertyRepositorystringget
Gets the Hugging Face repository identifier.
Repository() (string, error)
propertyRevisionstringget
Gets the Hugging Face revision.
Revision() (string, error)