Volver al catálogo

Synthesia

synthesia

Synthesia creates AI avatar videos, interactive avatars, localized media, and related video assets through its REST APIs.

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

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.

Add Dubbing Project Locales (Deprecated)SYNTHESIA_ADD_DUBBING_PROJECT_LOCALESAcción

Deprecated: add target-language locales to a legacy dubbing project. Use Add Localization Locales instead with localization_id set to l10n_<dubbing_project_id>. This paid Legacy v2 operation may generate videos or consume credits.

Parámetros de entrada

  • visibilitystringenum

    Visibility of newly generated dubbed videos.

    privatepublic
  • video_durationstringenum

    Whether output may adapt duration or must preserve the source duration.

    adaptiveoriginal
  • lipsync_enabledboolean

    Whether newly generated dubbed videos use lip synchronization.

  • target_languagesstring[]Obligatorio

    Additional target language codes to generate; existing locales are skipped.

  • dubbing_project_idstringObligatoriouuid

    UUID of the original imported video's dubbing project.

  • burned_in_captions_enabledboolean

    Whether newly generated dubbed videos contain burned-in captions.

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

Add Localization LocalesSYNTHESIA_ADD_LOCALIZATION_LOCALESAcción

Add target-language locales to an existing localization. Existing languages are skipped; generation may consume credits, and lipsync_enabled defaults to true and costs additional credits. Poll returned locales until done is true.

Parámetros de entrada

  • localesobject[]Obligatorio

    Locales to add, one per target language. Existing languages are skipped.

  • visibilitystringenum

    Who can view the newly generated localized videos.

    privatepublic
  • video_durationstringenum

    Whether output may adapt duration or must preserve the source duration.

    adaptiveoriginal
  • lipsync_enabledboolean

    Whether newly generated locale videos use lip synchronization.

  • localization_idstringObligatorio

    Localization ID with the l10n_ prefix.

  • burned_in_captions_enabledboolean

    Whether newly generated locale videos contain burned-in captions.

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 Dubbing ProjectSYNTHESIA_CREATE_DUBBING_PROJECTAcción

Create an asynchronous dubbing project from an uploaded Synthesia media asset or a deprecated signed S3 URL. This paid Legacy v2 operation may generate videos or consume credits; use the returned asset ID to retrieve status and dubbed videos.

Parámetros de entrada

  • titlestringObligatorio

    Title for the dubbed video project.

  • visibilitystringenum

    Visibility of the generated dubbed videos.

    privatepublic
  • video_durationstringenum

    Whether generated videos may adapt their duration or preserve the source duration.

    adaptiveoriginal
  • lipsync_enabledboolean

    Whether to lip-sync the generated dubbed videos.

  • source_asset_idstring

    Uploaded Synthesia media asset ID to use as the source video. Provide exactly one of source_asset_id or source_video_url.

  • source_languagestringenum

    Language code for the source media asset; required with source_asset_id.

    afsqamarar-DZar-BHar-EGar-IQar-JOar-KWar-LYar-MA+157
  • source_video_urlstring

    Deprecated signed S3 URL to use as the source video. Provide exactly one of source_video_url or source_asset_id.

  • target_languagesstring[]Obligatorio

    Language codes into which Synthesia should dub the source video.

  • burned_in_captions_enabledboolean

    Whether to burn captions into every generated dubbed video.

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 Dubbing Project From FileSYNTHESIA_CREATE_DUBBING_PROJECT_FROM_FILEAcción

Upload a video as a new Synthesia asset, then create a dubbing project and dubbed videos from that asset. If dubbing creation fails after the upload, the uploaded asset remains as partial state. This operation requires paid Legacy (v2) access and consumes credits. It is non-idempotent: retries can create duplicate assets and dubbing projects and consume additional credits.

Parámetros de entrada

  • titlestringObligatorio

    Title for the dubbing project.

  • videoobjectObligatorio

    MP4 or WebM video to upload and use as the dubbing source.

  • visibilitystringenum

    Visibility of the generated dubbed videos.

    privatepublic
  • video_durationstringenum

    Whether generated videos may adapt their duration or preserve the source duration.

    adaptiveoriginal
  • lipsync_enabledboolean

    Whether to lip-sync the generated dubbed videos.

  • source_languagestringObligatorioenum

    Language code of the source video.

    afsqamarar-DZar-BHar-EGar-IQar-JOar-KWar-LYar-MA+157
  • target_languagesstring[]Obligatorio

    Language codes into which Synthesia should dub the source video.

  • burned_in_captions_enabledboolean

    Whether to burn captions into every generated dubbed video.

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 Interactive AvatarSYNTHESIA_CREATE_INTERACTIVE_AVATARAcción

Create or regenerate an interactive avatar from a Studio avatar; creation and regeneration consume credits. To poll existing generation without regenerating, repeat this action with regenerate=false until done is true.

Parámetros de entrada

  • source_idstringObligatorio

    Source Studio avatar ID, matching the av_ prefix format.

  • regenerateboolean

    Whether to regenerate the interactive avatar when one already exists for the source.

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 Localization From Media URLSYNTHESIA_CREATE_LOCALIZATION_FROM_MEDIA_URLAcción

Create an asynchronous localization job from a presigned S3 video URL. Generation may consume credits, and lipsync_enabled defaults to true and costs additional credits. Poll Get Localization until done is true.

Parámetros de entrada

  • titlestringObligatorio

    Title for the localization project.

  • media_urlstringObligatorio

    Presigned HTTPS S3 URL from which Synthesia can download the source video.

  • visibilitystringenum

    Visibility of generated localized videos.

    privatepublic
  • video_durationstringenum

    Whether translated output may adapt duration or must preserve the original duration.

    adaptiveoriginal
  • lipsync_enabledboolean

    Whether generated locales should use lip synchronization.

  • source_languagestringObligatorio

    Source language code, or auto to detect it.

  • target_languagesstring[]Obligatorio

    One to 20 target language codes returned by List Localization Languages.

  • burned_in_captions_enabledboolean

    Whether generated videos should contain burned-in captions.

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 Media AssetSYNTHESIA_CREATE_MEDIA_ASSETAcción

Register a large video asset and return Synthesia's multipart upload instructions. This action does not upload the video bytes to the returned storage destination. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • titlestring

    Title of the media asset.

  • content_md5string

    Base64-encoded MD5 digest of the source video, used to verify upload integrity.

  • content_typestringObligatorioenum

    MIME type of the source video to register.

    video/mp4video/webmvideo/quicktime
  • configurationobjectObligatorio

    Dubbing configuration to apply while processing the uploaded video.

  • content_lengthinteger

    Source video size in bytes, used to verify upload integrity.

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

Create a scripted avatar video. This paid Legacy v2 operation may consume Synthesia credits; use test=true for a watermarked test video when appropriate.

Parámetros de entrada

  • testboolean

    Whether to create a free watermarked test video under Synthesia's test limits.

  • inputobject[]Obligatorio

    Ordered scenes that make up the video.

  • titlestring

    Video title.

  • folder_idstring

    Studio folder ID in which to create the video.

  • soundtrackstringenum

    Legacy soundtrack selection; Synthesia recommends templates for rich videos.

    corporateinspirationalmodernurban
  • visibilitystringenum

    Video visibility.

    privatepublic
  • callback_idstring

    Caller correlation identifier returned through callback workflows.

  • descriptionstring

    Video description.

  • aspect_ratiostringenum

    Output aspect ratio for the video.

    16:99:161:14:55:4
  • cta_settingsobject

    Call-to-action button settings.

  • sound_settingsobject

    Video-level soundtrack configuration.

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 Video From TemplateSYNTHESIA_CREATE_VIDEO_FROM_TEMPLATEAcción

Create a video from a Studio template and variable values. This paid Legacy v2 operation may consume Synthesia credits; use test=true for a watermarked test video when appropriate.

Parámetros de entrada

  • testboolean

    Whether to create a free watermarked test video under Synthesia's test limits.

  • titlestring

    Video title.

  • folder_idstring

    Studio folder ID in which to create the video.

  • visibilitystringenum

    Video share-page visibility.

    privatepublic
  • callback_idstring

    Caller correlation identifier returned through callback workflows.

  • descriptionstring

    Video description.

  • template_idstringObligatorio

    Template UUID returned by List Templates.

  • brand_kit_idstring

    Brand kit UUID, workspace_default, or no_brand_kit.

  • cta_settingsobject

    Call-to-action button settings.

  • template_dataobjectObligatorio

    Values for the selected template's customizable variables.

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

Create a webhook subscription for video completion or failure events. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • urlstringObligatorio

    Public callback URL to receive webhook events.

  • eventsstring[]Obligatorio

    Video event types that should be delivered.

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

Permanently delete one video. This destructive paid Legacy v2 action cannot be undone.

Parámetros de entrada

  • video_idstringObligatorio

    Video ID to permanently delete.

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

Permanently delete one webhook subscription. This destructive paid Legacy v2 action cannot be undone.

Parámetros de entrada

  • webhook_idstringObligatorio

    Webhook ID to permanently delete.

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

Export Audit Log EventsSYNTHESIA_EXPORT_AUDIT_LOG_EVENTSAcción

Export up to 10,000 filtered Synthesia audit events for exactly one workspace or organization as a CSV file. Synthesia truncates larger exports and marks their filenames with _TRUNCATED. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • actionsstring[]

    Audit action names to include in the export.

  • end_dateinteger

    Return events created on or before this Unix timestamp in seconds.

  • actor_idsstring[]

    Actor IDs whose events to include in the export.

  • target_idstring

    Return only events for this target resource ID.

  • start_dateinteger

    Return events created on or after this Unix timestamp in seconds.

  • workspace_idstringuuid

    Workspace UUID whose events to export. Provide exactly one of workspace_id or organization_id.

  • organization_idstringuuid

    Organization UUID whose events to export. Provide exactly one of organization_id or workspace_id.

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 Billing CreditsSYNTHESIA_GET_BILLING_CREDITSAcción

Return the workspace billing period and credit balance. This API-key action has no named product-scope requirement.

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 Dubbing Project (Deprecated)SYNTHESIA_GET_DUBBING_PROJECTAcción

Deprecated: get a legacy dubbing project's status, dubbed videos, and errors. For new integrations, use Get Localization with l10n_<dubbing_project_id> for status and List Localization Locales for dubbed videos. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • target_languagesstring[]

    Optional target language codes used to filter the returned dubbed videos.

  • dubbing_project_idstringObligatorio

    UUID of the legacy dubbing project to inspect.

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

Get the import and processing status of one localization. Poll until done is true, then inspect status and error.

Parámetros de entrada

  • localization_idstringObligatorio

    Localization ID with the l10n_ prefix.

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 Media AssetSYNTHESIA_GET_MEDIA_ASSETAcción

Get the upload status and metadata of a registered media asset. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • user_media_asset_idstringObligatorio

    Media asset ID returned by Create Media Asset.

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

Get one Studio template and its customizable variables. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • template_idstringObligatorio

    Template ID returned by List Templates.

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

Get one video's processing status, metadata, and available download assets. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • video_idstringObligatorio

    Video ID returned by a create or list action.

  • include_rejectedboolean

    Return a rejected video record instead of treating it as not found.

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 Video ThumbnailSYNTHESIA_GET_VIDEO_THUMBNAILAcción

Download a video's best available, animated GIF, or JPG thumbnail as one offloaded file. The format defaults to best. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • formatstringenum

    Thumbnail format to download. Defaults to 'best', which asks Synthesia for an animated GIF when available and otherwise a JPG.

    bestgifjpg
  • video_idstringObligatorio

    Video ID returned by a create, list, or get video action.

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 Video TranslationsSYNTHESIA_GET_VIDEO_TRANSLATIONSAcción

Get per-language translation status for a root video. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • root_video_idstringObligatorio

    Root Studio video UUID whose translations should be returned.

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 Video XLIFFSYNTHESIA_GET_VIDEO_XLIFFAcción

Retrieve a video's script, chapters, and text elements as an XLIFF document. Optionally select a video version and XLIFF 1.2. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • video_idstringObligatorio

    Video ID whose text content should be retrieved as XLIFF.

  • video_versioninteger

    Specific video version to retrieve; omit to use the current version.

  • xliff_versionstring

    Desired XLIFF specification version. Synthesia currently supports 1.2.

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

Get a webhook subscription's callback URL, secret, status, and creation and update timestamps by webhook ID. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • webhook_idstringObligatorio

    Webhook ID returned by Create Webhook or List Webhooks.

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 Audit Log EventsSYNTHESIA_LIST_AUDIT_LOG_EVENTSAcción

List one page of Synthesia audit events for exactly one workspace or organization, with action, actor, target, and Unix-time filters. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • limitinteger

    Maximum events to return in this page (1-200).

  • cursorstring

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

  • actionsstring[]

    Audit action names to include.

  • end_dateinteger

    Return events created before this Unix timestamp in seconds.

  • actor_idsstring[]

    Actor IDs to include.

  • target_idstring

    Return only events for this target resource ID.

  • start_dateinteger

    Return events created on or after this Unix timestamp in seconds.

  • workspace_idstringuuid

    Workspace UUID whose events to list. Provide exactly one of workspace_id or organization_id.

  • organization_idstringuuid

    Organization UUID whose events to list. Provide exactly one of organization_id or workspace_id.

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 Localization LanguagesSYNTHESIA_LIST_LOCALIZATION_LANGUAGESAcción

List one page of languages supported as Synthesia localization dubbing sources or targets. Pass the returned cursor to retrieve the next page.

Parámetros de entrada

  • limitinteger

    Maximum languages to return in this page.

  • cursorstring

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

  • supportsstringenum

    Filter languages by whether they support source or target dubbing.

    dubbing_sourcedubbing_target

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 Localization LocalesSYNTHESIA_LIST_LOCALIZATION_LOCALESAcción

List one page of localized-language outputs for a Synthesia localization, including processing status and available video assets. Pass the returned cursor to retrieve the next page.

Parámetros de entrada

  • limitinteger

    Maximum locales to return in this page (1-100).

  • cursorstring

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

  • localization_idstringObligatorio

    Localization ID with the l10n_ prefix.

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

List one page of Synthesia Studio templates and their customizable variables. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • limitinteger

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

  • cursorstring

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

  • sourcestring[]

    Template source categories to include.

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 Translation LanguagesSYNTHESIA_LIST_TRANSLATION_LANGUAGESAcción

Return the legacy translation-languages response exactly as Synthesia sends it under raw_response. This paid Legacy v2 action requires an API key with the legacy scope; the provider's published success schema is known to be incorrect.

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

List one page of API and Studio videos. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • limitinteger

    Maximum videos to return in this page (1-100).

  • cursorstring

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

  • sourcestring[]

    Video source categories to include.

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

List one page of active or deleted webhook subscriptions. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • limitinteger

    Maximum webhooks to return in this page (1-100).

  • cursorstring

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

  • deletedboolean

    Whether to list deleted rather than active webhooks.

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

Search Audit Log EventsSYNTHESIA_SEARCH_AUDIT_LOG_EVENTSAcción

Search one page of audit events using advanced JSON-body filters for large filter sets or clients that require JSON. Prefer List Audit Log Events for most use cases. This paid Legacy v2 action requires an API key with the legacy scope.

Parámetros de entrada

  • limitinteger

    Maximum audit events to return in this page (1-200).

  • cursorstring

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

  • actionsstring[]

    Audit action names to include, such as user.authentication.login.

  • end_dateinteger

    Inclusive end of the event time range as Unix seconds.

  • actor_idsstring[]

    Actor IDs whose events should be included.

  • target_idstring

    Target resource ID whose events should be included.

  • start_dateinteger

    Inclusive start of the event time range as Unix seconds.

  • workspace_idstring

    Workspace UUID whose events to search. Provide exactly one of workspace_id or organization_id.

  • organization_idstring

    Organization UUID whose events to search. Provide exactly one of organization_id or workspace_id.

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

Start Interactive Avatar SessionSYNTHESIA_START_INTERACTIVE_AVATAR_SESSIONAcción

Start a live interactive-avatar session in an existing caller-provided LiveKit room. Each running session counts toward the workspace's concurrent session limit.

Parámetros de entrada

  • avatar_idsstring[]Obligatorio

    Interactive avatar IDs to join to the LiveKit room.

  • livekit_urlstringObligatorio

    WebSocket URL of the LiveKit room, beginning with wss://.

  • livekit_tokenstringObligatorio

    LiveKit participant token that authorizes the session to join the room. Reuse it with the same LiveKit URL when retrying a failed request.

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

Start Or Update Video TranslationSYNTHESIA_START_OR_UPDATE_VIDEO_TRANSLATIONAcción

Start missing target-language translations or update the translation set for a Studio video. This paid Legacy v2 operation may generate videos or consume credits.

Parámetros de entrada

  • auto_generatestringenum

    Visibility for automatically generated translated videos, or null to disable automatic generation.

    privatepublic
  • root_video_idstringObligatoriouuid

    Root Studio video UUID whose translations should be started or updated.

  • target_languagesstring[]Obligatorio

    Target language codes to create or retain.

  • translate_script_onlyboolean

    Whether to translate only the script instead of generating translated videos.

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

Translate Video From XLIFFSYNTHESIA_TRANSLATE_VIDEO_FROM_XLIFFAcción

Create a translated video through Synthesia's manual XLIFF operation. The provider reference exposes no XLIFF input field, request body, or parameters, so this action does not accept caller-supplied translation content. Live provider validation requires an empty JSON object despite generated examples omitting the body. This paid Legacy v2 action requires an API key with the legacy scope.

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

Update VideoSYNTHESIA_UPDATE_VIDEOAcción

Update a video's title, description, visibility, or call-to-action settings. This paid Legacy v2 operation requires an API key with Legacy (v2) access.

Parámetros de entrada

  • titlestring

    Replacement video title.

  • video_idstringObligatorio

    Video ID to update.

  • visibilitystringenum

    Replacement video visibility.

    privatepublic
  • descriptionstring

    Replacement video description.

  • cta_settingsobject

    Replacement call-to-action settings, or null to clear them.

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

Upload AssetSYNTHESIA_UPLOAD_ASSETAcción

Upload an image or video file to Synthesia's Upload API and return the provider's asset metadata, including its identifier when supplied.

Parámetros de entrada

  • fileobjectObligatorio

    Image or video file to upload.

  • content_typestringObligatorioenum

    Media type of the file. Synthesia accepts JPEG, PNG, SVG, MP4, and WebM assets.

    image/jpegimage/pngimage/svg+xmlvideo/mp4video/webm

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

Upload Script AudioSYNTHESIA_UPLOAD_SCRIPT_AUDIOAcción

Upload custom script audio to Synthesia for asynchronous processing. When the response includes an asset ID, check it with Get Media Asset before using it to create a video.

Parámetros de entrada

  • fileobjectObligatorio

    Audio file whose raw bytes should be uploaded as custom script audio.

  • content_typestringenum

    MIME type for the script-audio bytes. Use audio/mpeg for MP3 audio as documented by the endpoint guide; application/octet-stream remains accepted for generic binary clients.

    audio/mpegapplication/octet-stream

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