Plugin.Maui.Spine.Server.AI.Assets 0.1.26

There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.Maui.Spine.Server.AI.Assets --version 0.1.26
                    
NuGet\Install-Package Plugin.Maui.Spine.Server.AI.Assets -Version 0.1.26
                    
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="Plugin.Maui.Spine.Server.AI.Assets" Version="0.1.26" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.Spine.Server.AI.Assets" Version="0.1.26" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.Spine.Server.AI.Assets" />
                    
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 Plugin.Maui.Spine.Server.AI.Assets --version 0.1.26
                    
#r "nuget: Plugin.Maui.Spine.Server.AI.Assets, 0.1.26"
                    
#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 Plugin.Maui.Spine.Server.AI.Assets@0.1.26
                    
#: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=Plugin.Maui.Spine.Server.AI.Assets&version=0.1.26
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.Spine.Server.AI.Assets&version=0.1.26
                    
Install as a Cake Tool

Plugin.Maui.Spine.Server.AI.Assets

Generated images for a Spine server, made once and served from blob storage. A lookup answers with the image's URL, or orders the image and answers 202. A Spine messaging handler makes it through a metered, budgeted Plugin.Maui.Spine.Server.AI image feature, runs the app's check, and archives it under a versioned path. A version bump remakes images lazily, and failures are visible to the app.

dotnet add package Plugin.Maui.Spine.Server.AI.Assets
builder.Services.AddSpineAI(cfg.GetSection("Ai"), ai => ai.Image("openai", (p, model) => new OpenAIClient(p["ApiKey"]).GetImageClient(model).AsIImageGenerator()).UseInMemoryUsageStore());
builder.Services.AddSpineMessaging(m => m.UseAzureStorage().AddGeneratedAssets());
builder.Services.AddSpineAIAssets(cfg.GetSection("Ai"), assets =>
{
    assets.Asset<string, PostcardPrompt>("Postcard").Check<PostcardCheck>();
    assets.UseAzureBlobStore();
});
builder.Services.AddSpineMessagePump(GeneratedAssetMessagingExtensions.DefaultSubscriber);

app.MapSpineAIAssets();   // GET /ai/assets/{feature}/{key}: 200 ready, 202 pending, 502 failed
"Ai": { "Features": { "Postcard": {
  "Kind": "Image", "Provider": "openai", "Model": "gpt-image-1-mini",
  "Asset": { "Version": 1, "Expose": true, "OrdersPerMinute": { "Installation": 5 } }
} } }

IGeneratedAssetPrompt<TKey> says which keys exist and builds the request, and an optional IGeneratedAssetCheck<TKey> refuses images that are not right. Spine never sees the data behind a key.

Documentation: Generated assets.

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.

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.261202.1700 90 12/2/2026
0.261201.1698 85 12/1/2026
0.261130.1690 102 11/30/2026
0.261130.1688 91 11/30/2026
0.261129.1684 108 11/29/2026
0.261129.1682 99 11/29/2026
0.261127.1680 110 11/27/2026
0.261127.1678 100 11/27/2026
0.261127.1676 96 11/27/2026
0.261127.1674 103 11/27/2026
0.261126.1664 107 11/26/2026
0.261126.1655 100 11/26/2026
0.261125.1651 96 11/25/2026
0.261125.1646 101 11/25/2026
0.261125.1644 98 11/25/2026
0.261124.1637 102 11/24/2026
0.261123.1633 97 11/23/2026
0.261123.1631 94 11/23/2026
0.261123.1629 94 11/23/2026
0.1.26 115 10/24/2026
Loading failed