Loading...
Loading...
Compare original and translation side by side
SDK-first diagnostics: first verify the user is on the official SDK — many issues (polling, reconnection, retries) are solved automatically. See sdk-integration for setup and policy.
优先使用SDK诊断:首先确认用户是否使用官方SDK——许多问题(轮询、重连、重试)会自动解决。查看sdk-integration了解设置和规范。
apiKeyapi_keyGLADIA_API_KEYx-gladia-keyapiKeyapi_keyGLADIA_API_KEYx-gladia-key| Plan | Pre-recorded | Live | Notes |
|---|---|---|---|
| Free | 3 | 1 | 10 hrs/month total |
| Starter | 25 | 30 | — |
| Growth | 25 | 30 | — |
| Enterprise | Unlimited | Unlimited | — |
| 套餐 | 预录制转录 | 实时转录 | 备注 |
|---|---|---|---|
| Free | 3 | 1 | 每月总计10小时 |
| Starter | 25 | 30 | — |
| Growth | 25 | 30 | — |
| Enterprise | 无限制 | 无限制 | — |
code_switching: truelanguages{
"language_config": {
"languages": ["en", "fr", "es"],
"code_switching": true
}
}code_switching: truelanguages{
"language_config": {
"languages": ["en", "fr", "es"],
"code_switching": true
}
}intensitypronunciations{
"vocabulary": [
{ "value": "Gladia", "pronunciations": ["gla-dee-ah"], "intensity": 0.5 }
]
}intensitypronunciations{
"vocabulary": [
{ "value": "Gladia", "pronunciations": ["gla-dee-ah"], "intensity": 0.5 }
]
}wsRetry/v2/livewsRetry/v2/live/v2/pre-recorded/:idtranscribe()poll()const result = await client.preRecorded().transcribe(audio, options, {
interval: 5000, // 5 seconds between polls
});/v2/pre-recorded/:idtranscribe()poll()const result = await client.preRecorded().transcribe(audio, options, {
interval: 5000, // 轮询间隔5秒
});stop_recordingsession.stopRecording()session.stop_recording()stop_recordingsession.stopRecording()session.stop_recording(){
"messages_config": {
"receive_partial_transcripts": true
}
}{
"messages_config": {
"receive_partial_transcripts": true
}
}pii_redaction: truepii_redaction: trueencodingsample_ratebit_depthchannelswav/pcmencodingsample_ratebit_depthchannelswav/pcmpre_processing.audio_enhancer: truepre_processing.audio_enhancer: truelanguagescode_switchinglanguagescode_switchingcallback_urlcallback_urlimport { Webhook } from "svix";
const wh = new Webhook(webhookSecret);
wh.verify(payload, headers);import { Webhook } from "svix";
const wh = new Webhook(webhookSecret);
wh.verify(payload, headers);GLADIA_API_KEYlanguagesstopRecording()stop_recording()statuserror_messageGLADIA_API_KEYlanguagesstopRecording()stop_recording()statuserror_message