-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Is your feature request related to a problem? Please describe.
The .NET GenAI library currently lacks support for:
The gemini-2.5-flash-preview-native-audio-dialog
model
Ephemeral token authentication for Live API connections
This prevents implementation of secure Live audio-to-audio applications that require temporary authentication credentials instead of persistent API keys.
Describe the solution you'd like
Add support for:
Model Integration: gemini-2.5-flash-preview-native-audio-dialog
model in Live API connections
Ephemeral Token Authentication:
CreateAuthTokenAsync() method for token generation
Ephemeral token support in Live.ConnectAsync() method
Token-based WebSocket authentication headers
Describe alternatives you've considered
API Key Authentication: Functional but unsuitable for applications requiring temporary access credentials
OAuth Authentication: Available but not appropriate for ephemeral access patterns
Manual WebSocket Implementation: Bypasses library benefits and increases development complexity
Additional context
Ephemeral token infrastructure exists in codebase (CreateAuthTokenConfig, LiveConnectConstraints) but lacks public API exposure
Current Live API authentication limited to x-goog-api-key and Authorization: Bearer headers
Feature impacts both audio-to-audio and text-to-text Live API implementations