Plugins

Gemini TTS

A plugin that enables the cursor to speak text aloud using high-quality Google Gemini TTS capabilities.

GeminiTTSPlugin

The GeminiTTSPlugin utilizes Gemini's Text-to-Speech APIs to read text aloud with realistic, high-quality voices natively and seamlessly during an automated script run.

Demo

Options

Prop

Type

Usage

import { Cursor } from '@cursor.js/core';
import { GeminiTTSPlugin } from '@cursor.js/pro';

const cursor = new Cursor();

// Configure the TTS plugin with speaker options
cursor.use(new GeminiTTSPlugin({
  speaker: 'Aoede',
  style: 'conversational'
}));

// Use the say() action to generate TTS natively
cursor.hover('.btn').say('I have a realistic voice now.').click();