Skip to main content

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.1.2</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 Python Pulumi project, install pulumi-html-css-to-image and configure your credentials:

pulumi config set html-css-to-image:apiId YOUR_API_ID
pulumi config set --secret html-css-to-image:apiKey

Add this to __main__.py:

import pulumi
import pulumi_html_css_to_image as hcti

card = hcti.ImageHtmlCss(
    "card",
    html="<h1>Hello from Pulumi</h1>",
    css="h1 { font-family: Inter; padding: 48px; }",
    google_fonts=["Inter"],
)

pulumi.export("imageUrl", card.image_url)

Run pulumi preview and pulumi up. Open the returned URL to render the image. Creation and refresh read/save 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

Release files for pulumi-html-css-to-image 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumi-html-css-to-image 0.1.2
File Size Uploaded
pulumi_html_css_to_image-0.1.2.tar.gz 63.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pulumi-html-css-to-image 0.1.2
File Interpreter ABI Platform
pulumi_html_css_to_image-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 137.1 kB

Release files / pulumi_html_css_to_image-0.1.2.tar.gz

Download URL pulumi_html_css_to_image-0.1.2.tar.gz
Size 63.4 kB
Tags Source
SHA-256 checksum
How to use checksums
62be5fa900e7f6554cc0085955bdbb1060f22d2e38f0443583fd8fd87142ef91
BLAKE2b-256 checksum
How to use checksums
ae1918901b10663771735561ef1605966c4431ff5958442a16555415bfb72e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / pulumi_html_css_to_image-0.1.2-py3-none-any.whl

Download URL pulumi_html_css_to_image-0.1.2-py3-none-any.whl
Size 73.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a393356f49eb3f2a1523b0d3afdd865ed8ab715210e2b7a76313328d19ed582
BLAKE2b-256 checksum
How to use checksums
f1bc07450ff3cfa9df36954eac7dca11b310eeda2daaece527bf6561b9de9da5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page