Skip to content

Prepare Embedding Media Node

AI/Embedding

Prepares audio, video, or PDF content for an embedding model

prepare_embedding_mediamediaLong running
Inputs6
Outputs2
Security exposure7/10
Packagemedia

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
7/10High
PrivacyPotential sensitivity of processed data.
8/10High
PerformanceRuntime or resource pressure.
7/10High
GovernancePolicy, audit, or compliance impact.
8/10High
ReliabilityOperational stability considerations.
7/10High
CostExternal or compute cost impact.
10/10High

Input Pins

6

Input

Execution
exec_in

Trigger

Source

Struct
source

Audio, video, or PDF file

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Encoded Source

Boolean
encoded

Keep the original media file for hosted models; local models need decoded content

Default false

Kind

String
kind

Which media input to prepare

Default audio
audiovideofile

Max Frames

Integer
max_frames

Maximum uniformly sampled video frames

Default 16

Include Audio

Boolean
include_audio

Include the video's audio track; missing audio returns an error

Default false

Output Pins

2

Done

Execution
exec_out

Continues

Content

Struct
content

Content parts for Embed Content

EmbeddingContentEmbeddingContent2 fields
partsArray<EmbeddingContentPart>required
itemsEmbeddingContentPartarray item
variant 1objectvariant
textstringrequired
typeconstrequired
const "text"
variant 2objectvariant
imageNodeImagerequired
typeconstrequired
const "image"
variant 3EmbeddingAudiovariant

Decoded interleaved PCM samples. Media readers supply the original sample rate and channels.

typeconstrequired
const "audio"
variant 4EmbeddingVideovariant
typeconstrequired
const "video"
variant 5EmbeddingFilevariant

Original document bytes or a remote URL. A provider decides which MIME types it accepts.

typeconstrequired
const "file"
+1 more fields
titlestring | null
default null
Schema enforced

Node Info

Internal name
prepare_embedding_media
Category
AI/Embedding
Version
2