# StableDiffusionCppModelResource

- Module: [CommunityToolkit.Aspire.Hosting.StableDiffusionCpp](/reference/api/go/communitytoolkit.aspire.hosting.stablediffusioncpp.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

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

## Definition

```go
type StableDiffusionCppModelResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithParent
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithParent`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the ConnectionStringExpression property
- `FileName`: `string` `get` -- Gets the model file path inside the Hugging Face repository.
- `Parent`: [`StableDiffusionCppResource`](/reference/api/go/communitytoolkit.aspire.hosting.stablediffusioncpp/stablediffusioncppresource.md) `get` -- Gets the parent stable-diffusion.cpp server.
- `Repository`: `string` `get` -- Gets the Hugging Face repository identifier.
- `Revision`: `string` `get` -- Gets the Hugging Face revision.
