翻訳
CometAPI の POST /v1/audio/translations を使用して、音声を英語テキストに翻訳します。Whisper モデルと複数の出力形式をサポートしています。
Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
承認
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.