Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cnemri avatar

Speech Build

  • 49 installs
  • 124 repo stars
  • Updated February 6, 2026
  • cnemri/google-genai-skills

Guides implementing text-to-speech and speech-to-text in Python with Google's Gemini-TTS and Chirp 3 models, including multi-speaker and custom voice.

About

Provides code patterns for TTS and STT using google-genai and google-cloud-speech SDKs. A developer uses it to build speech generation, transcription, or diarization in Python.

  • Gemini-TTS single/multi-speaker and instant custom voice
  • Chirp 3 transcription, diarization, and streaming

Speech Build by the numbers

  • 49 all-time installs (skills.sh)
  • Ranked #900 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cnemri/google-genai-skills --skill speech-build

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs49
repo stars124
Last updatedFebruary 6, 2026
Repositorycnemri/google-genai-skills

What it does

Guides implementing text-to-speech and speech-to-text in Python with Google's Gemini-TTS and Chirp 3 models, including multi-speaker and custom voice.

Files

SKILL.mdMarkdownGitHub ↗

Speech Skill (TTS & STT)

Use this skill to implement audio generation and transcription workflows using the google-genai and google-cloud-speech SDKs.

Quick Start Setup

from google import genai
from google.genai import types
# For STT: from google.cloud import speech_v2

client = genai.Client()

Reference Materials

  • [Text-to-Speech (TTS)](references/tts.md): Gemini-TTS, Chirp 3 HD, Instant Custom Voice.
  • [Speech-to-Text (STT)](references/stt.md): Chirp 3 Transcription, Diarization, Streaming.
  • [Voices & Locales](references/voices.md): Available voices (Aoede, Puck...) and languages.
  • [Prompting Guide](references/prompting.md): How to control style, accent, and pacing in Gemini-TTS.
  • [Source Code](references/source_code.md): Deep inspection of SDK internals.

Common Workflows

1. Generate Speech (Gemini-TTS)

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')
            )
        )
    )
)

2. Transcribe Audio (Chirp 3)

# Requires google-cloud-speech
from google.cloud import speech_v2
# ... (See stt.md for full setup)
response = speech_client.recognize(...)

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.