Documentation ¶ Index ¶ func HandleSpeech(c echo.Context, options mo.Option[types.SpeechRequestOptions]) mo.Result[any] func HandleVoices(c echo.Context, _ mo.Option[types.VoicesRequestOptions]) mo.Result[any] func ListVoices(_ context.Context) ([]types.Voice, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HandleSpeech ¶ func HandleSpeech(c echo.Context, options mo.Option[types.SpeechRequestOptions]) mo.Result[any] func HandleVoices ¶ func HandleVoices(c echo.Context, _ mo.Option[types.VoicesRequestOptions]) mo.Result[any] func ListVoices ¶ added in v0.1.12 func ListVoices(_ context.Context) ([]types.Voice, error) ListVoices returns the static list of OpenAI TTS voices. OpenAI's TTS voice catalog is not fetched from an API — it's documented static data, so this function is credential-free and always succeeds. Types ¶ This section is empty. Source Files ¶ View all Source files speech.govoices.go Click to show internal directories. Click to hide internal directories.