Text Generator > Voice Chat
Voice Chat
Hold the mic and talk. Your speech is transcribed, answered by Gemma, and spoken back with a Supertonic voice. Replies autoplay.
Your conversation will appear here.
Hold the button (or press and hold Space) to talk.
curl -X POST "https://api.text-generator.io/api/v1/voice-chat" \
-H "secret: YOUR_API_KEY" \
-F "[email protected]" \
-F 'history=[{"role":"user","content":"hi"},{"role":"assistant","content":"hello!"}]' \
-F "voice=F1" -F "language=en" -F "speed=1.0"
# -> {"user_text": "...", "reply_text": "...", "audio_base64": "...", "audio_sample_rate": 24000}