v0.2.0¶
Release Date: 2026-07-16
Adds a second product surface — asynchronous batch avatar video generation (render) — and renames the real-time package from avatar to live so the two surfaces are self-describing.
Highlights¶
- New
renderpackage: provider-agnostic batch avatar video generation (submit narration audio, poll, download talking-head MP4) - Package
avatarrenamed tolive(breaking; see below) registrygainsRenderProviderFactory;ProviderFactoryrenamed toLiveProviderFactory
Breaking Changes¶
- Package
avatarrenamed tolive. Update imports fromgithub.com/plexusone/omniavatar-core/avatartogithub.com/plexusone/omniavatar-core/live; all type and function names are unchanged (avatar.Provider→live.Provider, etc.) - Error string prefixes changed from
avatar:tolive:;ProviderErroroutput prefix changed fromavatar/tolive/ registry.ProviderFactoryrenamed toregistry.LiveProviderFactory
Added¶
render.Providerinterface:Generate,Status,Downloadfor asynchronous video generationrender.AudioUploaderoptional capability interface for providers that can host local audio filesrender.GenerateRequestwithAvatarID,AudioURL(primary, drives lip-sync from existing narration),Script(secondary, provider TTS), dimensions, background, and provider-specificExtensionsrender.Job,render.JobState(pending, processing, completed, failed withTerminal()),render.JobStatuswith normalized state plus provider-nativeRawStatusrender.Waitpolling helper with context cancellation and configurable interval- Sentinel errors:
ErrAudioUploadUnsupported,ErrInvalidRequest,ErrJobNotFound,ErrJobFailed,ErrJobNotCompleted,ErrProviderUnavailable,ErrProviderAuthFailed,ErrInvalidConfig render.ProviderErrorfor wrapping provider-specific errorsregistry.RenderProviderFactorytype for render provider registration- Unit tests for the
renderpackage (Wait, state transitions, request validation)
Documentation¶
- README.md and doc.go updated to document both
liveandrendersurfaces - MkDocs site added (interfaces reference for both surfaces, architecture, releases) with a
DocsGitHub Actions workflow deploying viamkdocs gh-deploy