mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-27 22:15:00 +00:00
feat(tts): Implement naive response_format for tts endpoint (#4035)
Signed-off-by: n-Arno <arnaud.alcabas@gmail.com>
This commit is contained in:
parent
57908df956
commit
65c3df392c
6 changed files with 61 additions and 9 deletions
|
@ -32,6 +32,7 @@ type TTSRequest struct {
|
|||
Voice string `json:"voice" yaml:"voice"` // voice audio file or speaker id
|
||||
Backend string `json:"backend" yaml:"backend"`
|
||||
Language string `json:"language,omitempty" yaml:"language,omitempty"` // (optional) language to use with TTS model
|
||||
Format string `json:"response_format,omitempty" yaml:"response_format,omitempty"` // (optional) output format
|
||||
}
|
||||
|
||||
type StoresSet struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue