mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +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
|
@ -1721,7 +1721,11 @@ const docTemplate = `{
|
|||
"voice": {
|
||||
"description": "voice audio file or speaker id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"response_format": {
|
||||
"description": "(optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus",
|
||||
"type": "string"
|
||||
},
|
||||
}
|
||||
},
|
||||
"schema.ToolCall": {
|
||||
|
|
|
@ -1714,6 +1714,10 @@
|
|||
"voice": {
|
||||
"description": "voice audio file or speaker id",
|
||||
"type": "string"
|
||||
},
|
||||
"response_format": {
|
||||
"description": "(optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1742,4 +1746,4 @@
|
|||
"in": "header"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -679,6 +679,9 @@ definitions:
|
|||
voice:
|
||||
description: voice audio file or speaker id
|
||||
type: string
|
||||
response_format:
|
||||
description: (optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus
|
||||
type: string
|
||||
type: object
|
||||
schema.ToolCall:
|
||||
properties:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue