Speech-to-Text (STT)
使用语音转文本 (STT) 模型将音频输入转换为文本。这可实现转录服务、语音命令和其他语音驱动的交互。
请求体
modelstring必填
urlstring可选
audioobject可选
custom_intentobject可选
custom_topicobject可选
custom_intent_modestring可选
custom_topic_modestring可选
detect_languageboolean可选
detect_entitiesboolean可选
detect_topicsboolean可选
diarizeboolean可选
dictationboolean可选
diarize_versionstring可选
extrastring可选
filler_wordsboolean可选
intentsboolean可选
keywordsstring可选
languagestring可选
measurementsboolean可选
multi_channelboolean可选
numeralsboolean可选
paragraphsboolean可选
profanity_filterboolean可选
punctuateboolean可选
searchstring可选
sentimentboolean可选
smart_formatboolean可选
summarizestring可选
tagstring[]可选
topicsboolean可选
utterancesboolean可选
utt_splitnumber可选
响应
201成功
post
/sttPOST /stt HTTP/1.1
Host: api.aimlapi.com
Content-Type: application/json
Accept: */*
Content-Length: 591
{
"model": "text",
"url": "text",
"audio": {},
"custom_intent": {},
"custom_topic": {},
"custom_intent_mode": "text",
"custom_topic_mode": "text",
"detect_language": true,
"detect_entities": true,
"detect_topics": true,
"diarize": true,
"dictation": true,
"diarize_version": "text",
"extra": "text",
"filler_words": true,
"intents": true,
"keywords": "text",
"language": "text",
"measurements": true,
"multi_channel": true,
"numerals": true,
"paragraphs": true,
"profanity_filter": true,
"punctuate": true,
"search": "text",
"sentiment": true,
"smart_format": true,
"summarize": "text",
"tag": [
"text"
],
"topics": true,
"utterances": true,
"utt_split": 1
}201成功
无内容
最后更新于