Skip to content

de-id/agents-sdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D-ID Agents SDK Demo - Vite & Vanilla JavaScript

In the terminal, navigate to this project folder and run the following commands:

  • npm init

  • npm i vite

  • npm i @d-id/client-sdk

In the created package.json file, add the following to the scripts object:

  • "dev": "vite --port 3000"

Fetch the data-client-key and the data-agent-id as explained on the Agents SDK Overview Page.
Paste these into their respective variables at the top of the main.js file and save.

In the terminal, run npm run dev

Open http://localhost:3000/

Releases

No releases published

Packages

No packages published