Bilal Hameed
38b16a3c41
Added 'wav' and 'pcm' Audio Formats ( #671 )
...
* Added 'wav' and 'pcm' Audio Formats
Added "wav" and "pcm" audio formats as per OpenAI API documentation for createSpeech endpoint.
Ref: https://platform.openai.com/docs/api-reference/audio/createSpeech
Supported formats are mp3, opus, aac, flac, wav, and pcm.
* Removed Extra Newline for Sanity Check
* fix: run goimports to get accepted by the linter
2024-03-07 14:56:50 +04:00
grulex
66bae3ee73
Content-type fix ( #659 )
...
* charset fixes
* make linter happy (#661 )
---------
Co-authored-by: grulex <god@vk.com >
Co-authored-by: Alexander Baranov <677093+sashabaranov@users.noreply.github.com >
2024-02-15 20:11:58 +04:00
xuanming.zhang
6c2e3162df
Added support for CreateSpeech Azure models ( #657 )
2024-02-08 11:40:39 +04:00
pjuhasz
f87909596f
Add canary-tts to speech models ( #603 )
...
Co-authored-by: Peter Juhasz <juhasz.peter@uhusystems.com >
2023-11-24 11:34:25 +04:00
Chris Hua
515de0219d
feat: initial TTS support ( #528 )
...
* feat: initial TTS support
* chore: lint, omitempty
* chore: dont use pointer in struct
* fix: add mocked server tests to speech_test.go
Co-authored-by: Lachlan Laycock <supagroova@gmail.com >
* chore: update imports
* chore: fix lint
* chore: add an error check
* chore: ignore lint
* chore: add error checks in package
* chore: add test
* chore: fix test
---------
Co-authored-by: Lachlan Laycock <supagroova@gmail.com >
2023-11-13 18:35:34 +04:00