Add Gemini/xAI TTS and xAI STT examples

This commit is contained in:
jelveh
2026-05-03 11:24:38 -07:00
parent bd30cda4a9
commit f9143a05c2
+18
View File
@@ -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.',