FastRTC Demos using Global Cloudflare Calls TURN network

FastRTC
community
AI & ML interests
Real Time Communication for AI apps in Python
Recent Activity
View all activity
Organization Card
FastRTC

The Real-Time Communication Library for Python.
Turn any python function into a real-time audio and video stream over WebRTC or WebSockets.
Installation
pip install fastrtc
to use built-in pause detection (see ReplyOnPause), and text to speech (see Text To Speech), install the vad
and tts
extras:
pip install fastrtc[vad, tts]
Key Features
- 🗣️ Automatic Voice Detection and Turn Taking built-in, only worry about the logic for responding to the user.
- 💻 Automatic UI - Use the
.ui.launch()
method to launch the webRTC-enabled built-in Gradio UI. - 🔌 Automatic WebRTC Support - Use the
.mount(app)
method to mount the stream on a FastAPI app and get a webRTC endpoint for your own frontend! - ⚡️ Websocket Support - Use the
.mount(app)
method to mount the stream on a FastAPI app and get a websocket endpoint for your own frontend! - 📞 Automatic Telephone Support - Use the
fastphone()
method of the stream to launch the application and get a free temporary phone number! - 🤖 Completely customizable backend - A
Stream
can easily be mounted on a FastAPI app so you can easily extend it to fit your production application. See the Talk To Claude demo for an example on how to serve a custom JS frontend.
Docs
spaces
35
Running
on
CPU Upgrade
26
Gemini Audio Video
♊
Gemini understands audio and video!
Running
on
CPU Upgrade
2
Talk to OpenAI (Gradio UI)
🗣
Talk to OpenAI (Gradio UI)
Running
on
CPU Upgrade
9
Talk to OpenAI
🗣
Talk to OpenAI using their multimodal API
Running
Qwen Phone Chat
📞
Talk with Qwen Omni over the Phone
Running
4
Talk to Sambanova (Gradio)
💻
Llama 3.2 - SambaNova API (Gradio)
Running
3
Talk to Sambanova
💻
Llama 3.2 - SambaNova API
models
1
datasets
None public yet