# Recommended parameters for pre-recorded (batch) transcription

Last updated: 2026-11-12

The same file transcribed with the right options gives a transcript you can use as it is: the right speaker on
each line, names spelled your way, personal data gone before it is stored. These are starting points by use case;
each request below runs as it is (replace the `audio_url` with your file's). Every option is described in
[Add-ons](/pre-recorded/add-ons/) and the [API reference](/api-reference/v2/pre-recorded/create/).

## Three rules for every use case

- **Set the language when you know it.** `language_config.languages: ["en"]` skips detection: faster, and no
  wrong guess on a noisy first minute. List a few languages only when the file may be in any of them
  ([Supported languages](/pre-recorded/supported-languages/)).
- **Give the names you know.** `custom_vocabulary` makes the model hear your product, people and place names;
  `custom_spelling` writes a word your way once heard. Both are cheap and fix the errors your users see first.
- **Name the model.** `solaria-3` is the one that translates; `solaria-1` is the default when you name
  none. Each has its own price ([Transcribe a file](/pre-recorded/transcribe-a-file/#the-options)).

## Call center

Recorded phone calls: two people, telephone audio, a known language, and personal data you may not keep.

| Option | Value | Why |
|---|---|---|
| `language_config.languages` | `["en"]` | A call's language is known: detection on noisy telephone audio is the first source of errors. |
| `diarization` | `true` | Who said what: the agent and the customer. |
| `diarization_config.number_of_speakers` | `2` | A call has two people: the hint keeps one voice from being split in two. |
| `custom_vocabulary` | your product and plan names | The words a generic model has never heard. |
| `pii_redaction` | `true`, `entity_types: ["GDPR"]` | The personal data of the GDPR preset masked before the transcript is stored. |
| `sentiment_analysis` | `true` | How the customer felt, utterance by utterance. |

```bash
curl -X POST https://eu1.api.gladia.io/v2/pre-recorded \
  -H "x-gladia-key: $GLADIA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"audio_url": "https://eu1.api.gladia.io/file/0199d7a2-0000-7000-8000-00000000f11e", "model": "solaria-3", "language_config": {"languages": ["en"]}, "diarization": true, "diarization_config": {"number_of_speakers": 2}, "custom_vocabulary": true, "custom_vocabulary_config": {"vocabulary": ["Gladia", "Solaria", "Premium Plus"]}, "pii_redaction": true, "pii_redaction_config": {"entity_types": ["GDPR"], "processed_text_type": "MARKER"}, "sentiment_analysis": true}'
```

:::tip[A stereo recording: one speaker per channel]
Many call recorders put the agent on one channel and the customer on the other. Each channel is transcribed on
its own, and every utterance says its `channel`: that tells who spoke without diarization, and never confuses
two voices. Turn `diarization` on as well only when a channel can hold several people (a transfer, a
conference).
:::

## Meetings

A team meeting, a board session, an interview panel: several people, names that matter, a written record.

| Option | Value | Why |
|---|---|---|
| `diarization` | `true` | One line per speaker. |
| `diarization_config.min_speakers` / `max_speakers` | a range, e.g. `2` to `8` | A meeting's size varies: a range adapts without over- or under-splitting voices. |
| `custom_vocabulary` | the participants' and projects' names | The names the record must get right. |
| `name_consistency` | `true` | One spelling per name across the meeting ("Katherine", never also "Catherine"). |
| `named_entity_recognition` | `true` | The people, organizations, dates and amounts mentioned, as a list. |
| `sentences` | `true` | The transcript one sentence per item: ready for minutes. |

```bash
curl -X POST https://eu1.api.gladia.io/v2/pre-recorded \
  -H "x-gladia-key: $GLADIA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"audio_url": "https://eu1.api.gladia.io/file/0199d7a2-0000-7000-8000-00000000f11e", "model": "solaria-3", "language_config": {"languages": ["en"]}, "diarization": true, "diarization_config": {"min_speakers": 2, "max_speakers": 8}, "custom_vocabulary": true, "custom_vocabulary_config": {"vocabulary": ["Katherine Moreau", "Project Atlas"]}, "name_consistency": true, "named_entity_recognition": true, "sentences": true}'
```

Meeting notes: add `"summarization": true` with `"summarization_config": {"type": "bullet_points"}` once your
cluster has an LLM connected ([Summarization](/pre-recorded/add-ons/#summarization)).

To record and transcribe a video call without uploading anything, send a meeting bot:
it takes the same options.

## Podcasts and interviews

Long-form audio, a few speakers, transcripts that become articles and show notes: readability first.

| Option | Value | Why |
|---|---|---|
| `diarization` | `true` | Host and guests apart. |
| `diarization_config.min_speakers` / `max_speakers` | `2` to `4` | The number of guests changes from one episode to the next. |
| `punctuation_enhanced` | `true` | Finer punctuation and casing: text you can publish. |
| `sentences` | `true` | One sentence per item: easy to quote and to cut into paragraphs. |
| `custom_spelling` | the show's and guests' names | Written your way, every time. |

```bash
curl -X POST https://eu1.api.gladia.io/v2/pre-recorded \
  -H "x-gladia-key: $GLADIA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"audio_url": "https://eu1.api.gladia.io/file/0199d7a2-0000-7000-8000-00000000f11e", "model": "solaria-3", "language_config": {"languages": ["en"]}, "diarization": true, "diarization_config": {"min_speakers": 2, "max_speakers": 4}, "punctuation_enhanced": true, "sentences": true, "custom_spelling": true, "custom_spelling_config": {"spelling_dictionary": {"Gladia": ["gladya", "gladiah"]}}}'
```

## Subtitles

SRT and WebVTT files for a video, in its language and in others.

| Option | Value | Why |
|---|---|---|
| `subtitles` | `true` | The subtitle files, in `transcription.subtitles`. |
| `subtitles_config.formats` | `["srt", "vtt"]` | Both: players and platforms differ. |
| `subtitles_config.maximum_characters_per_row` | `42` | The broadcast standard for a readable line. |
| `subtitles_config.maximum_rows_per_caption` | `2` | Two lines on screen at most. |
| `subtitles_config.style` | `"compliance"` | Stricter layout rules, for broadcast and accessibility. |
| `translation` | `true`, with `target_languages` | Subtitles in other languages. Needs `solaria-3`. |

```bash
curl -X POST https://eu1.api.gladia.io/v2/pre-recorded \
  -H "x-gladia-key: $GLADIA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"audio_url": "https://eu1.api.gladia.io/file/0199d7a2-0000-7000-8000-00000000f11e", "model": "solaria-3", "language_config": {"languages": ["en"]}, "subtitles": true, "subtitles_config": {"formats": ["srt", "vtt"], "maximum_characters_per_row": 42, "maximum_rows_per_caption": 2, "style": "compliance"}, "translation": true, "translation_config": {"target_languages": ["fr", "es"]}}'
```

For captions while the video plays, use the live API instead ([Live: recommended parameters](/live/recommended-parameters/)).

## Medical

Consultations and dictations: drug names, dosages, and health data you must not keep in clear.

| Option | Value | Why |
|---|---|---|
| `language_config.languages` | the consultation's language | Medical words are hard enough: no detection on top. |
| `custom_vocabulary` | your drugs, procedures and practitioners | The terms a generic model spells wrong. |
| `pii_redaction` | `true`, `entity_types: ["HIPAA_SAFE_HARBOR"]` | The HIPAA Safe Harbor identifiers masked before the transcript is stored. |
| `diarization` | `true` | The practitioner and the patient apart. |
| `named_entity_recognition` | `true` | The entities mentioned, as a list. |

```bash
curl -X POST https://eu1.api.gladia.io/v2/pre-recorded \
  -H "x-gladia-key: $GLADIA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"audio_url": "https://eu1.api.gladia.io/file/0199d7a2-0000-7000-8000-00000000f11e", "model": "solaria-3", "language_config": {"languages": ["en"]}, "diarization": true, "custom_vocabulary": true, "custom_vocabulary_config": {"vocabulary": ["amoxicillin", "metformin", "echocardiogram"]}, "pii_redaction": true, "pii_redaction_config": {"entity_types": ["HIPAA_SAFE_HARBOR"], "processed_text_type": "MARKER"}, "named_entity_recognition": true}'
```

Where your cluster serves it, `adapter: "medical"` decodes English with a version of the model trained on medical
speech; a cluster without it refuses the job with a `400` that says so, before anything starts.

## Gotchas

- **`code_switching` with no `languages`** lets each part of the file be any language the model knows: on
  similar-sounding languages it guesses wrong. List the 2 to 5 languages that may be spoken.
- **`translation` runs on `solaria-3` only**: on another model the job is refused with a `400`.
- **`summarization` needs an LLM connected to your cluster or workspace**: until then a job asking for it is
  refused with a `400` (coming soon). `audio_to_llm` is refused everywhere
  ([Add-ons: what is refused](/pre-recorded/add-ons/#what-is-refused)).
- **`diarization_config` is a hint**: `number_of_speakers` when you know it, else `min_speakers` and
  `max_speakers`.
- **A wrong option is never ignored**: a misspelled one, or a value of the wrong type, answers `400` with the
  field named in `validation_errors`.

## Related pages

- [Pre-recorded (batch) transcription add-ons](/pre-recorded/add-ons/)
- [Speakers, subtitles and sentences](/pre-recorded/speakers-subtitles-sentences/)
- [Custom vocabulary](/features/custom-vocabulary/)
- [Supported languages for pre-recorded (batch) transcription](/pre-recorded/supported-languages/)
