@livekit/agents-plugin-did
v1.5.2
Published
D-ID avatar plugin for LiveKit Node Agents
Maintainers
Keywords
Readme
D-ID plugin for LiveKit Agents
Support for the D-ID virtual avatar.
See the D-ID integration docs for more information.
Installation
npm install @livekit/agents-plugin-didPre-requisites
You'll need an API key from D-ID. It can be set as an environment variable: DID_API_KEY
Supported avatars
This plugin only supports v4 avatars (type: expressive). Earlier avatar versions are not compatible. See the D-ID Create Agent API for details on creating a compatible agent.
Example — creating an expressive agent via the D-ID API:
curl -X POST https://api.d-id.com/agents \
-H "Authorization: Basic <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"presenter": {
"type": "expressive",
"presenter_id": "public_mia_elegant@avt_TJ0Tq5"
},
"preview_name": "My Expressive Agent"
}'Use the agent ID from the response as the agentId parameter in the plugin.
