[Doc][Frontend][Model][VoxCPM2] Support instructions and per-request cfg_value (#3118)

Signed-off-by: gnomefin <alfian@uselevers.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Alfian FirmansyahandHongsheng Liu authored and GitHub committed 2026-04-28 11:24:04 +08:00
1 parent 569899e8d9
commit 1069a144a8
5 files changed
+472 -9

No files matched your search

@@ -83,7 +83,12 @@ class OpenAICreateSpeechRequest(BaseModel):
)
extra_params: dict[str, Any] | None = Field(
default=None,
description=("Optional model-specific parameters passed directly to the model's extra_args."),
description=(
"Optional model-specific parameters passed directly to the model's extra_args. "
"VoxCPM2 reads `cfg_value` (float in 0.1-10.0; default 2.0) from this dict to set "
"the classifier-free guidance scale per request; Voxtral TTS reads `cfg_alpha` here "
"the same way."
),
)
@field_validator("stream_format")