MINARA

將語音轉寫為文本

POST /v1/voice/transcribe:通過已配置的語音提供商轉寫上傳的錄音,優先使用 ElevenLabs Scribe,必要時回退到 OpenAI。

POST /v1/voice/transcribe

通過當前場景配置的語音 Provider 轉寫完整錄音。可選表單字段包括 languagescenariocomposerconversationfile)和 persist(保存原始錄音並返回 file_key)。gpt-live-transcribe 不會發送到此文件端點。

方法POST
路徑/v1/voice/transcribe
認證設置 GATEWAY_AUTH_TOKEN 時需要 Authorization: Bearer <token>
類別voice

請求體

multipart/form-data

響應體

{ "ok": true, "text": "...", "file_key": "chat/files/..." }

本頁目錄