ElevenLabs-DotNet 2.0.0
What's Changed
- ElevenLabs-DotNet 2.0.0 by @StephenHodgson in #26
- Refactoring to support latest API changes
- Biggest Change is the new VoiceClip signature for all endpoints which contains all the information about the generated clip.
- Refactored HistoryEndpoint
- Made HistoryInfo public
- GetHistoryAsync now returns HistoryInfo and contains additional pageSize and startAfter properties
- Added GetHistoryItemAsync
- Renamed GetHistoryAudioAsync -> DownloadHistoryAudioAsync
- DownloadHistoryItemsAsync now returns a list of VoiceClips, and no longer asks for saveDirectory
- HistoryItem.TextHash was modified to generate hash based on item id, instead of voiceId
- Refactored ModelsEndpoint
- Added Model.MultiLingualV2
- Refactored TextToSpeechEndpoint
- Refactored TextToSpeechAsync
- Removed saveDirectory parameter
- Removed deleteCachedFile parameter
- Added outputFormat parameter
- Changed return type to VoiceClip
- Refactored StreamTextToSpeechAsync
- Removed saveDirectory parameter
- Removed deleteCachedFile parameter
- Added outputFormat
- Refactored TextToSpeechAsync
- Added partialClipCallback for queuing and playing partial clips as they are received
- Refactored VoiceGenerationEndpoint
- Renamed GenerateVoiceAsync -> GenerateVoicePreviewAsync
- Removed saveDirectory parameter
- Renamed GeneratedVoiceRequest -> GeneratedVoicePreviewRequest
- Renamed GenerateVoiceAsync -> GenerateVoicePreviewAsync
- Refactored VoicesEndpoint
- Preserve default values in VoiceSettings
- Refactored GetVoiceAsync
- withSettings parameter is now false by default per API
- Renamed GetVoiceSampleAsync -> DownloadVoiceSampleAsync
- Changed return type to VoiceClip
- Removed saveDirectory parameter
Full Changelog: 1.3.6...2.0.0