语音转文字接口
Audio
Speech to Text
POST
语音转文字接口
Note: For speech model name settings, refer to the System Supported Transcription Speech Model List. The request/response parameter structure is fully compatible with OpenAI. When switching models, you only need to modify the corresponding model name. If the model request/response parameters are inconsistent with OpenAI, GeekAI will automatically convert and align them at the backend.
cURL Request Example
Authorizations
API认证token
Body
multipart/form-data
语音识别模型
音频文件
提示文本,用于指导转录风格
音频语言
响应格式,
Available options:
text, srt, vtt, json 是否返回流式响应,默认false,whisper-1 模型不支持该设置
Example:
true
采样温度,控制输出的随机性
自动重试次数,默认0,表示失败不重试
Response
成功响应
纯文本格式的转录结果
