Create and inspect Vidu S1 live digital-human sessions from Dify.
This plugin calls the Vidu S1 API to create and inspect live digital-human
sessions. It is designed primarily for Workflows used by teams that already
have, or plan to build, an RTC client; its tools remain compatible with Dify
Agents for non-sensitive session operations.
The plugin runs short-lived server-side tool calls inside Dify. It can create a
Vidu session and return the structured session and RTC data needed by a later
Workflow step or by your application backend. Use a Workflow for complete RTC
integration so sensitive RTC Credentials can be passed deliberately between
nodes instead of being handled conversationally.
It does not embed a digital-human call in Dify. A complete Vidu S1
experience also requires:
The Vidu API key must stay in Dify or another trusted backend. The returned
is a short-lived, single-session credential. The plugin exposes it
only as structured tool output so an RTC client can join the channel; it does
not include the token in its human-readable text or links. Dify Workflow run
history may retain structured outputs, so configure retention and access as you
would for other sensitive credentials.
returns the following stable Workflow contract:
The plugin does not pass through the complete upstream HTTP response. Session
fields stay at the top level for convenient Workflow references, while all RTC
Credential fields stay under . If any field in this contract is missing
from the Vidu response, the tool fails immediately instead of returning an
empty value that would fail later in the RTC Client.
When credentials are saved, the provider makes a read-only
request with a 10-second timeout. This verifies both the
API key and selected region without creating or billing a live session. A
temporary Vidu API outage can therefore prevent credential setup; validation
errors are sanitized and never include the API key or upstream response body.
Install runtime and test dependencies in a Python 3.12 environment:
Run tests from the repository root:
Package the plugin from the directory above this plugin project:
For early users, publish the generated as a GitHub Release asset and
ask users to install it in Dify with Install Plugin > From GitHub.
For Marketplace distribution, submit the packaged file to
and keep , , , and
in the plugin root.
Adds the source repository and maintainer contact metadata required by current
Marketplace validation. Includes the 0.0.2 fixes below, with no breaking changes.
Credential validation and API failures now suppress sensitive upstream exception
chains in Dify logs, including timeout errors. Malformed API keys are rejected
before an HTTP request. The package excludes maintainer notes and local artifacts.
Existing S1 tools, parameters, and Workflow outputs remain compatible.
Some outbound calls build their address at runtime, so the list may be incomplete.
Last checked 09/23/2026 08:31 AM · version 0.0.3