Speech to text

google-chirp-2

Google Cloud Chirp 2 foundation ASR model supporting 100+ global languages.

Native waveform: Word timestamps and speaker diarization.. Live price and availability are on GET /v1/models/google-chirp-2.

Parameters

FieldTypeDescription
params.language
Default en-US
stringBCP-47 language tag (supports 100+ languages).
params.diarize
Default false
booleanEnable speaker diarization.
params.word_timestamps
Default true
booleanInclude word time offsets.

Example

curl https://api.pascalai.co/v1/speech-to-text \
  -H "Authorization: Bearer $PASCAL_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F model=google-chirp-2 \
  -F params='{"language":"en-US"}' \
  -F file=@input.wav

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