@sibiaoke/meta-human
v1.0.3
Published
> 数智人
Downloads
29
Readme
Meta Human
数智人
开发
# 安装
npm i @sibiaoke/meta-human使用
import MetaHuman from '@sibiaoke/meta-human';
import '@sibiaoke/meta-human/dist/style.css';
const metaHuman = new MetaHuman({
// 配置
appid: 'xxxxxxxxx',
appSecret: 'ssssssssss',
url: 'https://***',
wsUrl: 'wss://***'
});
// 发送消息
metaHuman.sendMsg('hello world');Options 参数
| 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | appid | 应用ID | string | - | | appSecret | 应用密钥 | string | - | | url | 服务接口地址 | string | - | | wsUrl | ws地址 | string | - |
