Git Product home page Git Product logo

live-streaming-demo's Introduction

Streaming Live Demo by D-ID

  • (install express) Open a terminal in the folder and run - npm install express
  • (add your API key) Edit the api.json inside the uncompressed folder and replace the emoji with your key
  • (select service) in the same api.json file, edit the service field to choose your avatar type, use talks for an avatar made from an image or clips to use a premade HQ avatar from a video

Start Streaming Demo:

  • (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run node app.js
  • you should see this message - server started on port localhost:3000
  • (open the app) In the browser add localhost:3000
  • (connect) press connect you should see the connection ready
  • (stream) Press the start button to start streaming

Streaming App

⭐ Start Agents Demo [NEW!] ⭐

  • (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run node app.js
  • you should see this message - server started on port localhost:3000
  • (open the app) In the browser add localhost:3000/agents
  • press 'Create new Agent with Knowledge' to create a new Agent. All API endpoints' responses are visible in the console.
  • press 'Connect' to connect to the agent, once done, type a message and press 'Send' to start a chat
  • you can store the created agentId and chatID variables and at the bottom of the agents-client-api.js file for future chats with your newly created Agent. app

live-streaming-demo's People

Contributors

josh900 avatar elad-ivanir avatar orgoro avatar obieliaiev avatar alonso-balonso avatar amitovadia-did avatar benyael15 avatar mukeshmukesh12 avatar scgreenhalgh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.