음성 전사
CometAPI POST /v1/audio/transcriptions를 사용해 선택한 전사 모델과 응답 형식으로 오디오를 텍스트로 전사합니다.
첫 번째 요청
model과 file이 포함된 지원되는 오디오 파일을 전송하세요. 업로드 처리, 인증, 응답 파싱을 검증하는 동안에는 첫 번째 파일을 짧게 유지하세요.
응답 읽기
기본 응답에는 전사된text가 포함됩니다. 다른 응답 형식을 요청하는 경우, 기본 JSON 형태를 가정하지 말고 클라이언트가 해당 형식을 파싱하도록 하세요.
다음 단계
인증
Bearer token authentication. Use your CometAPI key.
본문
The audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm.
The speech-to-text model to use. Choose a current speech model from the Models page.
The language of the input audio in ISO-639-1 format (e.g., en, zh, ja). Supplying the language improves accuracy and latency.
Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
The output format for the transcription.
json, text, srt, verbose_json, vtt Sampling temperature between 0 and 1. Higher values produce more random output; lower values are more focused. When set to 0, the model auto-adjusts temperature using log probability.
0 <= x <= 1응답
The transcription result.
The transcribed text.