HtmlCssToImage.Pulumi 0.3.0

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

HTML/CSS to Image Pulumi provider

Manage HTML/CSS to Image resources with TypeScript, Python, Go, C#, Java, or Pulumi YAML.

Website · Documentation · Management API · API reference

Create images and reusable templates alongside application API keys, proxies, storage destinations, and Open Graph configurations. The provider shares its implementation with the Terraform provider.

Installation

Install the SDK for your Pulumi project's language:

Language Install
TypeScript / JavaScript npm install @html-css-to-image/pulumi
Python pip install pulumi-html-css-to-image
Go go get github.com/htmlcsstoimage/pulumi-html-css-to-image/sdk/go
C# / .NET dotnet add package HtmlCssToImage.Pulumi

For Java, add this Maven dependency:

<dependency>
  <groupId>com.htmlcsstoimage</groupId>
  <artifactId>pulumi</artifactId>
  <version>0.3.0</version>
</dependency>

The SDK automatically downloads the matching provider plugin from GitHub Releases. YAML programs select the plugin directly, as shown below.

Example

In a Pulumi project for your language, install the SDK and configure credentials:

pulumi config set html-css-to-image:apiId YOUR_API_ID
pulumi config set --secret html-css-to-image:apiKey
using System.Collections.Generic;
using Pulumi;
using Hcti = Pulumi.HtmlCssToImage;

return await Deployment.RunAsync(() =>
{
    var card = new Hcti.ImageHtmlCss("card", new Hcti.ImageHtmlCssArgs
    {
        Html = "<h1>Hello from Pulumi</h1>",
    });
    return new Dictionary<string, object?> { ["imageUrl"] = card.ImageUrl };
});

Run pulumi preview and pulumi up. Open the returned URL to render the image. Creation and refresh save/read metadata without rendering bytes. Input changes replace image definitions; template edits create new versions under a stable ID.

Configuration

Setting Environment fallback Description
html-css-to-image:apiId HCTI_API_ID API ID for your organization.
html-css-to-image:apiKey HCTI_API_KEY API key; use pulumi config set --secret when storing it in stack configuration.
html-css-to-image:baseUrl None Optional API origin; defaults to https://hcti.io.

The key needs the read/write/delete permissions for the resources you manage. Credentials and headers retain Pulumi secret markings. Version identifiers are decimal strings to preserve all int64 digits. Requests identify themselves with HCTIGo/<sdk-version> HCTIPulumi/<provider-version>.

Resources and lookups

See examples for complete YAML programs. In .NET, the API key secret is ApiKey.Value and the URL image operation URL is ImageUrl.RenderingUrl to avoid member/type name collisions.

Contributing

See development and releasing. API lifecycle behavior belongs in the Terraform provider; this repository maintains the bridge, exact version conversions, SDK metadata, and Pulumi examples.


HTML/CSS to Image · Documentation · Management API · Pulumi provider repository · Report an issue

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.3.0 73 11/4/2026
0.2.0 106 9/29/2026
0.1.2 109 9/17/2026