번역
CometAPI POST /v1/audio/translations를 사용해 선택한 번역 모델과 응답 형식으로 음성 오디오를 영어 텍스트로 번역합니다.
첫 번째 요청
지원되는 오디오 파일을model 및 file과 함께 전송하세요. 먼저 짧은 샘플로 시작해 업로드 처리, 언어 감지, 출력 파싱을 확인하세요.
응답 읽기
기본 응답에는 번역된 영어text가 포함됩니다. 다른 응답 형식을 요청하는 경우, 해당 형식에 맞게 응답을 파싱하세요.
다음 단계
인증
Bearer token authentication. Use your CometAPI key.
본문
The audio file to translate. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm.
The audio translation model to use. Choose a current speech model from the Models page.
Optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.
The output format for the translation.
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 translation result in English.
The translated text in English.