Google Ai Studio Ttsのロゴ

Google Ai Studio Tts

コミュニティ
maystudios
google-ai-studio-tts

claude-in-chrome MCPサーバーを介してChrome上のWebアプリを操作し、Google AI StudioのGemini Flash TTSで音声、ポッドキャスト、ナレーション、複数話者の会話を生成します。ユーザーが(1)Gemini/Google AI Studio TTSでポッドキャスト、オーディオブックの章、ナレーション、音声ドラマ、ボイスオーバーを作成する、(2)台本を複数話者の音声にする(例:「2人のホストによるポッドキャスト」「Speaker 1 / Speaker 2の会話」「PuckとZephyr」)、(3)Scene、Sample Context、Director's note(Style/Pace/Accent)、Audio Profile、音声選択、Temperatureを使ってTTSプロンプトを調整する、(4)[enthusiastic]、[whispers]、[laughs]などのインラインタグ付きで音声を生成する場合に使用します。「AI Studio TTSを使って」「このポッドキャストをAI Studioで生成して」「gemini-3.1-flash-tts-previewでレンダリングして」「Aoede/Puck/Zephyrの声で読んで」などの依頼や、ブラウザーでGeminiの音声生成を行う依頼で起動します。

Add to TypingMind

概要

公開者maystudios
リポジトリclaude-skills
スキル名google-ai-studio-tts
スター
30
フォーク
3
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    maystudiosがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Google Ai Studio Tts」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/maystudios/claude-skills/tree/main/google-ai-studio-tts
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/maystudios/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/google-ai-studio-tts .claude/skills/google-ai-studio-tts
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGoogle Ai Studio Ttsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGoogle Ai Studio Ttsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Google Ai Studio Ttsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Google AI Studio TTS (browser-driven)

Overview

This skill drives https://aistudio.google.com/generate-speech in the user's already-open Chrome (via the claude-in-chrome MCP tools) to render audio with Gemini Flash TTS. The user must already be signed in to Google AI Studio in Chrome — never create accounts, never enter passwords, never share credentials.

There are two input modes in the UI. Choose based on what the user asked for:

User intentModeWhy
Single narrator, monologue, or short voiceoverTextOne textarea, fastest path.
Multi-speaker dialogue with simple Speaker 1: … linesTextSame single textarea — prefix lines with Speaker 1:, Speaker 2:.
Multi-speaker with per-line speaker chip, finer control, easy editingComposerOne block per utterance, each with its own voice chip.
Anything where the user explicitly mentions "scene", "sample context", "director's note", or wants the speaker chips visibleComposerMatches the visible UI elements they're referring to.

Both modes share the Scene and Sample Context fields and the Speaker settings panel on the right.

Required tools

Load these claude-in-chrome MCP tools via ToolSearch before starting:

select:mcp__claude-in-chrome__tabs_context_mcp,mcp__claude-in-chrome__tabs_create_mcp,mcp__claude-in-chrome__navigate,mcp__claude-in-chrome__find,mcp__claude-in-chrome__form_input,mcp__claude-in-chrome__javascript_tool,mcp__claude-in-chrome__computer

End-to-end workflow

1. Open the page

tabs_context_mcp({ createIfEmpty: true })
navigate({ tabId, url: "https://aistudio.google.com/generate-speech?model=gemini-3.1-flash-tts-preview" })

If the URL shows a banner that the chosen model is unavailable and AI Studio auto-switched to another (e.g. gemini-3.1-flash-tts-preview), accept it — don't fight the redirect. Close the dismiss-banner ("X") with a click before continuing so it doesn't cover Run controls.

2. Pick the mode

The two toggle buttons live at the top right of the playground:

js
// Switch to Composer
document.querySelectorAll('button.toggle-button').forEach(b => {
  if (b.innerText.trim().endsWith('Composer')) b.click();
});
// or for Text
document.querySelectorAll('button.toggle-button').forEach(b => {
  if (b.innerText.trim().endsWith('Text')) b.click();
});

The active toggle has class ms-button-active.

3. Fill the shared fields

Both modes share:

  • Scene (sets the acoustic / situational frame): textarea[aria-label="Scene"]
  • Sample Context (gives the model a tone reference): textarea[aria-label="Sample Context"]

These are Angular textareas. Plain el.value = ... will NOT trigger Angular's form binding — use the helper in references/selectors.md, or prefer the form_input MCP tool with a ref obtained from find.

Leave these fields empty if the user did not provide a scene / sample context. They are optional.

4a. Fill input — Text mode

One textarea: textarea[aria-label="Enter a prompt"].

Format conventions (these are not validated by the UI but are what the model is trained on):

  • Single narrator: just write the text. Optionally prepend an inline tag, e.g. [warm] Welcome to today's episode.
  • Multi-speaker: prefix each line with Speaker 1:, Speaker 2:, …
Speaker 1: [enthusiastic] Welcome back to the show!
Speaker 2: [agreement] Thanks, glad to be here.

See references/audio-tags.md for the inline-tag vocabulary.

4b. Fill input — Composer mode

Composer renders one speech block per utterance. Each block has:

  • A speaker chip: button.voice-chip.ms-button-filter-chip (text reads Speaker N - VoiceName)
  • A textarea: textarea[aria-label="Speech block text"]

To add a new block: click button.add-speech-block-button. The new block inherits the previous speaker by default.

To populate Composer from a script:

  1. Make sure the existing blocks match what you need (delete extras with the per-block × button if necessary).
  2. For each line in the script, ensure a block exists; click "add speech block" to create more.
  3. Set the text of each block (textarea[aria-label="Speech block text"], indexed in DOM order).
  4. Set the speaker chip per block (see Step 5).

5. Choose voices

The right-hand Speaker settings panel shows one card per active speaker (Speaker 1, Speaker 2, …). Clicking a card opens the full voice picker drawer with 32 voices. See references/voices.md for the full catalogue with their character traits.

Inside the voice picker drawer:

  • Audio Profile — free text, e.g. "An authoritative main news anchor."
  • Director's note — three dropdowns: Style (e.g. Vocal Smile), Pace (e.g. Rapid Fire), Accent (e.g. American (Gen)).
  • Voice — searchable list. Click a voice to select it.

Close the drawer by clicking the × in its top-right when done. The active voice card on the playground has class active-voice-card.

In Composer mode each block's voice chip can be changed independently — clicking it opens a popover where you assign that block to Speaker 1, Speaker 2, … or add a new speaker.

6. (Optional) Adjust Temperature

Expand "Model settings" (right panel, above Speaker settings) to reveal Temperature. Range 0–2, default 1. The number input is input.slider-number-input near the label "Temperature". Higher = more variation in delivery. Only touch this if the user asked for it.

7. Run generation

Click button.ctrl-enter-submits (the "Run Ctrl ↵" button at the bottom right), or press Ctrl+Enter while focus is in the prompt area:

js
document.querySelector('button.ctrl-enter-submits').click();

Generation usually takes 5–30 s depending on length. Poll for completion by checking the audio player's duration counter (the right-hand 0:00 / X:XX increments once render is done) or by watching for the download icon to become enabled.

8. Hand off / download

Tell the user the audio is ready and point at the playback controls. Downloading is the user's choice — only click the download (cloud-arrow) icon if the user asked for a file.

Style guidance for prompting

  • Inline tags belong inside the speaker line, e.g. Speaker 1: [whispers] don't tell anyone. They do not stack across lines.
  • Scene is for acoustics + setting, not the script. Bad: "Speaker 1 says hi". Good: "Quiet kitchen, morning light, minimal reverb."
  • Sample Context is for delivery tone, e.g. "Podcast style, fast, slightly overlapping pacing, energetic and warm."
  • For two-host podcasts, Puck (Upbeat / Middle pitch) + Zephyr (Bright / Higher pitch) is the AI Studio default and a safe baseline. See references/voices.md for alternatives.

What NOT to do

  • Don't sign in, accept new ToS, or change account settings — those are off-limits.
  • Don't download generated audio without an explicit user ask.
  • Don't navigate away from the AI Studio tab while a render is in flight.
  • Don't fabricate voice names — the catalogue is fixed at 32 (see references/voices.md). If the user asks for a voice not in the list, suggest the closest match.
  • Don't el.value = "…" on Angular textareas without dispatching input and change events; the form will revert. Use the helper in references/selectors.md or form_input.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Google Ai Studio Tts」では何ができますか?

claude-in-chrome MCPサーバーを介してChrome上のWebアプリを操作し、Google AI StudioのGemini Flash TTSで音声、ポッドキャスト、ナレーション、複数話者の会話を生成します。ユーザーが(1)Gemini/Google AI Studio TTSでポッドキャスト、オーディオブックの章、ナレーション、音声ドラマ、ボイスオーバーを作成する、(2)台本を複数話者の音声にする(例:「2人のホストによるポッドキャスト」「Speaker 1 / Speaker 2の会話」「PuckとZephyr」)、(3)Scene、Sample Context、Director's note(Style/Pace/Accent)、Audio Profile、音声選択、Temperatureを使ってTTSプロンプトを調整する、(4)[enthusiastic]、[whispers]、[laughs]などのインラインタグ付きで音声を生成する場合に使用します。「AI Studio TTSを使って」「このポッドキャストをAI Studioで生成して」「gemini-3.1-flash-tts-previewでレンダリングして」「Aoede/Puck/Zephyrの声で読んで」などの依頼や、ブラウザーでGeminiの音声生成を行う依頼で起動します。

TypingMindでGoogle Ai Studio Ttsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Google Ai Studio Ttsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGoogle Ai Studio Ttsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/maystudios/claude-skills/tree/main/google-ai-studio-ttsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Google Ai Studio Ttsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Google Ai Studio Ttsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGoogle Ai Studio Ttsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Google Ai Studio Tts」は無料ですか?

はい。maystudiosがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇