stt
orc stt transcribe creates a transcript from audio. Pass the returned job ID to orc jobs to check status and retrieve the result.
Usage
orc stt transcribe --audio-url "$AUDIO_URL" --jsonTranscribe audio at a public HTTPS URL.
Subcommands
transcribe
音声を文字起こし
orc stt transcribe [options]Unique options
--idempotency-key
同じ入力の再送で同じジョブを返すキー。1〜255 文字の印字可能 ASCII。同じキーで異なる入力を送ると 409 です。
Type: string. Optional.
orc stt transcribe --idempotency-key <value>--audio-url
(required) 処理が終わるまで取得可能な公開 HTTPS 音声 URL。ローカルファイルは先にアップロードします。
Type: string. Optional.
orc stt transcribe --audio-url <value>--segmentation
単語の時刻から文単位の区間を作る設定。TTS では timestamps.words も有効にします。; (JSON object, e.g. '{"custom_id":"x"}')
Type: string. Optional.
orc stt transcribe --segmentation <value>--language-code
文字起こしの言語ヒント。省略時は自動判定し、結果では検出した言語を返します。; max 16 chars
Type: string. Optional.
orc stt transcribe --language-code <value>--duration-seconds
入力の長さの参考値。受付条件と料金はサーバーの実測値で決まります。
Type: number. Optional.
orc stt transcribe --duration-seconds <value>--metadata
追跡用にジョブへ保存する値。生成先には送信されません。秘密や個人情報を含めないでください。; (JSON object, e.g. '{"custom_id":"x"}')
Type: string. Optional.
orc stt transcribe --metadata <value>--mode
結果の受け取り方。async は即時受付、sync と subscribe は最大30秒の待機、webhook は終端通知です。; enum: async|sync|subscribe|webhook
Type: string. Optional.
orc stt transcribe --mode <value>--webhook-url
終端通知を受ける公開 HTTPS URL。単独指定時は webhook モードになります。; max 2048 chars
Type: string. Optional.
orc stt transcribe --webhook-url <value>--wait-timeout-seconds
sync または subscribe で HTTP 応答を待つ秒数。時間切れ後も同じジョブを追跡します。
Type: number. Optional.
orc stt transcribe --wait-timeout-seconds <value>--project-id
同じワークスペース内でジョブを保存するプロジェクト。存在しない場合は課金前に拒否されます。; max 200 chars
Type: string. Optional.
orc stt transcribe --project-id <value>Global Options
The following global options can be used with orc stt:
For details and examples, see global options.