Skip to main content
Glama

HTML/CSS to Image API

Server Details

Generate images and PDFs from HTML/CSS, live websites, and reusable templates.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
htmlcsstoimage/agent-plugins
GitHub Stars
7
ChatGPT
HTML/CSS to Image API
Claude
HTML/CSS to Image MCP

TDQS

A3.6/5.0

Scored across 49 tools

Disambiguation4/5

Tools are partitioned by resource family (images, templates, assets, recordings, OG configs, proxies, storage destinations, webhooks) and the five image-creation tools are explicitly cross-referenced in each description to steer selection. A few boundaries remain soft: create_image vs create_templated_image vs the batch variants, and asset upload tickets vs asset updates, require reading the description to separate.

Naming Consistency5/5

Uniform verb_noun snake_case across the entire set: create_/get_/list_/update_/delete_ prefixes applied consistently to every resource (asset, template, proxy, webhook, og_config, storage_destination, recording). Only oddity is the noun form difference between create_image/create_url_image and create_htmlcss_recording/create_url_recording, which is still predictable.

Tool Count3/5

49 tools is heavy, but the server exposes roughly ten distinct resource families, each with a full CRUD lifecycle, so most tools do earn their place. Still, the surface is near the upper bound where an agent must scan a large menu before acting, and the batch/max-batch-size helpers add marginal weight.

Completeness4/5

Coverage is strong: full CRUD for assets, templates (create/update/version list), OG configs, proxies, storage destinations, and webhooks, plus recording lifecycle and usage/capabilities introspection. Minor gaps exist — no delete_template or get_template-by-id (only list endpoints), and no accounting/organization tools beyond capabilities and check_usage.

Publisher details

Operator
HTML/CSS to Image API
Vendor relationship
First-party
Privacy policy
Not provided
Restrictions
No setup restrictions

Available Tools

49 tools
capabilitiesCapabilitiesA
Read-onlyIdempotent
Inspect

Returns the connected organization's effective plan, feature support, limits, and trial_status in item. Check supports_* before choosing features; these flags include active trial access. trial_status describes available, active, and expired feature trials. Direct users to https://htmlcsstoimage.com/dashboard/organization/trials to start available trials or review expired trials. Use check_usage to check remaining credit balances.

Inputs: no named parameters. Returns: item, error, success

check_usageCheck UsageA
Read-only
Inspect

Returns the connected organization's current credit usage for images and recordings in item: credits_used, credit_limit, overages_enabled, and next_reset. Both render types share the same credit allowance. Included credits remaining are max(0, credit_limit - credits_used); overages_enabled indicates whether usage beyond that allowance is permitted. The images_used and images_allowed fields are legacy aliases; use credits_used and credit_limit for new integrations.

Inputs: no named parameters. Returns: item, error, success

create_asset_upload_ticketA
Destructive
Inspect

Get a single-use URL to PUT raw file bytes. For a new asset, supply request.asset_path. To replace a file, pass its id and omit asset_path. Optional request.public_access_requested changes its public access. Complete the upload using an HTTP client with access to the file.

Inputs: request (required), id. Returns: item, error, success

create_batch_imagesCreate a batch of imagesA
Destructive
Inspect

Creates multiple image assets from shared default_options and individual variations. Keep the number of variations within max_batch_size from capabilities, or call get_max_batch_size if that limit is not already known; a limit of 0 requires individual image calls. Each variation overrides corresponding defaults. Returns per-image asset IDs, URLs, and format information in item. Use the individual creation tools when only one image or an inline preview is needed.

Inputs: variations (required), default_options. Returns: item, error, success

create_batch_templated_imagesCreate a batch of templated imagesA
DestructiveIdempotent
Inspect

Creates multiple images from one or more saved templates. Set template_id in default_options or each variation; resolve unknown IDs with list_templates. Keep variations within max_batch_size from capabilities, or call get_max_batch_size if that limit is not already known. Shared template_values merge recursively with each variation; arrays, scalars and explicit null replace defaults. Overriding a template_id resets the inherited version unless a version is also supplied. Identical images reuse existing assets. Returns IDs, URLs and format information in response order. Use create_templated_image for a single image or inline preview.

Inputs: variations (required), default_options. Returns: item, error, success

create_htmlcss_recordingCreate an HTML/CSS RecordingA
Destructive
Inspect

Creates a video or animated GIF from HTML, CSS, and JavaScript. MP4 and WebM can include a soundtrack from an audio asset ID or public audio URL. Returns id, status_url, and recording_url in item before capture completes. Use get_recording_status to check readiness.

Inputs: content (required). Returns: item, error, success

create_imageCreate an ImageA
Destructive
Inspect

Creates an image from supplied HTML and CSS. Use this for a single graphic, card, or document; use create_url_image to capture an existing web page, or create_template to save a reusable design. Set content.selector to crop to a specific element. Returns asset ID, URL, and format information in item. Set include_image_data only when an inline preview is needed, or include_file to return the output as an embedded binary resource.

Inputs: content (required), include_file, include_image_data. Returns: item, error, success

create_og_configCreate an OG ConfigurationAInspect

Saves a new Open Graph (social preview) image configuration for pages on an HTTPS website. Use config_type: html_css to render source pages with default rendering options, or templated to render an existing template using values extracted from page metadata. Returns the saved configuration in item, including id for later management and domain_id for its Open Graph image URLs. Requires a plan that supports OG configurations. Use create_url_image for a single page screenshot and update_og_config to change an existing configuration.

Inputs: content (required). Returns: item, error, success

create_proxyCreate a ProxyAInspect

Creates an organization proxy for routing image requests. Returns its ID and configuration without passwords.

Inputs: content (required). Returns: item, error, success

create_storage_destinationCreate a Storage DestinationAInspect

Creates a storage destination after testing a write to its bucket. The test object is deleted when possible. Enabled destinations require a successful test; explicitly disabled destinations can be saved with a failed test result. Returns configuration and test status without secret access keys.

Inputs: content (required). Returns: item, error, success

create_templateCreate a TemplateAInspect

Saves a reusable HTML/CSS image template for rendering multiple images with different values. Put Handlebars placeholders such as {{title}} in the HTML; substitutions are evaluated in HTML only. Returns item.template_id and item.template_version. Call create_templated_image with that ID and template_values to render an image. Use create_image for a single image from supplied HTML/CSS, or update_template to revise an existing template.

Inputs: content (required). Returns: item, error, success

create_templated_imageCreate a Templated imageA
DestructiveIdempotent
Inspect

Creates an image from a saved template using template_values for its variable substitutions. Use a known template_id directly, or call list_templates to find one by name. Omit version to use the latest version. Returns asset ID, URL, and format information in item; include_image_data requests an inline preview, and include_file returns the output as an embedded binary resource. Use create_template to save a new reusable design before rendering it.

Inputs: template_id (required), template_values (required), version, include_file, +1 more. Returns: item, error, success

create_url_imageCreate an Image of a URLA
Destructive
Inspect

Creates a screenshot of an existing web page at content.url. Rendering loads the page and its resources in a browser and executes its JavaScript. Set content.full_screen for the entire scrollable page, or content.selector to capture a particular element. Returns asset ID, URL, and format information in item; include_image_data requests an eager inline preview, and include_file returns the output as an embedded binary resource. Use create_image when supplying HTML/CSS directly, or create_templated_image when rendering a saved template.

Inputs: content (required), include_file, include_image_data. Returns: item, error, success

create_url_recordingCreate a Website RecordingA
Destructive
Inspect

Records a website as MP4, WebM, or animated GIF, with optional scrolling and interactions. MP4 and WebM can include a soundtrack from an audio asset ID or public audio URL. Returns id, status_url, and recording_url in item before capture completes. Use get_recording_status to check readiness.

Inputs: content (required). Returns: item, error, success

create_webhookCreate a WebhookAInspect

Creates a webhook that sends the selected organization events to an HTTPS endpoint. Subscribing to an event requires read access to its resource; api_key events cannot be subscribed to through MCP. Creating an enabled webhook sends a webhook_test delivery to the endpoint; test_event_id in the result identifies it. Returns the configuration without secret parameter values or the signing secret.

Inputs: content (required). Returns: item, error, success

delete_assetC
DestructiveIdempotent
Inspect

Delete the organization asset and its public copy.

Inputs: id (required). Returns: item, error, success

delete_og_configDelete an OG ConfigurationA
DestructiveIdempotent
Inspect

Deletes an Open Graph image configuration. Returns true on success.

Inputs: id (required). Returns: item, error, success

delete_proxyDelete a ProxyA
DestructiveIdempotent
Inspect

Deletes an organization's proxy so it can no longer be used for rendering. Repeated deletion of the same proxy succeeds. Returns true on success.

Inputs: id (required). Returns: item, error, success

delete_recordingDelete a RecordingA
DestructiveIdempotent
Inspect

Deletes a recording and removes its HCTI-hosted media. The recording can no longer be retrieved or rendered. Files already saved to customer storage are not deleted. Repeating deletion of the same owned recording succeeds. Returns true when deletion is accepted.

Inputs: id (required). Returns: item, error, success

delete_storage_destinationDelete a Storage DestinationA
DestructiveIdempotent
Inspect

Deletes the storage destination configuration and its stored credentials. Does not delete the bucket or files already stored there. Repeated deletion succeeds. Returns true on success.

Inputs: id (required). Returns: item, error, success

delete_webhookDelete a WebhookA
DestructiveIdempotent
Inspect

Deletes a webhook. Deliveries that have not been sent yet are not sent. Repeated deletion succeeds. Returns true on success.

Inputs: id (required). Returns: item, error, success

get_assetA
Read-onlyIdempotent
Inspect

Get asset metadata and its private and available public URLs by asset ID.

Inputs: id (required). Returns: item, error, success

get_asset_storage_usageA
Read-onlyIdempotent
Inspect

Get the organization's used, available, and plan limit bytes for asset storage, and the usage refresh time.

Inputs: no named parameters. Returns: item, error, success

get_aws_storage_external_idGet AWS Storage External IDA
Read-onlyIdempotent
Inspect

Returns the current organization's external_id and HCTI writer_role_arn. Use external_id as sts:ExternalId and writer_role_arn as Principal.AWS in the AWS IAM role trust policy when configuring S3 storage. No storage destination ID is required.

Inputs: no named parameters. Returns: item, error, success

get_max_batch_sizeRetrieve max batch sizeA
Read-onlyIdempotent
Inspect

Get the maximum number of images that can be created in a single batch according to the user's plan. Returns 0 when batching is not supported; create images individually instead.

Inputs: no named parameters. Returns: item, error, success

get_og_configGet an OG ConfigurationA
Read-onlyIdempotent
Inspect

Retrieves one Open Graph image configuration by ID. Returns its mode, enabled state, domain_id, and mode-specific rendering options or template settings in item. Use this before update_og_config to preserve existing settings; use list_og_configs to discover an ID.

Inputs: id (required). Returns: item, error, success

get_proxyGet a ProxyA
Read-onlyIdempotent
Inspect

Gets an organization's proxy configuration, including whether it is enabled and whether authentication is configured. The configured username is returned; passwords are never returned.

Inputs: id (required). Returns: item, error, success

get_recordingGet RecordingA
Read-onlyIdempotent
Inspect

Retrieves saved source, actions, output settings, and recording metadata without rendering or downloading media. Use get_recording_status for progress checks.

Inputs: id (required). Returns: item, error, success

get_recording_statusGet Recording StatusA
Read-onlyIdempotent
Inspect

Returns current status, attempt count, errors, stored duration, and media URL. Does not start rendering. Use store_recording to start a deferred recording.

Inputs: id (required). Returns: item, error, success

get_storage_destinationGet a Storage DestinationA
Read-onlyIdempotent
Inspect

Gets a storage destination's configuration, enabled state, and most recent connection test result. Secret access keys are never returned.

Inputs: id (required). Returns: item, error, success

get_webhookGet a WebhookA
Read-onlyIdempotent
Inspect

Gets a webhook's endpoint, subscribed events, parameters, signing setting, and enabled state. Secret parameter values and the signing secret are never returned.

Inputs: id (required). Returns: item, error, success

get_webhook_eventGet a Webhook EventA
Read-onlyIdempotent
Inspect

Gets one webhook event: its payload, and each destination's delivery status and attempts with HTTP results. data is null and payload_withheld is true when you can't read the event's resource.

Inputs: event_id (required). Returns: item, error, success

list_assetsC
Read-onlyIdempotent
Inspect

List organization assets. Pass pagination.next_page_start to continue.

Inputs: count, public, media_type, page_start, +1 more. Returns: item, error, success

list_og_configsList OG ConfigurationsA
Read-onlyIdempotent
Inspect

Lists the organization's Open Graph configurations in descending creation order, including disabled configurations. Results are in item.data. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.

Inputs: count, page_start. Returns: item, error, success

list_proxiesList ProxiesA
Read-onlyIdempotent
Inspect

Lists the organization's proxies, including disabled proxies. Returns configuration without passwords in item.data. Use an entry's id as proxy_id in image or template requests. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.

Inputs: count, page_start. Returns: item, error, success

list_recordingsList RecordingsA
Read-onlyIdempotent
Inspect

Lists the organization's non-deleted recordings, newest first, in item.recordings. Returns next_page_token and has_next_page for pagination. Use get_recording_status for current progress.

Inputs: count, page_token. Returns: item, error, success

list_storage_destinationsList Storage DestinationsA
Read-onlyIdempotent
Inspect

Lists the organization's storage destinations, including disabled destinations. Returns configuration without secret access keys in item.data. Use an entry's id as storage_destination_id in image or template requests. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.

Inputs: count, page_start. Returns: item, error, success

list_templatesList TemplatesA
Read-only
Inspect

Lists the connected organization's templates with their latest versions, newest first. Use this to find a template by name and inspect its content and rendering settings. Results are in data; pass an entry's id as template_id to create_templated_image. For more results, pass pagination.next_page_start as max_version. Stop when data is empty or the cursor is null.

Inputs: count (required), max_version. Returns: data, pagination

list_template_versionsList Template VersionsA
Read-only
Inspect

Lists saved versions of one template, newest first, with their content and rendering settings in data. Use this to inspect a template before updating it or select an older version for create_templated_image. Pass pagination.next_page_start as max_version to continue; stop when data is empty or the cursor is null.

Inputs: count (required), template_id (required), max_version. Returns: data, pagination

list_webhooksList WebhooksA
Read-onlyIdempotent
Inspect

Lists the organization's webhooks, including disabled webhooks. Returns endpoints, subscribed events, and parameters in item.data; secret parameter values and signing secrets are never returned. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.

Inputs: count, page_start. Returns: item, error, success

send_webhook_test_eventSend a Webhook Test EventAInspect

Sends a webhook_test delivery to an enabled webhook's endpoint, signed and with its parameters like any other delivery. Each webhook accepts one test every 30 seconds, including the test sent when it is created or its delivery settings change. Returns the event ID; check delivery status with get_webhook_event.

Inputs: webhook_id (required). Returns: item, error, success

store_recordingStore a RecordingA
Idempotent
Inspect

Starts a deferred recording or stores it using its configured destination. Reuses stored media without resetting attempts. Returns the latest status, which may still be processing.

Inputs: id (required). Returns: item, error, success

submit_feedbackSubmit FeedbackAInspect

Sends feedback to the HCTI team about HTML/CSS to Image, its API, or its MCP tools. Use this to report bugs or unexpected rendering results, request features, describe confusing behavior or documentation, and suggest improvements. Include relevant context such as what you tried, what you expected, and what happened. If the user did not ask you to send feedback, ask them before submitting. Do not include API keys, credentials, tokens, or personal or confidential data. Returns a confirmation message and feedback ID.

Inputs: message (required), subject, callback_url. Returns: item, error, success

update_assetB
Destructive
Inspect

Change the display name or public access of an asset. Inspect publication_error for publication failures.

Inputs: id (required), request (required). Returns: item, error, success

update_og_configUpdate an OG ConfigurationA
DestructiveIdempotent
Inspect

Replaces an existing Open Graph image configuration and returns the saved configuration in item. Call get_og_config first to inspect settings that should be preserved; omitted optional settings are cleared or reset to defaults. Supply the complete configuration for the chosen config_type. Changes affect subsequent image requests using this configuration. After a plan downgrade, only disabling is accepted and other changes are ignored.

Inputs: id (required), content (required). Returns: item, error, success

update_proxyUpdate a ProxyA
DestructiveIdempotent
Inspect

Replaces the complete proxy configuration. Omitted optional settings, including authentication, are cleared. Within authentication, an omitted password requires retain_password: true and an unchanged username. Returns configuration without passwords.

Inputs: id (required), content (required). Returns: item, error, success

update_storage_destinationUpdate a Storage DestinationA
Destructive
Inspect

Replaces a storage destination's configuration. Omitted optional settings are cleared or reset, except a secret explicitly retained using retain_secret_access_key: true with unchanged provider and access key ID. Changed connections and re-enabling trigger a bucket write test with best-effort cleanup. An enabled request is not saved if testing fails. After a plan downgrade, only disabling is accepted and other changes are ignored.

Inputs: id (required), content (required). Returns: item, error, success

update_templateUpdate a TemplateA
Destructive
Inspect

Updates an existing HTML/CSS image template. Replaces its latest version when that version has not been rendered; otherwise creates a new version. Returns item.template_id and item.template_version. Call create_templated_image with the returned ID and version to render the updated design. Use list_template_versions to inspect existing content before replacing it.

Inputs: content (required), template_id (required). Returns: item, error, success

update_webhookUpdate a WebhookA
Destructive
Inspect

Replaces a webhook's configuration. Omitted parameters are removed; resend secret values or keep them with retain_value: true, except when the URL changes. Changing the URL, parameters, or signing setting, or enabling the webhook, requires read access to every subscribed event and sends a webhook_test delivery, identified by test_event_id in the result. Disabling, renaming, or removing subscriptions only requires webhook management access. Fails with a conflict if the webhook changed concurrently; get it again before retrying.

Inputs: id (required), content (required). Returns: item, error, success

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.