Hermoso.Sdk 0.1.5

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

Hermoso.Sdk (.NET)

The typed .NET client for the Hermoso API: generate image and video ads, publish and schedule posts to your own channels, read your analytics, and call any of Hermoso's tools from your own backend.

dotnet add package Hermoso.Sdk

.NET 8+. Create an API key at app.hermoso.ai on the API, MCP & CLI tab, under Terminal & API keys, and set it as HERMOSO_API_KEY. New accounts start free with no card.

Quickstart: make an image ad, wait for it, schedule it

using Hermoso.Sdk;
using Hermoso.Sdk.Generated.Models;

var hermoso = HermosoClient.Create(); // reads HERMOSO_API_KEY
var started = await hermoso.RunToolAsync("generate_image", new() {
    ["prompt"] = "Summer ad for our cold brew, headline \"Cold. Brewed. Yours.\"", ["job"] = "static_ad", ["aspectRatio"] = "4:5" }, wait: 0);
var job = await hermoso.WaitForJobAsync(started.Job!.JobId!);
var post = await hermoso.Api.V1.Posts.PostAsync(new PostCreate {
    Channels = ["instagram", "facebook"], Caption = "Cold. Brewed. Yours.",
    Media = [job.Url!], ScheduledAt = DateTimeOffset.Parse("2026-12-01T15:00:00Z"),
}, c => c.Headers.Add("Idempotency-Key", Guid.NewGuid().ToString()));
Console.WriteLine($"{post!.Id} {post.Status}");

RunToolAsync reaches every Hermoso tool (render_ad for video ads, plan_ad, competitor research, the ad platforms); hermoso.Api.V1.Tools[name].GetAsync() describes each tool's arguments. Rendering costs credits; polling a job and publishing are free. Omit ScheduledAt to publish now.

The helpers

Helper What it does
HermosoClient.Create(apiKey, brand, baseUrl) A client with your key; brand acts on one brand of an account that holds several.
hermoso.Api The generated, fluent client: Api.V1.Credits.GetAsync(), Api.V1.Jobs[id].GetAsync(), Api.V1.Analytics.BestTime.GetAsync(…).
hermoso.PaginateAsync<PostList, Post>(cursor => …) An IAsyncEnumerable over every item of a list, following next_cursor.
hermoso.WaitForJobAsync(id) Polls a render until it is done or error.
hermoso.RunToolAsync(name, args, wait: 0) Calls any tool; Result when it finished, Job when it queued a render.

Generated operations throw the API's typed Error (an ApiException); the helpers throw HermosoException with Code and Status. Query parameters are properties (c.QueryParameters.Status = "published"), so a parameter the API adds later never breaks a call site.

Docs: hermoso.ai/docs/sdks · OpenAPI: app.hermoso.ai/openapi.json. MIT licensed. Generated with Kiota; Generated/ is regenerated, never edited by hand.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.1.5 0 11/24/2026
0.1.4 48 11/24/2026