@meetkai/babylon-mkms-npc-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Babylon Mkms Npc Sdk

Basic implementation

  • loads character to scene
const avatar = new Avatar(scene, { apikey });
await avatar.loadAvatar(assetUrl);

Inerence speech request

  • ask avatar a question
avatar.inferenceRequest({
   npcId: 19,
   endUserId: 123,
   voiceId: 'Giorgio',
   message: 'hello what are you doing',
});

Testing sdk locally

yarn dev

Readme

Keywords

none

Package Sidebar

Install

npm i @meetkai/babylon-mkms-npc-sdk

Weekly Downloads

0

Version

0.3.0

License

Apache-2.0

Unpacked Size

1.4 kB

Total Files

2

Last publish

Collaborators

  • meetkai
  • thomasmeetkai
  • jacklinpm