v0.1.0¶
Release Date: 2026-07-12
Initial release of omniavatar-core, providing core interfaces for real-time AI avatars.
Highlights¶
- Initial release of omniavatar-core interfaces
- Provider-agnostic avatar abstraction for real-time AI avatars
- Support for HeyGen, Tavus, and bitHuman avatar providers
Added¶
avatar.Providerinterface for creating avatar sessionsavatar.Sessioninterface for managing avatar lifecycle (Start, WaitForJoin, Close)avatar.AudioDestinationinterface for streaming TTS audio to avatarsavatar.SessionConfigfor provider-agnostic session configurationavatar.SessionCallbacksfor avatar events (OnAvatarJoined, OnPlaybackStarted, OnPlaybackFinished, OnError)avatar.AudioConfigwith DefaultAudioConfig() for 24kHz mono PCM16avatar.Metricsfor avatar performance metrics (join latency, playback latency)registry.ProviderFactorytype for provider registrationregistry.ProviderConfigwith Extensions map for provider-specific optionsregistry.WithAPIKey(),WithBaseURL(),WithExtension()option functions- Sentinel errors:
ErrSessionNotStarted,ErrSessionAlreadyStarted,ErrAvatarJoinTimeout,ErrProviderNotFound avatar.ProviderErrorfor wrapping provider-specific errors
Documentation¶
- README.md with architecture overview, interfaces, and usage examples
- Package documentation in doc.go with code examples
- Interface documentation with usage patterns