Viewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
HTML/CSS to Image
I want to use the Pulumi HTML/CSS to Image package (html-css-to-image) in my project.
## Provider details
- Package: html-css-to-image
- Version: v0.2.0
- Publisher: htmlcsstoimage
- Source: pulumi
- Repository: https://github.com/htmlcsstoimage/pulumi-html-css-to-image
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/htmlcsstoimage/html-css-to-image/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/htmlcsstoimage/html-css-to-image/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/htmlcsstoimage/html-css-to-image/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/htmlcsstoimage/html-css-to-image/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, yaml, or hcl.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
HTML/CSS to ImageViewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
The HTML/CSS to Image provider for Pulumi manages HTML/CSS to Image images, reusable templates, API keys, storage destinations, proxies, and Open Graph configurations alongside your application’s infrastructure.
Installation
npm install @html-css-to-image/pulumi
pip install pulumi-html-css-to-image
go get github.com/htmlcsstoimage/pulumi-html-css-to-image/sdk/go
dotnet add package HtmlCssToImage.Pulumi
Maven:
<dependency>
<groupId>com.htmlcsstoimage</groupId>
<artifactId>pulumi</artifactId>
<version>0.2.0</version>
</dependency>
Gradle:
implementation 'com.htmlcsstoimage:pulumi:0.2.0'
pulumi package add html-css-to-image
The SDK or package installation downloads the matching provider plugin automatically.
Example Usage
Set your organization credentials in your Pulumi project:
pulumi config set html-css-to-image:apiId YOUR_API_ID
pulumi config set --secret html-css-to-image:apiKey YOUR_API_KEY
import * as hcti from "@html-css-to-image/pulumi";
const card = new hcti.ImageHtmlCss("card", {
html: "<h1>Hello from Pulumi</h1>",
});
export const imageUrl = card.imageUrl;
import pulumi
import pulumi_html_css_to_image as hcti
card = hcti.ImageHtmlCss("card", html="<h1>Hello from Pulumi</h1>")
pulumi.export("imageUrl", card.image_url)
package main
import (
hcti "github.com/htmlcsstoimage/pulumi-html-css-to-image/sdk/go"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
card, err := hcti.NewImageHtmlCss(ctx, "card", &hcti.ImageHtmlCssArgs{
Html: pulumi.String("<h1>Hello from Pulumi</h1>"),
})
if err != nil {
return err
}
ctx.Export("imageUrl", card.ImageUrl)
return nil
})
}
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 };
});
import com.htmlcsstoimage.pulumi.ImageHtmlCss;
import com.htmlcsstoimage.pulumi.ImageHtmlCssArgs;
import com.pulumi.Pulumi;
public class App {
public static void main(String[] args) {
Pulumi.run(ctx -> {
var card = new ImageHtmlCss("card", ImageHtmlCssArgs.builder()
.html("<h1>Hello from Pulumi</h1>")
.build());
ctx.export("imageUrl", card.imageUrl());
});
}
}
name: hcti-image
runtime: yaml
resources:
card:
type: html-css-to-image:index:ImageHtmlCss
properties:
html: '<h1>Hello from Pulumi</h1>'
outputs:
imageUrl: ${card.imageUrl}
Run pulumi up, then open the returned URL to render the image. Creation saves an image definition; changes to image inputs replace that definition.
Configuration
| Name | Required? | Secret? | Description |
|---|---|---|---|
apiId | Yes, through configuration or environment | No | Your organization API ID. Falls back to HCTI_API_ID. |
apiKey | Yes, through configuration or environment | Yes | API key with permissions to manage your stack’s resources. Falls back to HCTI_API_KEY. |
baseUrl | No | No | API origin, including scheme; defaults to https://hcti.io. |
Further reading
HTML/CSS to ImageViewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage