NAiOS IconNAiOS Logo
Volver al catálogo

HTML to Image

html_to_image

HTML to Image is a service that converts HTML and CSS into images or captures screenshots of web pages.

Acciones
3
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (3)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get HTML to ImageHTML_TO_IMAGE_GET_IMAGEAcción

Tool to retrieve a generated image by its ID. Use when you need to fetch, resize, or download an existing HTML to image asset.

Parámetros de entrada

  • dlintegerenum

    Set to 1 to serve the image as a downloadable attachment.

    01
  • dpiinteger

    Optional DPI metadata for the image; maximum 600.

  • widthinteger

    Optional output width in pixels; maximum 5000.

  • heightinteger

    Optional output height in pixels; maximum 5000.

  • image_idstringObligatorio

    ID of the generated image. You may append .png, .jpg, or .webp to select the format; defaults to PNG if no extension is provided.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check HTML-to-Image Account UsageHTML_TO_IMAGE_HTML_TO_IMAGE_CHECK_USAGEAcción

Tool to retrieve account usage statistics including hourly, daily, and monthly image creation counts. Use after authenticating to review current usage limits and billing periods.

Parámetros de entrada

  • endpoint_pathsstring[]

    Optional list of endpoint paths to try for usage stats (e.g., '/v1/usage'). If not provided, built-in candidates will be used.

  • return_defaults_on_errorboolean

    Whether to return an empty usage payload instead of failing when the upstream API does not provide a usage endpoint or returns non-JSON responses.

Parámetros de salida

  • dataobjectObligatorio

    Usage statistics grouped by hour, day, and month.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

  • per_billing_periodobject[]Obligatorio

    List of usage data for each billing period.

Convert HTML to ImageHTML_TO_IMAGE_HTML_TO_IMAGE_CONVERT_TO_IMAGEAcción

Tool 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.

Parámetros de entrada

  • htmlstringObligatorio

    HTML content to render into an image

  • widthinteger

    Width of the output image in pixels; must be >=1

  • heightinteger

    Height of the output image in pixels; must be >=1

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not