Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deepgram

connector.deepgram · connector.deepgram_trigger · ai

Transcribe audio, synthesize speech, analyze text and inspect usage with Deepgram.

Vendor API documentation: https://developers.deepgram.com/reference/deepgram-api-overview

Authentication

MethodCredential kindAuth kindFieldsTest request
API keydeepgram/api_keyapi_keyapi_key (secret)yes
Temporary access token (JWT)deepgram/access_tokenbearertoken (secret)

Actions

Node type connector.deepgram. Choose a resource and an operation; each operation has its own parameters.

Transcription

Speech to text for pre-recorded audio.

OperationIDEffectPaginatedCassette tests
Transcribe audio from a URLtranscription.transcribe_urlwrites3
Transcribe an audio filetranscription.transcribe_binarywrites1

Transcribe audio from a URL

Operation transcription.transcribe_url.

NameTypeDefaultRequiredShown whenDescription
urlstringyesAudio URL.
modelresource_locator"nova-3"Values from lookup stt_models.
optionscollection
options.languagestringLanguage (BCP-47).
options.detect_languagebooleanfalse
options.smart_formatbooleantrueSmart formatting.
options.punctuatebooleanfalsePunctuation.
options.paragraphsbooleanfalse
options.utterancesbooleanfalse
options.utt_splitnumberUtterance split (seconds).
options.diarizebooleanfalseSpeaker diarization.
options.multichannelbooleanfalse
options.numeralsbooleanfalse
options.profanity_filterbooleanfalse
options.filler_wordsbooleanfalse
options.measurementsbooleanfalse
options.dictationbooleanfalseDictation commands.
options.redactmulti_optionsOne of pci, pii, numbers.
options.keytermstringKey terms (Nova-3). Comma-separated terms to boost.
options.keywordsstringKeywords (older models). Comma-separated, optionally with intensifiers such as word:2.
options.searchstringSearch terms. Comma-separated.
options.replacestringReplacements. Comma-separated find:replace pairs.
options.summarizebooleanfalse
options.topicsbooleanfalse
options.intentsbooleanfalse
options.sentimentbooleanfalse
options.detect_entitiesbooleanfalseEntities.
options.tagstringUsage tag.
options.callbackstringCallback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL).
options.callback_secretstringEchoed back in metadata.extra.callback_secret so the receiver can check it.
options.mip_opt_outbooleanfalseOpt out of model improvement.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.

Transcribe an audio file

Operation transcription.transcribe_binary.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.
modelresource_locator"nova-3"Values from lookup stt_models.
optionscollection
options.languagestringLanguage (BCP-47).
options.detect_languagebooleanfalse
options.smart_formatbooleantrueSmart formatting.
options.punctuatebooleanfalsePunctuation.
options.paragraphsbooleanfalse
options.utterancesbooleanfalse
options.utt_splitnumberUtterance split (seconds).
options.diarizebooleanfalseSpeaker diarization.
options.multichannelbooleanfalse
options.numeralsbooleanfalse
options.profanity_filterbooleanfalse
options.filler_wordsbooleanfalse
options.measurementsbooleanfalse
options.dictationbooleanfalseDictation commands.
options.redactmulti_optionsOne of pci, pii, numbers.
options.keytermstringKey terms (Nova-3). Comma-separated terms to boost.
options.keywordsstringKeywords (older models). Comma-separated, optionally with intensifiers such as word:2.
options.searchstringSearch terms. Comma-separated.
options.replacestringReplacements. Comma-separated find:replace pairs.
options.summarizebooleanfalse
options.topicsbooleanfalse
options.intentsbooleanfalse
options.sentimentbooleanfalse
options.detect_entitiesbooleanfalseEntities.
options.tagstringUsage tag.
options.callbackstringCallback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL).
options.callback_secretstringEchoed back in metadata.extra.callback_secret so the receiver can check it.
options.mip_opt_outbooleanfalseOpt out of model improvement.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.

Speech

Text to speech with Aura voices.

OperationIDEffectPaginatedCassette tests
Convert text to speechspeech.synthesizewrites1

Convert text to speech

Operation speech.synthesize.

NameTypeDefaultRequiredShown whenDescription
textstringyes
modelresource_locator"aura-2-thalia-en"yesVoice. Values from lookup tts_models.
encodingoptions"mp3"One of mp3, linear16, flac, mulaw, alaw, opus, aac.
containeroptionsOnly for linear16/mulaw/alaw (wav) and opus (ogg). One of none, wav, ogg.
sample_ratenumber
bit_ratenumber
speednumberSpeaking rate multiplier.
output_propertystring"data"Output binary field.

Text intelligence

OperationIDEffectPaginatedCassette tests
Analyze texttext.analyzereads1

Analyze text

Operation text.analyze. Summary, topics, intents and sentiment for a text or a URL to a text document.

NameTypeDefaultRequiredShown whenDescription
sourceoptions"text"One of text, url.
textstringyessource = text
urlstringyessource = urlURL.
languagestring"en"
summarizebooleantrue
topicsbooleanfalse
intentsbooleanfalse
sentimentbooleanfalse

Project

OperationIDEffectPaginatedCassette tests
List projectsproject.listreads1
Get a projectproject.getreads1
Get balancesproject.get_balancesreads1
List API keysproject.list_keysreads1

List projects

Operation project.list.

This node has no parameters.

Get a project

Operation project.get.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

Get balances

Operation project.get_balances.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

List API keys

Operation project.list_keys.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

Request log

Past API requests of a project, with their results.

OperationIDEffectPaginatedCassette tests
List requestsrequest_log.listreadsyes1
Get a requestrequest_log.getreads1

List requests

Operation request_log.list.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
return_allbooleanfalse
limitnumber50return_all = false
startdatetimeFrom.
enddatetimeTo.
statusoptionsOne of succeeded, failed.

Get a request

Operation request_log.get.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
request_idstringyesRequest ID.

Model

OperationIDEffectPaginatedCassette tests
List modelsmodel.listreads1

List models

Operation model.list.

NameTypeDefaultRequiredShown whenDescription
kindoptions"all"One of all, stt, tts.
include_outdatedbooleanfalseInclude outdated versions.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
projectsclient-side
stt_modelsclient-side
tts_modelsclient-side

Triggers

Node type connector.deepgram_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On transcription callbacktranscription_callbackwebhookmanual0
On API request completedrequest_completedpoll{{ item.request_id }}0

Trigger: On transcription callback

Receives the result of an asynchronous transcription. Put this trigger’s URL in the Callback URL option of a transcription operation, with the same callback secret.

NameTypeDefaultRequiredShown whenDescription
callback_secretstringMust match the secret sent with the transcription request. Leave empty to accept any callback.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.
optionscollection
options.multichannelbooleanfalseMultichannel output.

Trigger: On API request completed

Polls a project’s request log and emits each finished request (for example transcriptions run elsewhere).

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
statusoptionsOne of succeeded, failed.

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation: