feat(swagger): update swagger (#11149)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
mudler's LocalAI [bot]
2026-07-27 23:35:42 +02:00
committed by GitHub
parent 2ecf893c6c
commit 12f2e1b99c
3 changed files with 16 additions and 0 deletions

View File

@@ -6897,6 +6897,10 @@ const docTemplate = `{
"description": "(optional) desired output sample rate",
"type": "integer"
},
"speed": {
"description": "Speed is the OpenAI ` + "`" + `speed` + "`" + ` field (0.25-4.0). It is a pointer so an\nexplicit ` + "`" + `\"speed\": 0` + "`" + ` (invalid, rejected with 400) is distinguishable\nfrom an omitted field (left at the backend default). It is normalised\ninto Params[\"speed\"] so it reaches the backend over the same channel as\nthe other per-request generation parameters.",
"type": "number"
},
"stream": {
"description": "(optional) enable streaming TTS",
"type": "boolean"

View File

@@ -6894,6 +6894,10 @@
"description": "(optional) desired output sample rate",
"type": "integer"
},
"speed": {
"description": "Speed is the OpenAI `speed` field (0.25-4.0). It is a pointer so an\nexplicit `\"speed\": 0` (invalid, rejected with 400) is distinguishable\nfrom an omitted field (left at the backend default). It is normalised\ninto Params[\"speed\"] so it reaches the backend over the same channel as\nthe other per-request generation parameters.",
"type": "number"
},
"stream": {
"description": "(optional) enable streaming TTS",
"type": "boolean"

View File

@@ -2336,6 +2336,14 @@ definitions:
sample_rate:
description: (optional) desired output sample rate
type: integer
speed:
description: |-
Speed is the OpenAI `speed` field (0.25-4.0). It is a pointer so an
explicit `"speed": 0` (invalid, rejected with 400) is distinguishable
from an omitted field (left at the backend default). It is normalised
into Params["speed"] so it reaches the backend over the same channel as
the other per-request generation parameters.
type: number
stream:
description: (optional) enable streaming TTS
type: boolean