Documentation
¶
Index ¶
Constants ¶
const OpenAISpeechPath = "/v1/audio/speech"
OpenAISpeechPath is the OpenAI-compatible speech route. It lets OpenAI-audio clients (Open WebUI with AUDIO_TTS_ENGINE=openai, the OpenAI SDKs) use SpeechKit's TTS router as their speech base URL and returns raw audio bytes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) MountOpenAICompat ¶ added in v0.73.3
MountOpenAICompat registers the OpenAI-compatible speech route.