BlackForestLabs 0.0.0-dev.44

This is a prerelease version of BlackForestLabs.
dotnet add package BlackForestLabs --version 0.0.0-dev.44
                    
NuGet\Install-Package BlackForestLabs -Version 0.0.0-dev.44
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlackForestLabs" Version="0.0.0-dev.44" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlackForestLabs" Version="0.0.0-dev.44" />
                    
Directory.Packages.props
<PackageReference Include="BlackForestLabs" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlackForestLabs --version 0.0.0-dev.44
                    
#r "nuget: BlackForestLabs, 0.0.0-dev.44"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BlackForestLabs@0.0.0-dev.44
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlackForestLabs&version=0.0.0-dev.44&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BlackForestLabs&version=0.0.0-dev.44&prerelease
                    
Install as a Cake Tool

BlackForestLabs

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official BlackForestLabs OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0

Usage

using BlackForestLabs;

using var client = new BlackForestLabsClient(apiKey);

Get Credits

Basic example showing how to create a client and check your credits balance.

using var client = new BlackForestLabsClient(apiKey);

// Check your remaining credits balance.
var response = await client.GetCreditsV1CreditsGetAsync();

Image Generation

Generate an image using FLUX Pro 1.1 and poll for the result.

using var client = new BlackForestLabsClient(apiKey);

// Submit an image generation request using FLUX Pro 1.1.
var response = await client.Models.FluxPro11V1FluxPro11PostAsync(
    prompt: "A serene mountain landscape at sunset",
    width: 1024,
    height: 768);

// The API returns a task ID. Poll for the result using GetResult.
var asyncResponse = response.Value1;
if (asyncResponse is not null)
{
    var result = await client.Utility.GetResultV1GetResultGetAsync(
        id: asyncResponse.Id);

}

Support

Priority place for bugs: https://github.com/tryAGI/BlackForestLabs/issues
Priority place for ideas and general questions: https://github.com/tryAGI/BlackForestLabs/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0-dev.44 44 5/21/2026
0.0.0-dev.42 54 5/20/2026
0.0.0-dev.23 71 4/1/2026
0.0.0-dev.22 61 3/29/2026
0.0.0-dev.19 98 3/28/2026
0.0.0-dev.18 124 3/28/2026
0.0.0-dev.16 62 3/28/2026
0.0.0-dev.15 61 3/28/2026
0.0.0-dev.13 60 3/27/2026
0.0.0-dev.9 52 3/27/2026
0.0.0-dev.4 58 3/20/2026
0.0.0-dev.3 55 3/20/2026
0.0.0-dev.1 51 3/20/2026
0.0.0-dev 54 3/20/2026