Pixault.Client 1.2.0

dotnet add package Pixault.Client --version 1.2.0
                    
NuGet\Install-Package Pixault.Client -Version 1.2.0
                    
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="Pixault.Client" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pixault.Client" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Pixault.Client" />
                    
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 Pixault.Client --version 1.2.0
                    
#r "nuget: Pixault.Client, 1.2.0"
                    
#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 Pixault.Client@1.2.0
                    
#: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=Pixault.Client&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Pixault.Client&version=1.2.0
                    
Install as a Cake Tool

Pixault.Client

.NET SDK for the Pixault image processing CDN and API.

Features

  • Fluent URL builder — generate optimized image URLs with transforms (width, height, fit, format, watermark, etc.)
  • Upload client — upload images and videos with folder support
  • Admin client — manage images, folders, and metadata
  • ASP.NET Core integrationAddPixault() DI extension for seamless setup

Installation

dotnet add package Pixault.Client

Quick Start

Register services

builder.Services.AddPixault(options =>
{
    options.BaseUrl = "https://img.pixault.io";
    options.Project = "my-project";
    options.ApiKey = builder.Configuration["Pixault:ApiKey"];
});

Build image URLs

@inject PixaultImageService ImageService

var url = ImageService.For("my-project", "image-id")
    .Width(800)
    .Height(600)
    .Fit(FitMode.Cover)
    .Format("webp")
    .Build();

Upload an image

@inject PixaultUploadClient UploadClient

using var stream = File.OpenRead("photo.jpg");
var result = await UploadClient.UploadAsync("my-project", "photo.jpg", stream, "image/jpeg");
Console.WriteLine(result.ImageId);

Configuration

Option Description Default
BaseUrl Pixault CDN base URL https://img.pixault.io
Project Default project identifier
ApiKey API key for authenticated operations
HmacSecret HMAC secret for signed URLs

License

MIT

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 (1)

Showing the top 1 NuGet packages that depend on Pixault.Client:

Package Downloads
Pixault.Blazor

Blazor components for the Pixault image CDN. Drop-in uploader, gallery, image detail, transform manager, and plugin marketplace.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 90 3/18/2026
1.1.2 117 3/17/2026
1.1.1 85 3/12/2026
1.1.0 81 3/12/2026
1.0.0 130 3/12/2026