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.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 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

Metadata

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

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.3.0
File Size Uploaded Provenance Actions
pulumi_html_css_to_image-0.3.0.tar.gz 71.1 kB With provenance Details for pulumi_html_css_to_image-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 153.2 kB

Release files / pulumi_html_css_to_image-0.3.0.tar.gz

Download URL pulumi_html_css_to_image-0.3.0.tar.gz
Size 71.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0696d9b35e316e13378a73e706d84ca42d6b0d678f0c335d8ce23a57b3f3be00
BLAKE2b-256 checksum
How to use checksums
23d5b4d4483caf3dbdb0437c74de010209e02be1fe94eb9bde692903da2859c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL pulumi_html_css_to_image-0.3.0-py3-none-any.whl
Size 82.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8da2bdd07080c1bbc09a871ea950b94a5cbb1ddd5d6fae4a09e10310b3a6b72
BLAKE2b-256 checksum
How to use checksums
b9411f08c62e9fe91fc9d1ba1084a02f7ab57604f07ba79df517b01e32a4948d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Security for pulumi-html-css-to-image 0.3.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pulumi_html_css_to_image-0.3.0.tar.gz

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 Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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