Volver al catálogo

Duply

duply

Duply provides template management and asynchronous image and video rendering through its REST v2 API, served live at /api/v2.

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

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.

Archive TemplateDUPLY_ARCHIVE_TEMPLATEAcción

Archive a template so it is no longer active while preserving its render history. This is a destructive state change.

Parámetros de entrada

  • template_idstringObligatorio

    ID of the template to archive.

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

Check HealthDUPLY_CHECK_HEALTHAcción

Check whether the public Duply REST API is available and return its version. This endpoint does not validate the connected API key.

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

Create RenderDUPLY_CREATE_RENDERAcción

CREDIT-METERED: Submit one asynchronous image or video render job. This can spend generation credits and returns immediately with a queued job rather than waiting for output; call GET_RENDER with the returned ID to monitor completion. Supplying an Idempotency-Key prevents duplicate spend when the same request is retried.

Parámetros de entrada

  • kindstringenum

    Media kind to generate.

    imagevideo
  • batchobject[]

    Batch of 1-20 variable or input objects to render in this submitted job.

  • metadataobject

    Caller-defined metadata to associate with the render job.

  • blueprintobject

    Animated video blueprint accepted by Duply for blueprint-driven rendering.

  • variablesobject

    Variable values to apply to editable template fields.

  • variant_idstring

    Specific template variant ID to render.

  • template_idstring

    Template ID to render, obtained from LIST_TEMPLATES or CREATE_TEMPLATE.

  • variant_namestring

    Variant name selector to use when a variant ID is not supplied.

  • output_formatstringenum

    Requested output format. Duply accepts png, jpeg, or mp4.

    pngjpegmp4
  • idempotency_keystring

    Optional stable unique key for this intended credit-spending render. Supplying one is strongly recommended: reuse it when retrying the same request, and use a new key only for a new render.

  • duration_secondsnumber

    Duration in seconds for a template-based MP4 render (0.5-30).

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 TemplateDUPLY_CREATE_TEMPLATEAcción

Create an image or video template, optionally with its first variant; this does not consume generation credits.

Parámetros de entrada

  • namestringObligatorio

    Human-readable template name.

  • widthinteger

    Template canvas width in pixels.

  • heightinteger

    Template canvas height in pixels.

  • metadataobject

    Optional caller-defined metadata to store with the template.

  • backgroundstring

    Template background value accepted by Duply, such as a color string.

  • descriptionstring

    Optional explanation of the template's purpose.

  • template_typestringenum

    Template media type; omit to let Duply apply its default.

    imagevideo
  • initial_variantobject

    Optional first variant with a name and Duply design document.

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 Template VariantDUPLY_CREATE_TEMPLATE_VARIANTAcción

Create an additional variant for an existing template without consuming generation credits.

Parámetros de entrada

  • namestring

    Optional variant name.

  • widthinteger

    Optional variant canvas width in pixels.

  • heightinteger

    Optional variant canvas height in pixels.

  • documentobject

    Optional Duply design document for the variant.

  • sort_orderinteger

    Optional non-negative display order among the template's variants.

  • template_idstringObligatorio

    ID of the template that will own the new variant.

  • thumbnail_urlstringuri

    Optional URL of the variant thumbnail.

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 RenderDUPLY_GET_RENDERAcción

Get the current status, credit cost, error, and authoritative generated file details for one asynchronous render. This action does not wait or poll: call it again later while status is queued or running.

Parámetros de entrada

  • render_idstringObligatorio

    ID of the render job returned by CREATE_RENDER or LIST_RENDERS.

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 TemplateDUPLY_GET_TEMPLATEAcción

Get one template's full settings and variants by template ID.

Parámetros de entrada

  • template_idstringObligatorio

    ID of the template to retrieve, obtained from LIST_TEMPLATES or CREATE_TEMPLATE.

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 UsageDUPLY_GET_USAGEAcción

Get the connected workspace's billing period, plan, subscription-credit usage, top-up credit balance, and render count.

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 RendersDUPLY_LIST_RENDERSAcción

List asynchronous render jobs, optionally filtered by status or media kind, and return a cursor for the next page. Use GET_RENDER for output files.

Parámetros de entrada

  • kindstringenum

    Return only image or video render jobs.

    imagevideo
  • limitinteger

    Maximum number of render jobs to return in this page (1-100).

  • statusstringenum

    Return only jobs in this lifecycle state.

    queuedrunningcompletedfailed
  • next_cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

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 TemplatesDUPLY_LIST_TEMPLATESAcción

List templates available to the connected workspace, returning summary fields and a cursor for the next page.

Parámetros de entrada

  • limitinteger

    Maximum number of templates to return in this page (1-100).

  • next_cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

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

Update TemplateDUPLY_UPDATE_TEMPLATEAcción

Update one or more fields on an existing Duply template, including its metadata, dimensions, publication state, visibility, or archived state. Use is_archived=false to unarchive; ARCHIVE_TEMPLATE is the dedicated archive action.

Parámetros de entrada

  • namestring

    New human-readable template name.

  • widthinteger

    New template canvas width in pixels.

  • heightinteger

    New template canvas height in pixels.

  • statusstringenum

    New template publication state.

    draftpublished
  • metadataobject

    Caller-defined metadata to replace on the template.

  • is_publicboolean

    Whether the template is publicly accessible.

  • backgroundstring

    New template background, or null to clear it.

  • descriptionstring

    New template description, or null to clear it.

  • is_archivedboolean

    Whether the template is archived; set false to unarchive it.

  • template_idstringObligatorio

    ID of the template to update, obtained from LIST_TEMPLATES.

  • thumbnail_urlstringuri

    New template thumbnail URL, or null to clear it.

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

Update Template VariantDUPLY_UPDATE_TEMPLATE_VARIANTAcción

Update one or more fields on an existing template variant, including its design document, dimensions, thumbnail, or display order.

Parámetros de entrada

  • namestring

    New variant name.

  • widthinteger

    New variant canvas width, or null to clear it.

  • heightinteger

    New variant canvas height, or null to clear it.

  • documentobject

    New Duply design document for the variant.

  • sort_orderinteger

    New non-negative display order for the variant.

  • variant_idstringObligatorio

    ID of the variant to update.

  • template_idstringObligatorio

    ID of the template that owns the variant.

  • thumbnail_urlstringuri

    New variant thumbnail URL, or null to clear it.

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