🎉 限时特惠活动公告、获取优惠码、最高立减3200元
ai-digital-human/
├── frontend/ # 前端项目
│ ├── src/ # 源代码
│ └── public/ # 静态资源
├── backend/ # 后端服务
│ ├── api/ # API接口
│ ├── core/ # 核心功能
│ └── models/ # 模型定义
└── models/ # AI模型文件<!-- 数字人组件示例 -->
<template>
<div class="digital-human">
<video ref="videoRef" :src="modelUrl"></video>
<div class="controls">
<button @click="speak">说话</button>
<button @click="express">表情</button>
</div>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useDigitalHuman } from '@/composables'
const videoRef = ref<HTMLVideoElement>()
const { modelUrl, speak, express } = useDigitalHuman()
</script>