1. Voice Acoustic Parameters
voice_remix_puck_7f8a
1-Click Acoustic Style Presets:
24 kHz Linear PCM
Ready to synthesize
0.0s / 3.4s
3. Developer Code Export
import base64
from google import genai
client = genai.Client()
# 1. Remix base voice into a new stored voice resource
remixed_voice = client.voices.create(
store=True,
voice={
"model": "gemini-3.8-flash-tts",
"type": "prompted",
"prompted": {
"base_voice": "Puck",
"input": "Make the voice sound slightly older...",
},
},
)
print(f"Stored Voice ID: {remixed_voice.id}")
# 2. Synthesize speech using the remixed voice ID
interaction = client.interactions.create(
model="gemini-3.8-flash-tts",
input=[{"type": "user_input", "content": [{"type": "text", "text": "..."}]}],
response_format={"type": "audio"},
generation_config={"speech_config": [{"voice": remixed_voice.id}]},
)
import { GoogleGenAI } from "@google/genai";
const client = new GoogleGenAI();
// 1. Remix base voice into a new stored voice resource
const remixedVoice = await client.voices.create({
store: true,
voice: {
model: "gemini-3.8-flash-tts",
type: "prompted",
prompted: {
base_voice: "Puck",
input: "Make the voice sound slightly older...",
},
},
});
console.log(`Stored Voice ID: ${remixedVoice.id}`);
// 2. Synthesize speech using the remixed voice ID
const interaction = await client.interactions.create({
model: "gemini-3.8-flash-tts",
input: [{ type: "user_input", content: [{ type: "text", text: "..." }] }],
response_format: { type: "audio" },
generation_config: { speech_config: [{ voice: remixedVoice.id }] },
});
# 1. Remix base voice via POST /v1beta/voices
curl -X POST "https://generativelanguage.googleapis.com/v1beta/voices" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"store": true,
"voice": {
"model": "gemini-3.8-flash-tts",
"type": "prompted",
"prompted": {
"base_voice": "Puck",
"input": "Make the voice sound slightly older..."
}
}
}'
Non-destructive Copy-On-Write
24kHz Linear PCM WAV
Dual Flash/Lite Support