Contents

Transcribe Audio

transcribe_audio · Nodes · Media

Transcribe speech audio to text using a configured transcription provider.

Transcribe Audio#

Transcribes speech audio to text through a workspace transcription connection. Accepts a single audio input or an array of them, and reports each one separately.

What It Does#

The Transcribe Audio node resolves whatever arrives on input to audio bytes, sends each one to the transcription provider named by the selected connection and model, and emits two things: the joined transcript text, and a per-input report.

Key capabilities:

  • Many input shapes: durable media objects, workflow artifacts, runtime binary, URLs, base64 objects, or an array mixing them
  • Batch transcription: an array input produces one result record per element
  • Per-input failure isolation: one input failing does not fail the run
  • Optional language hint: pass a language code, or leave it empty and let the provider detect

When to Use#

  • Transcribing voice messages from Telegram or Discord
  • Turning meeting or podcast recordings into searchable text
  • Transcribing audio extracted from video with Extract Audio
  • Feeding speech into an AI Agent for summarisation or extraction

How It Works#

  1. Input resolution: input is resolved to audio bytes — a media object is fetched from storage, an artifact from the artifact store, a URL is downloaded, a base64 object is decoded, and an array is resolved element by element
  2. Model resolution: the configured connection and model are validated against the Transcription model kind; a model of any other kind is rejected
  3. Size check: each input is checked against the selected model's upload cap before the request is made
  4. Provider dispatch: the provider ID is matched to OpenAI, Groq, or ElevenLabs
  5. Per-input loop: each input is transcribed independently; a failure is recorded on that input's result record rather than aborting the run
  6. Outputs: successful transcripts are joined onto text; every input, successful or not, appears in results

Inputs#

Name Type Required Description
input any Yes Audio to transcribe: one media object, workflow artifact, binary object, URL string, base64 object, or an array of any of those

Accepted shapes on input:

Media object (from Upload Media or another storage node), by object_id:

{ "object_id": "01J..." }

A bare string that is not a URL is read as a media object id, so "01J..." works too.

Runtime binary (from Telegram Download, Extract Audio, HTTP Get):

{ "binary": "...", "filename": "voice.oga", "mime_type": "audio/ogg" }

URL, as a bare http/https string or as { "url": "..." }:

{ "url": "https://example.com/audio.mp3" }

Base64 object:

{ "base64": "T2dnUwACA...", "filename": "clip.wav", "mime_type": "audio/wav" }

Array, for batch transcription:

[
  { "object_id": "01J..." },
  { "url": "https://example.com/audio2.mp3" }
]

An empty, null, or undefined input transcribes nothing and produces an empty results array.

Configuration#

Field Type Required Description
model model Yes Transcription connection and model. Call list_models and use a returned connection_id and model_id
language string No Language code hint such as en, es, or pt-BR. Leave empty to let the provider detect the language

Output#

Name Type Description
text string Every successful transcript, joined by newlines
results array One record per audio input, including the ones that failed

Each results record:

Field Type Description
text string The transcript; empty when the input failed
source string The input's filename, or audio when the source carried no filename
success boolean Whether this input transcribed
error string Present only on failure; why this input failed
detected_language string Present only when the provider reported a language
[
  { "text": "Hello, this is a voice message", "source": "voice.oga", "success": true, "detected_language": "en" },
  { "text": "", "source": "audio2.mp3", "success": false, "error": "Download failed: HTTP 404" }
]

text is the socket to wire when you want the words. results is the socket to wire when you need to know which inputs failed and why. There is no count socket — the counts are derivable from results.

Supported Providers#

Provider Models Upload cap
OpenAI gpt-4o-transcribe, gpt-4o-mini-transcribe, whisper-1 25 MiB
Groq whisper-large-v3-turbo, whisper-large-v3 25 MiB
ElevenLabs scribe_v1 1 GiB

Each provider needs a workspace connection of its own type holding an API key. There is no ambient key and no default provider: with no transcription connection configured, the node reports its model field as unconfigured and does not run.

Notes#

  • Transcription is billed per audio minute, not per token, so transcription models list as unpriced in the model catalog
  • The upload cap is enforced before the request, so an oversized input fails locally with both byte counts rather than after a long upload
  • A model of the wrong kind — a speech-generation model, for instance — is rejected when the node runs, naming the kind mismatch
  • Batching an array is one node execution rather than a loop, and is the cheaper way to transcribe several files
  • Audio quality dominates accuracy; naming the language improves results on non-English audio
  • Pair with Extract Audio to transcribe the speech in a video without persisting the audio

Inputs

  • inputRequired

Outputs

  • text
  • results

Configuration

FieldTypeRequiredDescription
modelmodelYesChoose a transcription connection and model.
languagestringYesOptional language code (e.g. 'en', 'es'). Leave empty to auto-detect.
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).