Transcription
提供中Send an audio or video link. Get the full text, the spoken language, timed segments, every word with its own timing and a ready SRT file for subtitles.
Transcription
入力
audio_urlA public https link to the audio or video file.- cafe-live-english-820bbfaa.mp3Reading the length…
languageThe spoken language as a 2- or 3-letter code; leave it out to detect it.$0.004768 per started minute.
Hello and welcome to our coffee shop. Today we have fresh chocolate cakes. Want to try them?
Language: eng · 0:07 transcribed
SRT
1 00:00:00,200 --> 00:00:02,240 Hello and welcome to our coffee shop. 2 00:00:03,040 --> 00:00:05,160 Today we have fresh chocolate cakes. 3 00:00:05,880 --> 00:00:06,500 Want to try them?
Word timings (17)
- 0:00.20–0:00.50Hello
- 0:00.80–0:00.90and
- 0:00.98–0:01.28welcome
- 0:01.32–0:01.38to
- 0:01.42–0:01.54our
- 0:01.58–0:01.82coffee
- 0:01.90–0:02.24shop.
- 0:03.04–0:03.40Today
- 0:03.46–0:03.54we
- 0:03.58–0:03.84have
- 0:03.90–0:04.18fresh
- 0:04.28–0:04.66chocolate
- 0:04.72–0:05.16cakes.
- 0:05.88–0:05.98Want
- 0:06.00–0:06.08to
- 0:06.12–0:06.32try
- 0:06.34–0:06.50them?
仕組み
- 01Send the fileAn https link to an MP3, WAV, M4A, MP4, MOV or WEBM.
- 02We transcribe itEvery word, with its timing.
- 03Get the textText, segments and SRT, billed by the minute read.
コードから Transcription を呼び出す
One endpoint and one key, on the same balance as the playground. The request below is the example's own.
https:/ / api.opennan.com/ v1/ audio/ transcriptionsAPI キーを取得
コンソールでキーを作成します。プレイグラウンドと同じ残高を使います。
キーを作成最初のリクエストを送る
プレイグラウンドが送るのと同じリクエストです。OPENNAN_KEY にキーを設定してください。
curl https://api.opennan.com/v1/audio/transcriptions \ -H "Authorization: Bearer $OPENNAN_KEY" \ -H "Content-Type: application/json" \ -d '{"audio_url":"https://cdn.opennan.com/examples/voice/cafe-live-english-820bbfaa.mp3","language":"en"}' # Then poll until "status" is "succeeded" or "failed": curl https://api.opennan.com/v1/tasks/<task id> -H "Authorization: Bearer $OPENNAN_KEY"タスクを確認する
呼び出すとすぐにタスク ID が返ります。終わるまでタスクを確認します:
GEThttps:// api.opennan.com/ v1/ tasks/ {id} - queued
- ワーカーの空き待ち
- running
- 生成中
- succeeded
- 完了: outputs[].url にファイルがあります
- failed
- 失敗: 料金はかかりません
エラーと直し方
401キーがない、または間違っている
コンソールで作ったキーを Authorization: Bearer ヘッダーで送ってください。
402残高不足
請求ページで残高を追加し、同じ呼び出しをもう一度送ってください。
400受け付けられない値がある
error.message にフィールド名が出ます。パラメーター表の値を使ってください。
429リクエストが多すぎる
数秒待ってから再試行し、429 が続くたびに待ち時間を延ばしてください。
AI アプリに Opennan を追加
一度の設定で、AI が Opennan のすべてのツールを使えます:動画、画像、チャット、音声、音楽、効果音、3D、字幕、吹き替え。お使いのアプリを選んで手順に従ってください。
https:/ / api.opennan.com/ v1/ mcpCodex CLI、Codex アプリ、Codex の IDE 拡張で使えます(共通の ~/.codex/config.toml)。アプリや IDE が OPENNAN_KEY を読めない場合は、キーを書いた config.toml の方法を使ってください。Codex はツールを呼ぶ前に確認するので、承認して続けます。
キーを OPENNAN_KEY として保存
# macOS / Linux (zsh shown; bash: ~/.bashrc) echo 'export OPENNAN_KEY="sk-..."' >> ~/.zshrc source ~/.zshrc # Windows (PowerShell), then open a new terminal setx OPENNAN_KEY "sk-..."Opennan プラグインをインストール:サーバーと、モデル選び・価格確認・結果待ちを AI に教えるスキルが入ります
codex plugin marketplace add Opennan/opennan-ai-plugin codex plugin add opennan@opennanまたはサーバーだけを追加
codex mcp add opennan --url https://api.opennan.com/v1/mcp --bearer-token-env-var OPENNAN_KEYまたは ~/.codex/config.toml にこれを追加
[mcp_servers.opennan] url = "https://api.opennan.com/v1/mcp" http_headers = { Authorization = "Bearer sk-..." }opennan が一覧にあるか確認
codex mcp listCodex を再起動して、何でも頼んでください
“ネオン街に降る雨の 5 秒動画と、それに合う曲とポスター画像を作って。”
sk-... をご自身のキーに置き換え、他人に見せないでください。キーを持つ人は残高を使えます。キーがなくてもツール一覧は表示できますが、生成にはキーが必要です。
AI エージェントから使う
エージェントに Opennan の MCP サーバーを追加して、このツールを呼び出します。
- ツール
- transcribe_audio
- 引数の例
{ "audio_url": "https://cdn.opennan.com/examples/voice/cafe-live-english-820bbfaa.mp3", "language": "en" }
Transcription: よくある質問
Transcription の料金は?
$0.004768 per minute. The Run button shows the exact price for your input before you start.
コードから呼び出すには?
API キーを付けて POST https://api.opennan.com/v1/audio/transcriptions を送ります。タスク ID が返るので、成功か失敗になるまで https://api.opennan.com/v1/tasks/{id} を確認します。
AI エージェントから使えますか?
はい。MCP サーバー https://api.opennan.com/v1/mcp を追加して transcribe_audio ツールを呼び出すか、エージェントに https://api.opennan.com/llms.txt を読ませてください。
実行が失敗したら?
失敗した実行には料金がかかりません。支払いは結果に対してだけです。