Skip to content

Add New colab for Gemini TTS VR EAP#2969

Closed
ahmetkizilay wants to merge 3 commits into
mainfrom
ahmetkizilay-patch-1
Closed

Add New colab for Gemini TTS VR EAP#2969
ahmetkizilay wants to merge 3 commits into
mainfrom
ahmetkizilay-patch-1

Conversation

@ahmetkizilay

Copy link
Copy Markdown
Contributor

Description

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Follow the CONTRIBUTING Guide.
  • Ensure the tests and linter pass (Run ./scripts/format.sh from the repository root to format).
  • If you are creating a new notebook/sample:
    • You are listed as the author in your notebook or README file.
    • Your account is listed in CODEOWNERS for the file(s).

Fixes #<issue_number_goes_here> 🦕

@ahmetkizilay
ahmetkizilay requested a review from a team as a code owner July 10, 2026 18:40

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the filename of this to be get_started_with_gemini_tts_voice_replication.ipynb This way we can use the same notebook when its out of EAP, and VR is an ambiguous abbreviation.

Also, is this something that can be shared publicly even if the feature is EAP?

"source": [
"\n",
"\n",
"This is an EAP demo of Voice Replication feature on Gemini 3 TTS models. Access is limited.\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a link to the access request form?

"\n",
"### Prerequisites:\n",
"\n",
"1. Use the default [Python 3 Runtime](https://screenshot.googleplex.com/A7A6tR4NoFWMvAd) to run this colab.\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use internal links.

Comment on lines +327 to +330
" if ENVIRONMENT == \"STAGING\":\n",
" base_url = \"https://staging-aiplatform.sandbox.googleapis.com\"\n",
" elif ENVIRONMENT == \"AUTOPUSH\":\n",
" base_url = \"https://autopush-aiplatform.sandbox.googleapis.com\"\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this ever requires STAGING/AUTOPUSH to run, I'd advise against putting in this repository. Remove this block, we shouldn't expose these internal endpoints.

" elif ENVIRONMENT == \"AUTOPUSH\":\n",
" base_url = \"https://autopush-aiplatform.sandbox.googleapis.com\"\n",
"\n",
" url_vertex = f\"{base_url}/v1/projects/{project_id}/locations/global/publishers/google/models/{model_id}:generateContent\"\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these requests be made with the Gen AI SDK? or TTS SDK?

"output.register_callback('generate_voice_key_rpc', generate_voice_key_rpc)\n",
"\n",
"# 3. Define the HTML and JavaScript UI as a raw string to prevent Python from parsing JS escape characters\n",
"html_ui = r\"\"\"\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do this without HTML? Is it actually needed or could it be done with Jupyter Notebook built-ins?

Updated references from Vertex AI to Agent Platform in the notebook.
@holtskinner

Copy link
Copy Markdown
Collaborator

Closing out because this is EAP only

@ahmetkizilay
ahmetkizilay deleted the ahmetkizilay-patch-1 branch July 10, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants