hsuehly/xiaoyu
基于 Flutter 的开源数字人陪伴 App,支持 iOS 与 Android,接入 Vidu 和 Agora,实现实时语音、视频互动与快捷动作。
What is Xiaoyu?
Xiaoyu (小遇) is a digital-human companion app built with Flutter. It lets you create a custom digital character — choosing its look, personality, and voice — and then interact with that character through real-time voice and video calls.
The app currently supports iOS and Android, is at version 0.1.0+1, and is in beta testing. It connects to Vidu S2-Avatar for real-time digital-human interaction.
What can you do with it?
- Customize a character – Pick an official image or upload your own photo, set the character’s personality, and edit or save drafts.
- Choose a voice – Select from Qianwen and Doubao voice options, with category-based browsing and preview.
- Make real-time calls – Full-screen digital-human interaction with controls for muting the microphone, toggling playback, changing audio output, and hanging up.
- Send text and quick actions – Qianwen supports text chat; both Qianwen and Doubao support categorized quick-action buttons.
- View history – Characters, calls, and messages are saved locally. You can view details and check whether the platform marked a call as ended.
Platforms and setup
- Android: Download the APK from the releases page.
- iOS: An unsigned IPA is available; you need to re-sign it yourself before installing.
- Development uses Flutter 3.50.0 / Dart 3.14.0, and supports Android 8.0+ and iOS 15+.
After running the app, you need to:
- Configure and check your Vidu API Key in Settings → Account.
- Choose an official image or upload a photo, fill in the personality, select a voice, and wait for the character to be ready.
- Tap the character image, confirm billing, allow microphone access, and start the call.
Real calls require Vidu realtime-call permission and account balance. Fees and end status are based on Vidu’s platform records. If a call shows “pending verification,” you can check it later in History.
Current limitations
- The Doubao domestic version supports voice and quick actions, but not text chat and not changing voice during a call.
- Calls require the app to stay in the foreground.
- The following are not yet open in this beta: component version, knowledge-base import, memory management, and in-app voice cloning.
License
Original code is licensed under AGPL-3.0-only. Brand logos and third-party materials are not covered by that license; third-party dependencies and SDKs follow their own licenses and terms.
Related
- Project
- Project
- Project
- Project