RealtimeSessionInput
이 콘텐츠는 아직 번역되지 않았습니다.
type RealtimeSessionInput = { input: { channels: 1; codec: "pcm16"; sampleRate: 16000 | 8000 | 24000; }; maxAmount?: string; maxDurationSeconds: number; model?: string; operation: "transcribe" | "translate"; targetLanguage?: string;};创建实时转写或翻译会话所需的音频格式、时长与预算参数。
input: { channels: 1; codec: "pcm16"; sampleRate: 16000 | 8000 | 24000;};channels
Section titled “channels”channels: 1;codec: "pcm16";sampleRate
Section titled “sampleRate”sampleRate: 16000 | 8000 | 24000;maxAmount?
Section titled “maxAmount?”optional maxAmount?: string;maxDurationSeconds
Section titled “maxDurationSeconds”maxDurationSeconds: number;model?
Section titled “model?”optional model?: string;operation
Section titled “operation”operation: "transcribe" | "translate";targetLanguage?
Section titled “targetLanguage?”optional targetLanguage?: string;이 페이지가 도움이 되었나요?
피드백 감사합니다. 이 문서를 계속 개선하겠습니다.