Skip to content
Maua.Culturewire

HTML/CSS to Image

Images from HTML, CSS, a URL or templates

DesignCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • User IDRequired
    • API keySecretRequired

    Where to find them

    1. Create an account at htmlcsstoimage.com (it includes 50 free images per month).
    2. In the dashboard copy the “User ID” and the “API Key”.

    Get credentials (opens in a new tab)

Tools (1)

  • HTML/CSS to Image API requestHTMLCSSTOIMAGE_SEND_REQUEST

    Authenticated call to the HTML/CSS to Image API (https://hcti.io/v1). Any endpoint of the API is allowed. Examples: POST /image {"html": "<h1>…</h1>", "css": "h1 { color: #2563eb }", "google_fonts": "Roboto"}, POST /image {"url": "https://…", "selector": "#card"}, POST /image/batch {…}, DELETE /image/{id}.

    Required scopes

    No scopes required

    Input

    HTML/CSS to Image API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.