Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gemini 3.5 Transcribe

Model id: google/gemini-3.5-transcribe. Gemini 3.5 Transcribe is Google’s speech-to-text model for recorded audio: automatic detection of 85+ languages including mixed-language speech, speaker labels

This documentation is valid for the following list of our models:

  • google/gemini-3.5-transcribe

Model Overview

Gemini 3.5 Transcribe is Google’s speech-to-text model for recorded audio: automatic detection of 85+ languages including mixed-language speech, speaker labels for up to 8 speakers, word-level timestamps, custom vocabulary, and a smart mode that removes filler words and formats the text. Files up to 20 MB and one hour of audio (30 minutes with speaker labels or word timestamps).

How to make the first API call

1️⃣ Required setup (don’t skip this) ▪ Create an account: Sign up on the AI/ML API website (if you don’t have one yet). ▪ Generate an API key: In your account dashboard, create an API key and make sure it’s enabled in the UI.

2️ Copy the code example At the bottom of this page, pick the snippet for your preferred programming language (Python / Node.js) and copy it into your project.

3️ Update the snippet for your use case ▪ Insert your API key: replace <YOUR_AIMLAPI_KEY> with your real AI/ML API key. ▪ Select a model: set the model field to the model you want to call. ▪ Provide input: fill in the request input field(s) shown in the example.

4️ (Optional) Tune the request See the API schema below for optional generation settings.

5️ Run your code Run the updated code in your development environment.

API Schema

post
Body
modelstring · enumRequiredPossible values:
urlstring · uriOptional

URL of the input audio file. Provide either url or audio — exactly one is required, not both.

Example: https://example.com/audio/sample.mp3
audiostring · binaryOptional

The audio file to transcribe. Provide either url or audio — exactly one is required, not both. Up to 20 MB.

language_codesstring[] · max: 100Optional

BCP-47 codes of the languages spoken in the audio, for example ["he-IL"] or ["en-US", "es-ES"]. Omit them to detect the language automatically (85+ languages, mixed-language speech included).

Example: ["en-US"]
custom_vocabularystring[] · max: 1000Optional

Up to 1,000 names, acronyms or terms to bias recognition toward (best results with up to 100). Cannot be combined with diarization or word_timestamps.

Example: ["Gemini","BigQuery"]
diarizationbooleanOptional

Split the transcript into speaker turns labelled spk_1, spk_2, … (up to 8 speakers; 3 or more is experimental). Audio is then limited to 30 minutes.

word_timestampsbooleanOptional

Return start and end times for every word. May lower accuracy; audio is then limited to 30 minutes.

modestring · enumOptional

"verbatim" (the default) keeps every spoken word, fillers included. "smart" removes fillers and false starts, applies self-corrections and formats lists, numbers and dates; it cannot be combined with diarization or word_timestamps.

Possible values:
Responses
200

Successful response.

application/json
generation_idstringRequired
post/v1/stt/create
curl --request POST \
  --url 'https://api.aimlapi.com/v1/stt/create' \
  --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{"model": "google/gemini-3.5-transcribe"}'
200

Successful response.

{
  "generation_id": "text"
}

Code Example

Response

Last updated

Was this helpful?