speech

package
v0.2.53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() http.HandlerFunc

NewHandler returns a simple /v1/api/speech/transcribe handler. It expects multipart/form-data with field "file" (audio). It returns JSON: {"text": "..."}.

Types

type Response

type Response struct {
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL