Skip to content
DocsTry Aspire
DocsTry

StableDiffusionCppModelResource Properties

ClassProperties5 members
Represents a model hosted by stable-diffusion.cpp and downloaded from Hugging Face.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Describes the connection string format string used for this resource.
public ReferenceExpression ConnectionStringExpression { get; }
Gets the model file path inside the Hugging Face repository.
public string FileName { get; }
Gets the parent stable-diffusion.cpp server.
public StableDiffusionCppResource Parent { get; }
Gets the Hugging Face repository identifier.
public string Repository { get; }
Gets the Hugging Face revision.
public string Revision { get; }