Voice design

gemini-3.8-flash-voice-design

Prompt-guided natural voice creation using Gemini 3.8 Flash multimodal conditioning.

Native waveform: 24 kHz 16-bit PCM WAV.. Live price and availability are on GET /v1/models/gemini-3.8-flash-voice-design.

Parameters

FieldTypeDescription
params.voice
Default Puck
stringPrebuilt Gemini voice: Puck, Charon, Kore, Fenrir, or Aoede.
params.language
Default en-US
stringLanguage tag (e.g. en-US, hi-IN, es-ES, fr-FR, de-DE, ja-JP).
params.speed
Default 1.0
numberSpeaking rate multiplier from 0.5 to 2.0.
params.style_promptstringText-guided emotion or prosody modifier (e.g. cheerful narrator, calm host).
params.output_format
Default wav (flac for stems)
stringwav, flac, mp3, or model (the model native file).
params.output_sample_rate
Default source
string or integersource keeps the upload (or the model rate when there is no upload). model uses the model native rate. Or pass 8000, 16000, 22050, 24000, 32000, 44100, or 48000.
params.output_channels
Default source
stringsource, model, mono, or stereo. Applied after inference, not before.

Example

curl https://api.pascalai.co/v1/voice-design \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "gemini-3.8-flash-voice-design",
  "text": "Welcome to the future of voice synthesis.",
  "voice_description": "A deep, authoritative documentary narrator with a warm baritone timbre.",
  "params": {
    "output_format": "wav"
  }
}'

curl https://api.pascalai.co/v1/voice-design/$JOB_ID \
  -H "Authorization: Bearer $PASCAL_API_KEY"