跳到正文
cccskills
免费在 GitHub 公开

gemini-tts

Generates spoken MP3 audio from text or Markdown with Gemini TTS. Use for narration, accessibility, voice previews, or reading documents aloud.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts星标 4(GitHub 4 + cccskills 0)
集成工具Gemini

实测评分 未实测

查看安装方法

包含的文件(5)

  • SKILL.md3.8 KB
  • requirements.txt24 B
  • scripts/generate_tts.py15.8 KB
  • scripts/test_generate_tts.py2.2 KB
  • templates.json7.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Gemini TTS

Generate an MP3 from inline text or a UTF-8 text/Markdown file with the bundled script.

Default delivery

For any unqualified TTS request, use the bundled natural-tech-conference default. The CLI applies it automatically when --template is omitted:

  • voice: Algenib (gravelly, lower pitch)
  • profile: experienced software engineer speaking normally at a small San Francisco technical conference
  • scene: a mid-sized breakout room, explaining the topic plainly to engineering peers
  • delivery: neutral conversational American English, low emotional range, ordinary sentence stress, modest pauses, and no narrator, marketer, keynote, radio-host, or audiobook performance
  • speed: 1.3225 (15% faster than 1.15)

Keep this default unless the user explicitly requests another voice, delivery style, accent, template, or speed.

Setup

Resolve paths relative to this SKILL.md; do not assume a particular install directory.

python3 -m pip install -r <skill-directory>/requirements.txt
export GEMINI_API_KEY='...'

GOOGLE_API_KEY and OPENCODE_GOOGLE_API_KEY are accepted as fallbacks. Set GEMINI_TTS_MODEL to override the default model.

Before generation

Confirm or infer:

  • source text or file
  • output path
  • any explicit override to the default delivery
  • whether playback is wanted

For long input, report the chunk count before making paid API calls. Ask for confirmation when the request is unexpectedly large or the user has not clearly approved generation.

Discover voices and templates

python3 <skill-directory>/scripts/generate_tts.py --list-voices
python3 <skill-directory>/scripts/generate_tts.py --list-templates
python3 <skill-directory>/scripts/generate_tts.py --show-template natural-tech-conference

Bundled templates include the default natural-tech-conference plus mystery-narrator, newscaster, whisper, empathetic, deadpan, promo-hype, and podcast-newsletter.

Generate audio

Using the default delivery:

python3 <skill-directory>/scripts/generate_tts.py \
  --text 'Explain this clearly and naturally.' \
  --output ./narration.mp3

From a file with an explicit alternate template:

python3 <skill-directory>/scripts/generate_tts.py \
  --file ./article.md \
  --template podcast-newsletter \
  --output ./article.mp3 \
  --play

Customize delivery when needed:

python3 <skill-directory>/scripts/generate_tts.py \
  --file ./script.txt \
  --voice Kore \
  --profile 'Calm technical narrator' \
  --scene 'A quiet recording booth' \
  --notes 'Clear diction, measured pace, neutral accent' \
  --speed 1.1 \
  --output ./script.mp3

Explicit CLI flags override an explicit template. An explicit template overrides the catalog default. If the catalog has no default, the hard fallback remains Orus at speed 1.0.

Reliability controls

  • --max-workers N: concurrent chunk requests; default 1
  • --requests-per-minute N: request throttle; default 8; 0 disables it
  • --allow-partial: write an MP3 despite failed chunks; avoid unless the user accepts missing audio

Environment equivalents are GEMINI_TTS_MAX_WORKERS and GEMINI_TTS_RPM.

Verification

After generation:

  1. Confirm the command exited successfully.
  2. Confirm the MP3 exists and is non-empty.
  3. Report the exact output path.
  4. If playback was requested, report when no supported player is installed.

Never print API keys or include them in command examples, logs, or output files.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps. Use for interviews, meetings, lectures, podcasts, voice notes, and similar recordings.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

better-ui

免费

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, theme switch transitions, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Explores and validates a feature, component, workflow, or behavior change before implementation. Use when work needs clarified intent, compared approaches, and an approved direction.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

bro

免费

Restates the previous response in plain, concise language. Use only when the user invokes bro or explicitly asks for a simpler explanation.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Generates or edits raster images through OpenAI's Image API. Use for text-to-image work, reference-based edits, masks, transparent assets, and product or editorial visuals.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Applies language-neutral engineering standards when writing or reviewing code, especially around boundaries, failures, domain models, dependencies, tests, and type safety.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

查看 iurysza 的全部技能

报告此技能的问题