Speech to text

gemini-3.5-transcribe

Long-context multimodal speech-to-text with advanced speaker diarization, code-switching, and domain adaptation.

Native waveform: Word and segment timestamps when with_timestamps is true.. Live price and availability are on GET /v1/models/gemini-3.5-transcribe.

  • Supports auto language detection across 85+ locales.
  • With with_timestamps, result.words has each word with start and end in seconds, and result.segments groups them into sentences.
  • Word times are approximate: Google returns them on a 0.1 s grid and some words have end equal to start. Good for captions, not for karaoke. For tight word times use parakeet-tdt-0.6b-v3 or whisper-large-v3 with timestamp_granularity word.

Parameters

FieldTypeDescription
params.language
Default auto
stringLanguage code, or auto to detect the language.
params.with_timestamps
Default false
booleanReturn result.words (word, start, end in seconds) and result.segments (start, end, text). timestamp_granularity word or segment turns it on too. Timings come only with verbatim transcripts, so it cannot be combined with smart_transcription.
params.speaker_diarization
Default false
booleanPrefix each speaker turn with Speaker 1:, Speaker 2:, and so on.
params.smart_transcription
Default false
booleanRemove filler words and false starts. Cannot be combined with with_timestamps.
params.promptstringUp to 1000 characters of context, names, or terms.
params.temperature
Default 0.0
number0.0 to 1.0.

Example

curl https://api.pascalai.co/v1/speech-to-text \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F model=gemini-3.5-transcribe \
  -F params='{"with_timestamps":true,"language":"en"}' \
  -F file=@input.wav

curl https://api.pascalai.co/v1/speech-to-text/$JOB_ID \
  -H "Authorization: Bearer $PASCAL_API_KEY"