# BlackForestLabs Fields

- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Type: [BlackForestLabs](/reference/api/csharp/aspire.hosting.foundry/blackforestlabs.md)
- Kind: `Fields`
- Members: `4`

Models published by Black Forest Labs.

## Flux11Pro

- Name: `Flux11Pro`
- Modifiers: `static` `readonly`
- Returns: [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.Generated.cs)

Generate images with amazing image quality, prompt adherence, and diversity at blazing fast speeds. FLUX1.1 [pro] delivers six times faster image generation and achieved the highest Elo score on Artificial Analysis benchmarks when launched, surpassing all

```csharp
public static readonly FoundryModel Flux11Pro
```

## Flux1KontextPro

- Name: `Flux1KontextPro`
- Modifiers: `static` `readonly`
- Returns: [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.Generated.cs)

Generate and edit images through both text and image prompts. FLUX.1 Kontext is a multimodal flow matching model that enables both text-to-image generation and in-context image editing. Modify images while maintaining character consistency and performing l

```csharp
public static readonly FoundryModel Flux1KontextPro
```

## Flux2Flex

- Name: `Flux2Flex`
- Modifiers: `static` `readonly`
- Returns: [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.Generated.cs)

Professional text-to-image generation with adjustable inference steps and guidance scale for fine-tuned control. Features superior typography and text rendering, supports up to 4MP resolution, 32K prompt tokens, and up to 8 reference images. Ideal for deve

```csharp
public static readonly FoundryModel Flux2Flex
```

## Flux2Pro

- Name: `Flux2Pro`
- Modifiers: `static` `readonly`
- Returns: [FoundryModel](/reference/api/csharp/aspire.hosting.foundry/foundrymodel.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryModel.Generated.cs)

Generate and edit images through both text and image prompts. FLUX.2-pro is a multimodal flow matching model that enables both text-to-image generation and in-context image editing. Modify images while maintaining character consistency and performing local

```csharp
public static readonly FoundryModel Flux2Pro
```
