- Category: images & design
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 3
- Triggers: 0
- Slug:
HTML_TO_IMAGE - Version: 20261101_00
Tools
Check HTML-to-Image Account Usage
Check HTML-to-Image Account Usage
Slug:
HTML_TO_IMAGE_CHECK_USAGEAttempts to retrieve hourly, daily, monthly and billing-period image usage from custom and common account usage endpoints. It returns empty statistics when no usable response is found or a response lacks recognizable usage data; endpoint failures can instead raise an error.Input Parameters
Optional custom endpoint paths to try for usage statistics (e.g., [‘/v1/usage’, ‘/api/stats’]). Supports both relative paths (e.g., ‘/v1/usage’) and fully-qualified URLs (e.g., ‘https://api.example.com/usage’). If not provided, the action tries built-in candidates: /v1/usage, /api/usage, /v1/account/usage, /api/account/usage.
If true (default), returns empty usage statistics when no endpoint is found or all endpoints fail. If false, raises an error with details about which endpoints were tried. Recommended to keep as true for graceful handling when the API provider doesn’t support usage endpoints.
Output
Convert HTML to Image
Convert HTML to Image
Slug:
HTML_TO_IMAGE_CONVERT_TO_IMAGETool to convert HTML content into an image. Returns either a downloadable file or a JSON payload containing id and url, depending on the upstream API behavior.Input Parameters
Width of the output image in pixels; must be >=1 Maximum enforced limit may apply; exceeding it can cause validation errors or silent downscaling.
Height of the output image in pixels; must be >=1 Maximum enforced limit may apply; exceeding it can cause validation errors or silent downscaling.
Output
Get HTML to Image
Get HTML to Image
Slug:
HTML_TO_IMAGE_GET_IMAGERetrieve a previously generated image by its URL. Use this to fetch, resize, or download an existing HTML-to-image asset. The image URL is typically obtained from the ‘url’ field of the HTML_TO_IMAGE_CONVERT_TO_IMAGE response.Input Parameters
Full URL of the generated image (e.g., ‘https://i.html2img.com/image-1234567890-123456.png’), typically obtained from the ‘url’ field of the HTML_TO_IMAGE_CONVERT_TO_IMAGE response. You may also provide just a partial path or append .png, .jpg, or .webp to select the format.