curl --request POST \
--url https://api.skiesoft.com/v1/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form model=thiannu-v1
{
"task": "transcribe",
"duration": 6.5,
"text": "你好,歡迎使用聽有 AI。這是一個測試錄音。",
"segments": [
{
"id": 0,
"start": 0,
"end": 6.5,
"text": "你好,歡迎使用聽有 AI。這是一個測試錄音。"
}
]
}
語音辨識
語音轉文字
將音訊轉錄為輸入語言。相容於 OpenAI API 格式,並支援額外的說話者分類。
POST
/
audio
/
transcriptions
curl --request POST \
--url https://api.skiesoft.com/v1/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form model=thiannu-v1
{
"task": "transcribe",
"duration": 6.5,
"text": "你好,歡迎使用聽有 AI。這是一個測試錄音。",
"segments": [
{
"id": 0,
"start": 0,
"end": 6.5,
"text": "你好,歡迎使用聽有 AI。這是一個測試錄音。"
}
]
}
Authorizations
使用 API 金鑰進行身份驗證。格式:Bearer YOUR_API_KEY
Body
multipart/form-data
音訊檔案和辨識參數
Response
轉錄成功
執行的任務類型。
Available options:
transcribe Example:
"transcribe"
音訊的持續時間,以秒為單位。
Example:
6.5
完整的轉錄文字內容。
Example:
"你好,歡迎使用聽有 AI。這是一個測試錄音。"
從音訊中提取的片段,包含時間戳記、標記和其他元資料。僅在 timestamp_granularities 請求包含 segment 時包含。
Show child attributes
Show child attributes
偵測到的說話者數量
