For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Ask AIPlaygroundLoginFree API Key
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
    • Getting Started with Speech to Text
  • Pre-Recorded Audio
    • Getting Started
    • Feature Overview
    • Template Apps
  • Streaming Audio
    • Compare Flux to Nova-3
  • Models and Languages
    • Models & Languages Overview
    • Languages Support
    • Language Detection
    • Multilingual Codeswitching
    • Model Options
    • Version
  • Formatting
    • Speaker Diarization
    • Dictation
    • Filler Words
    • Measurements
    • Numerals
    • Paragraphs
    • Profanity Filtering
    • Punctuation
    • Redaction
    • Smart Formatting
    • Supported Entity Types
    • Utterances
    • Utterance Split
  • Custom Vocabulary
    • Find and Replace
    • Keyterm Prompting
    • Keywords
    • Search
  • Media Input Settings
    • Channels
    • Encoding
    • Multichannel
    • Sample Rate
  • Results Processing
    • Understanding Word Confidence Scores
    • STT Callback
    • STT Tagging
    • Extra Metadata
  • Migrating
    • Migrating From Amazon Web Services (AWS) Transcribe to Deepgram
    • Migrating From Google Speech-to-Text (STT) to Deepgram
    • Migrating From OpenAI Whisper to Deepgram
    • Migrating from AssemblyAI Speech-to-Text to Deepgram
LogoLogo
Ask AIPlaygroundLoginFree API Key
On this page
  • Enable Feature
  • cURL Example
  • Query Parameters
  • Analyze Response
  • Response Example
  • Before Dictation
  • After Dictation
  • Commands List
Formatting

Dictation

Dictation automatically formats spoken commands for punctuation into their respective punctuation marks.
Was this page helpful?
Previous

Filler Words

Filler Words can help transcribe interruptions in your audio, like "uh" and "um".
Next
Built with
Pre-recorded Streaming:NovaStreaming: Flux English (all available regions)

Dictation is a feature of Deepgram’s Speech-to-Text API that converts spoken dictation commands into their corresponding punctuation marks.

This feature enhances the readability of transcriptions by accurately representing verbal commands as punctuation. For example, saying “comma” as a word will be transcribed as the punctuation mark ”,”.

Enable Feature

To enable Dictation, set the dictation parameter to true in your API request. Note that the punctuate parameter must also be enabled for Dictation to work.

The Punctuation feature must be enabled for Dictation to work. Be sure to add dictation=true&punctuate=true to your request.

cURL Example

To transcribe audio with dictation enabled, run the following cURL command in a terminal or your favorite API client:

cURL
$curl \
> --request POST \
> --header 'Authorization: Token YOUR_DEEPGRAM_API_KEY' \
> --header 'Content-Type: audio/wav' \
> --data-binary @youraudio.wav \
> --url 'https://api.deepgram.com/v1/listen?dictation=true&punctuate=true'

Query Parameters

ParameterValueData TypeDescription
dictationtrue / falsebooleanConverts spoken dictation commands into their corresponding punctuation marks.
punctuatetrue / falsebooleanEnables punctuation in the transcriptions.

Analyze Response

Once dictation is enabled, the results will appear in the transcript with the spoken commands converted to punctuation marks. Below is an example of what the transcript will look like when dictation is enabled.

Response Example

Before Dictation

Text
Patient presents with a headache comma nausea comma and vomiting period They report the headache started two days ago period Vital signs are within normal limits period

After Dictation

Text
Patient presents with a headache, nausea, and vomiting. They report the headache started two days ago. Vital signs are within normal limits.

In the response example above, spoken commands such as “comma” and “period” have been converted to their corresponding punctuation marks, making the transcription more readable and easier to understand.

Commands List

The following commands will be converted.

CommandConverted Text
period.
comma,
colon:
question mark?
exclamation mark!
new line<\n>
new paragraph<\n\n>