This skill enables commercial-grade speech synthesis and transcription using Gemini-TTS and Chirp 3, supporting multi-speaker voices and diarization.
npx playbooks add skill cnemri/google-genai-skills --skill speech-build
Use this skill to implement audio generation and transcription workflows using the google-genai and google-cloud-speech SDKs.
from google import genai
from google.genai import types
# For STT: from google.cloud import speech_v2
client = genai.Client()
Aoede, Puck...) and languages.response = client.models.generate_content(
model="gemini-2.5-flash-preview-tts",
contents="Hello, world!",
config=types.GenerateContentConfig(
response_modalities=["AUDIO"],
speech_config=types.SpeechConfig(
voice_config=types.VoiceConfig(
prebuilt_voice_config=types.PrebuiltVoiceConfig(voice_name='Kore')
)
)
)
)
# Requires google-cloud-speech
from google.cloud import speech_v2
# ... (See stt.md for full setup)
response = speech_client.recognize(...)Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.