v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpeechReq

type SpeechReq struct {
	g.Meta `path:"/speech" tags:"audio" method:"post" summary:"audio接口"`
	sdkm.SpeechRequest
}

Speech接口请求参数

type SpeechRes

type SpeechRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Speech接口响应参数

type TranscriptionsReq

type TranscriptionsReq struct {
	g.Meta `path:"/transcriptions" tags:"audio" method:"post" summary:"transcriptions接口"`
	sdkm.AudioRequest
	File     *ghttp.UploadFile `json:"file" type:"file" v:"required"`
	Duration float64           `json:"duration"`
}

Transcriptions接口请求参数

type TranscriptionsRes

type TranscriptionsRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Transcriptions接口响应参数

Jump to

Keyboard shortcuts

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