Plugin.Maui.Spine.Server.AI.Assets 0.261201.1698

dotnet add package Plugin.Maui.Spine.Server.AI.Assets --version 0.261201.1698
                    
NuGet\Install-Package Plugin.Maui.Spine.Server.AI.Assets -Version 0.261201.1698
                    
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.261201.1698" />
                    
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.261201.1698" />
                    
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.261201.1698
                    
#r "nuget: Plugin.Maui.Spine.Server.AI.Assets, 0.261201.1698"
                    
#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.261201.1698
                    
#: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.261201.1698
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.Spine.Server.AI.Assets&version=0.261201.1698
                    
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.261201.1698 0 12/1/2026
0.261130.1690 37 11/30/2026
0.261130.1688 32 11/30/2026
0.261129.1684 61 11/29/2026
0.261129.1682 54 11/29/2026
0.261127.1680 59 11/27/2026
0.261127.1678 55 11/27/2026
0.261127.1676 52 11/27/2026
0.261127.1674 59 11/27/2026
0.261126.1664 85 11/26/2026
0.261126.1655 76 11/26/2026
0.261125.1651 83 11/25/2026
0.261125.1646 89 11/25/2026
0.261125.1644 84 11/25/2026
0.261124.1637 86 11/24/2026
0.261123.1633 93 11/23/2026
0.261123.1631 88 11/23/2026
0.261123.1629 90 11/23/2026
0.261123.1627 92 11/23/2026
0.261123.1625 97 11/23/2026
Loading failed