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

For Java, add this Maven dependency:

<dependency>
  <groupId>com.htmlcsstoimage</groupId>
  <artifactId>pulumi</artifactId>
  <version>0.1.1</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.1

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.1
File Size Uploaded
pulumi_html_css_to_image-0.1.1.tar.gz 63.4 kB Details

Built distribution (wheel)

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

Total release size: 137.1 kB

Release files / pulumi_html_css_to_image-0.1.1.tar.gz

Download URL pulumi_html_css_to_image-0.1.1.tar.gz
Size 63.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a96530e779f21dea16b96b11c84180f31de26403587d411c2a8aacc6c6a85750
BLAKE2b-256 checksum
How to use checksums
0ef370139e449aad7a1f1552cf01b89b32c3312b2adaa3605d46c3672f797faa
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.1-py3-none-any.whl

Download URL pulumi_html_css_to_image-0.1.1-py3-none-any.whl
Size 73.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bf9bc8abc0935dc18b2d0cb52fd22a44baa9ce1fa06e2c891744ff2fdebbc4e
BLAKE2b-256 checksum
How to use checksums
3e38866aaea4a4feb231d5a1e5b04fdfd90603e9d59b45df27dc9a69cf44c24d
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

0.1.2

2 release files

This release

0.1.1 This release

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