GifproGifpro

Speak & Reply Instantly! OpenAI Realtime API Voice Chat

CODE PREVIEW

エディタを読み込み中…
P

Prompt

Create a voice chat demo using OpenAI Realtime API. Microphone input streams to API and plays back assistant voice response in real-time.

OpenAI Realtime APIを使うと、低遅延で双方向の音声会話が可能です。このデモでは、マイク入力をAPIにストリーミングし、アシスタントの音声応答をリアルタイムで再生します。

「Start Conversation」をクリックし、マイク許可をしたら話しかけてみてください。アシスタントが自然な音声で応答します。「Stop」で終了。

注意: YOUR_OPENAI_API_KEY を platform.openai.com の有効なキーに置き換えてください。WebRTCとAudioContext対応のブラウザが必要です。

Prompt Overview

OpenAI Realtime API enables low-latency, bidirectional voice conversations. This demo captures microphone input, streams it to the API, and plays back the assistant's voice response — all in real-time.

Click 'Start Conversation', grant microphone permission, and speak. The assistant will respond with natural speech. Click 'Stop' to end.

Note: Replace YOUR_OPENAI_API_KEY with a valid key from platform.openai.com. Requires browser with WebRTC and AudioContext support.

Was this prompt helpful?

Comments

Comments appear after moderation

この記事が役に立ったら投げ銭で応援

Apple Pay / Google Pay / カード (Visa/Mastercard/JCB/Amex) / Link / Alipay / WeChat Pay 対応 · Stripeで安全に決済

開発者が選ぶ最強ツール集

運営者が毎日使っているツール・ガジェット 6選

見る
Homeヘルプ