From f9143a05c20e652b3fe9666f2b290bd8708374b1 Mon Sep 17 00:00:00 2001 From: jelveh Date: Sun, 3 May 2026 11:24:38 -0700 Subject: [PATCH] Add Gemini/xAI TTS and xAI STT examples --- src/docs/src/examples.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/docs/src/examples.js b/src/docs/src/examples.js index 017ed451e..7a66bad8a 100644 --- a/src/docs/src/examples.js +++ b/src/docs/src/examples.js @@ -193,6 +193,18 @@ const examples = [ slug: 'ai-txt2speech-elevenlabs', source: '/playground/examples/ai-txt2speech-elevenlabs.html', }, + { + title: 'Text to Speech with Gemini', + description: 'Generate speech with Gemini voices using Puter.js AI API. Run and experiment with this TTS example in the playground.', + slug: 'ai-txt2speech-gemini', + source: '/playground/examples/ai-txt2speech-gemini.html', + }, + { + title: 'Text to Speech with xAI (Grok)', + description: 'Generate speech with xAI Grok voices using Puter.js AI API. Run and experiment with this TTS example in the playground.', + slug: 'ai-txt2speech-xai', + source: '/playground/examples/ai-txt2speech-xai.html', + }, { title: 'Voice Changer', description: 'Swap a sample clip into a new voice using Puter.js AI speech-to-speech helpers.', @@ -217,6 +229,12 @@ const examples = [ slug: 'ai-speech2txt', source: '/playground/examples/ai-speech2txt.html', }, + { + title: 'Transcribe with xAI (Grok)', + description: 'Transcribe audio using xAI Grok speech-to-text with Puter.js AI API. Run and experiment with this example in the playground.', + slug: 'ai-speech2txt-xai', + source: '/playground/examples/ai-speech2txt-xai.html', + }, { title: 'Text to Video', description: 'Generate videos from text with Puter.js AI API. Run and experiment with this text-to-video example in the playground.',