Volver al catálogo

Ngram

ngram

Ngram creates AI-generated videos and images, manages rendering jobs, and delivers completion events through webhooks.

Acciones
14
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 (14)

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.

Cancel VideoNGRAM_CANCEL_VIDEOAcción

Irreversibly request cancellation of an in-progress Ngram video render. Confirm the target video before calling. Ngram states that cancellation does not refund work already completed.

Parámetros de entrada

  • video_idstringObligatorio

    ID of the in-progress Ngram video to cancel, beginning with vid_. Cancellation is irreversible and may not refund work already completed.

Parámetros de salida

  • dataanyObligatorio

    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

Create Webhook SubscriptionNGRAM_CREATE_WEBHOOK_SUBSCRIPTIONAcción

Subscribe a public HTTPS endpoint to all account-wide Ngram video completion or failure events of one type. The response includes a signing secret that is shown only at creation and must be retained to verify webhook signatures.

Parámetros de entrada

  • event_typestringObligatorioenum

    Account-wide Ngram video event to deliver.

    video.completedvideo.failed
  • target_urlstringObligatoriouri

    Public HTTPS callback URL that will receive matching account-wide events.

Parámetros de salida

  • dataanyObligatorio

    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

Delete Webhook SubscriptionNGRAM_DELETE_WEBHOOK_SUBSCRIPTIONAcción

Delete an Ngram webhook subscription by ID. The operation is idempotent: a missing subscription returns deleted=false rather than an error.

Parámetros de entrada

  • subscription_idstringObligatorio

    Ngram webhook subscription ID beginning with sub_, returned by webhook subscription creation or listing.

Parámetros de salida

  • dataanyObligatorio

    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

Generate ImageNGRAM_GENERATE_IMAGEAcción

Spend Ngram credits to start one image generation job from a prompt, optionally using one to four public HTTPS reference images for transformation. Inspect NGRAM_GET_CREDITS and NGRAM_GET_RENDER_OPTIONS first, then deliberately set confirm_credit_spend=true and reuse the same idempotency_key for retries. Exact cost has not been live-verified.

Parámetros de entrada

  • promptstringObligatorio

    Description of the image to generate or the changes to make to reference images, from 1 to 6000 characters.

  • model_idstring

    Image model ID from NGRAM_GET_RENDER_OPTIONS.

  • style_idstring

    Image style ID from NGRAM_GET_RENDER_OPTIONS. Supported only for text-only generation without reference_image_urls.

  • template_idstring

    Image template ID from NGRAM_GET_RENDER_OPTIONS. Supported only for text-only generation without reference_image_urls.

  • aspect_ratiostring

    Image aspect ratio from NGRAM_GET_RENDER_OPTIONS.

  • idempotency_keystringObligatorio

    Stable unique key for this intended image job. Reuse it when retrying the same request to reduce duplicate jobs or charges.

  • confirm_credit_spendbooleanObligatorio

    Must be true to explicitly confirm that this call may consume Ngram credits. It is validated locally and is never sent to Ngram.

  • reference_image_urlsstring[]

    One to four public HTTPS source-image URLs to transform. Omit this field to generate an image from text only.

Parámetros de salida

  • dataanyObligatorio

    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

Generate VideoNGRAM_GENERATE_VIDEOAcción

Spend Ngram credits to start one asynchronous video render from text or a public URL. Inspect NGRAM_GET_CREDITS and NGRAM_GET_RENDER_OPTIONS first, then deliberately set confirm_credit_spend=true and supply a stable idempotency_key. Exact per-render cost has not been live-verified.

Parámetros de entrada

  • promptstring

    Source text or instructions. Required and non-blank when source_type is text; optional creative direction when source_type is url.

  • durationinteger

    Requested duration in seconds from NGRAM_GET_RENDER_OPTIONS.

  • scenariostring

    Scenario name from NGRAM_GET_RENDER_OPTIONS.

  • style_idstring

    Video style ID from NGRAM_GET_RENDER_OPTIONS.

  • voice_idstring

    Voice ID from NGRAM_GET_RENDER_OPTIONS.

  • image_urlsstring[]

    Optional public HTTP(S) image URLs to use as visual source material.

  • story_flowstring

    Optional narrative-flow guidance, up to 1024 characters.

  • source_typestringObligatorioenum

    Whether to create the video from supplied text or instructions, or from research of a public webpage URL. Choose text when supplying prompt, or url when supplying website_url.

    texturl
  • website_urlstringuri

    Public HTTP(S) webpage, article, product, or documentation URL. Required when source_type is url and not allowed for text mode.

  • aspect_ratiostring

    Supported video aspect ratio from NGRAM_GET_RENDER_OPTIONS.

  • energy_levelstring

    Optional energy or pacing direction for the generated video.

  • video_formatstring

    Video format from NGRAM_GET_RENDER_OPTIONS.

  • deep_researchboolean

    Whether Ngram should perform deeper source research before rendering. Omit to use the provider default.

  • animation_modestring

    Animation mode from NGRAM_GET_RENDER_OPTIONS.

  • idempotency_keystringObligatorio

    Stable unique key for this intended render. Reuse it for retries of the same render to prevent duplicate jobs or credit charges.

  • video_type_profilestring

    Video type profile name from NGRAM_GET_RENDER_OPTIONS.

  • confirm_credit_spendbooleanObligatorio

    Must be true to explicitly confirm that this call may consume Ngram credits. It is validated locally and is never sent to Ngram.

Parámetros de salida

  • dataanyObligatorio

    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

Get AccountNGRAM_GET_ACCOUNTAcción

Return the authenticated Ngram account identity, including its id, email, and name.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    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

Get CreditsNGRAM_GET_CREDITSAcción

Return the connected account's plan and available, reserved, and effective credits. Use effective credits as the spendable balance before generation.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    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

Get ImageNGRAM_GET_IMAGEAcción

Return an image job's current status and generated output by its UUID.

Parámetros de entrada

  • image_idstringObligatoriouuid

    UUID of the Ngram image job returned by image generation or listing.

Parámetros de salida

  • dataanyObligatorio

    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

Get Render OptionsNGRAM_GET_RENDER_OPTIONSAcción

Return Ngram's live catalog of supported video and image capabilities, voices, styles, formats, durations, models, templates, and other generation options. Use this before generation instead of assuming catalog values.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    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

Get VideoNGRAM_GET_VIDEOAcción

Return a video's render status, progress, output URL, or failure information by video ID.

Parámetros de entrada

  • video_idstringObligatorio

    Ngram video ID beginning with vid_, returned by video creation or listing.

Parámetros de salida

  • dataanyObligatorio

    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

List Brand KitsNGRAM_LIST_BRAND_KITSAcción

Return the brand kits available to the connected account for use in generation requests.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    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

List ImagesNGRAM_LIST_IMAGESAcción

Return up to 100 account image jobs matching an optional status and created-at upper bound. Ngram does not expose a continuation token.

Parámetros de entrada

  • limitinteger

    Maximum image jobs to return, from 1 to 100.

  • beforestringdate-time

    Only return image jobs before this ISO-8601 temporal boundary; inclusivity is not verified.

  • statusstringenum

    Only return image jobs in this generation state.

    processingcompletedfailed

Parámetros de salida

  • dataanyObligatorio

    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

List VideosNGRAM_LIST_VIDEOSAcción

Return up to 100 account videos matching an optional render status and created-at lower bound. This is one bounded response; Ngram provides no continuation token.

Parámetros de entrada

  • limitinteger

    Maximum videos to return, from 1 to 100.

  • sincestringdate-time

    Only return videos at or after this ISO 8601 temporal boundary. The provider's exact boundary inclusivity is not documented.

  • statusstringenum

    Only return videos in this render state.

    processingcompletedfailed

Parámetros de salida

  • dataanyObligatorio

    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

List Webhook SubscriptionsNGRAM_LIST_WEBHOOK_SUBSCRIPTIONSAcción

Return the account's video completion and failure webhook subscriptions. Signing secrets are not returned by this list endpoint.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    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