---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

Data Infrastructure

8 min read

Updated 2026-09-11

# How to Store TwelveLabs Marengo Embeddings in Your Own Vector Store

Marengo Embed 3.0 halves the vector to 512 dimensions and is now an embedding model in Amazon Bedrock Knowledge Bases. This guide covers what that changes, and how to persist Marengo video, text, audio and image embeddings durably in Mixpeek MVS: a matching namespace, upsert with temporal payloads, search. Includes when the managed Bedrock path is the better answer.

![Ethan Steininger](/people/ethan.webp)

By [Ethan Steininger](/blog/authors/ethan), Founder & CEO, Mixpeek

TwelveLabs

Marengo

Video Embeddings

Vector Store

BYO Vectors

MVS

Amazon Bedrock

[Run this on your own data. Try it as you read.Search your own archive →](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=guide_cta&utm_campaign=mvs_onramp)

[One-click templateFootage Intelligence at Archive ScaleMillions of scenes you can move through instead of search. Footage, ads and editor assets land in three clean collections, and scenes are clustered one partition at a time so every run stays under the sample-size caps.Deploy it](/templates/footage-intelligence)

## The Short Answer

  
  
Marengo generates multimodal embeddings (video, text, audio, image) through an asynchronous task: the TwelveLabs `/embed-v2/tasks` endpoint, or Bedrock's `StartAsyncInvoke`. The current model is **Marengo Embed 3.0** (`twelvelabs.marengo-embed-3-0-v1:0`), and the number that matters most when you persist it yourself is that **3.0 returns a 512-dimensional vector where 2.7 returned 1024**. Embeddings created through the TwelveLabs async endpoint are stored for **seven days**. For production reuse you must persist them somewhere durable yourself. A bring-your-own-vectors store like Mixpeek MVS does this in three calls: create a namespace whose vector config matches Marengo's dimension, upsert the embeddings with their temporal metadata as payload, and search. Your embeddings live on object storage you control, alongside vectors from any other model.  
  

## Marengo 3.0 is native in Amazon Bedrock Knowledge Bases: what changes?

  
  
Two different things landed and most coverage blurs them. Marengo Embed 3.0 has been callable **as a model** on Bedrock since its launch date of 29 October 2025, through `StartAsyncInvoke` on the `bedrock-runtime` endpoint. What is new is that it became an embedding model inside **Amazon Bedrock Knowledge Bases**, the managed service, announced by AWS on 10 September 2026. The first is an API you call and then handle the output yourself. The second is a managed pipeline where you connect a video library and search works, with the vectors and the indexing handled for you.  
  
What changes for anyone already running the pattern in this guide:  
  

Bedrock Knowledge Bases

Call the model, keep your own store

Who holds the vectors

The managed service

You

Fuse with embeddings from other models

No

Yes

Storage outside AWS

No

Yes

Work to get first results

Connect a library

Generate, upsert, search

Video stays in your own account

Yes, in your S3

Yes, wherever you put it

  
  
**The managed path is the right answer for more teams than this guide's audience will want to admit.** If your video already sits in S3, your search is only over video, and you have no requirement to mix Marengo vectors with anything else, Bedrock Knowledge Bases removes the work in this guide entirely and keeps the footage inside your AWS account. Use it.  
  
The pattern below earns its keep on the axis the managed path does not cross: **one queryable surface across models and modalities.** Marengo vectors beside text embeddings from a different model, beside image vectors from a third, filtered by metadata you own, on storage you choose. That is a composition problem rather than a video-search problem, and it is the reason to hold the vectors yourself.  
  
The dimension change is the one thing that bites on upgrade. A store configured for 2.7's 1024 dimensions will reject or silently mismatch 3.0's 512, so re-embedding from 2.7 to 3.0 means a new namespace rather than an in-place write. Halving the vector also halves what the same corpus costs to store, which is the upgrade's quiet benefit.  
  

### September 2026: a DAM you may already use is running this

  
  
**What happened:** on 10 September 2026 TwelveLabs announced that Marengo became an embedding model in Amazon Bedrock Managed Knowledge Bases, and named iconik, the media asset management platform from Backlight, as among the first customers using it there. **Does it change your architecture?** Only if iconik is where your footage lives and video search is all you need, in which case the managed path now covers it. If you are joining video to anything else, the split below is unchanged.  
  
That split is worth stating plainly, because the announcement makes it easy to blur. **Marengo produces the embeddings, and you run it yourself through Bedrock in your own AWS account.** The boundary is exactly there. What Mixpeek does is store those embeddings, combine them with vectors from other models, and retrieve across the result. TwelveLabs' release is explicit that no video leaves the customer's environment, which is the same substrate position this guide starts from: the media stays where you put it.  
  
Worth knowing if you are on iconik: Mixpeek has its own [iconik integration](/integrations/iconik), so the same library can feed either path. [How to search inside videos in iconik](/guides/iconik-video-search) compares the options.  
  

## Why persist Marengo embeddings at all?

  
  
Two reasons. **Cost:** embedding is the expensive step, re-running the async task because the seven-day window lapsed is pure waste. **Composition:** once the vectors live in a store you control, they stop being TwelveLabs-only. You can filter them by your own metadata, fuse them with text or image embeddings from other models, and serve them to agents: none of which is possible while they exist only inside a task response.  
  

## Step 1: Generate the embeddings

  
  
Use the TwelveLabs SDK or Bedrock. On Bedrock, the async invocation delivers results to S3:

\# Bedrock: StartAsyncInvoke with the Marengo model
import boto3

bedrock = boto3.client("bedrock-runtime")
bedrock.start\_async\_invoke(
    modelId="twelvelabs.marengo-embed-3-0-v1:0",
    modelInput={
        "inputType": "video",
        "mediaSource": {"s3Location": {"uri": "s3://your-bucket/game-footage.mp4"}},
    },
    outputDataConfig={"s3OutputDataConfig": {"s3Uri": "s3://your-bucket/embeddings/"}},
)

The response contains one embedding per segment with `startSec`/`endSec` markers and an `embeddingOption` (such as visual-text). Read the vector dimension off your actual response rather than assuming it: **512 for Marengo 3.0, 1024 for 2.7**, and the store's config must match exactly. Bedrock exposes 3.0 in-Region in us-east-1, eu-west-1 and ap-northeast-2, with `us.` and `eu.` cross-Region inference ids.  
  

## Step 2: Create a matching MVS namespace

from mixpeek import Mixpeek

client = Mixpeek(api\_key="YOUR\_API\_KEY")

client.namespaces.create(
    namespace\_id="marengo-video",
    mode="standalone",
    vector\_configs=\[
        # 512 for Marengo 3.0; use 1024 if you are still on 2.7
        {"name": "marengo\_visual", "dimension": 512, "metric": "cosine"},
    \],
)

MVS can also infer the config from the first write, but declaring it pins the dimension and distance metric explicitly.  
  

## Step 3: Upsert embeddings with temporal payload

  
  
Keep the segment timing and source pointers as payload so search results map back to playable moments:

client.namespaces.documents.upsert(
    namespace\_id="marengo-video",
    documents=\[
        {
            "id": "game01-seg-004",
            "vectors": {"marengo\_visual": segment\["embedding"\]},
            "payload": {
                "video\_uri": "s3://your-bucket/game-footage.mp4",
                "start\_sec": segment\["startSec"\],
                "end\_sec": segment\["endSec"\],
                "embedding\_option": segment\["embeddingOption"\],
            },
        }
        for segment in marengo\_segments
    \],
)

Up to 1,000 documents per request; use bulk import for large backfills.  
  

## Step 4: Search by embedding a query the same way

  
  
Embed the text query with Marengo (text input type), then search: the query and documents must come from the same embedding space:

results = client.search(
    namespace\_id="marengo-video",
    queries=\[{
        "vector\_name": "marengo\_visual",
        "vector": query\_embedding,
        "top\_k": 10,
    }\],
)
# each hit returns your payload: video\_uri, start\_sec, end\_sec

From here you can add metadata filters, BM25 over payload text, or hybrid fusion with vectors from entirely different models: the store does not care who produced each embedding.  
  

## When does this pattern make sense?

  
  
**Use Amazon Bedrock Knowledge Bases** when the footage is already in S3, the search is only over that video, and nothing else needs to join it: it is managed, the data stays in your AWS account, and it removes every step of this guide. **Use TwelveLabs end-to-end** when video is your only modality and their hosted index workflow fits: it is the shortest path to high-quality video search, and you skip running a vector store. **Add your own store** when any of these hold: embeddings must outlive the seven-day task window; content pointers must stay on your object storage; you are fusing Marengo vectors with text, document, or image embeddings from other models; or agents need one queryable surface across everything. The [feature-by-feature comparison](/comparisons/mixpeek-vs-twelvelabs) and [alternatives breakdown](/alternative/twelvelabs) cover the broader decision; MVS pricing starts at $25/mo on the [rate card](/pricing), and [BYO object storage](/docs/vector-store/byo-object-storage) covers running it over your own buckets. For the tool landscape, see [best AI video analysis tools](/curated-lists/best-ai-video-analysis-tools).

## Run this on your own data

Point Mixpeek at the storage you already have and search your video, images, audio, and documents the way this guide describes. Build starts at $25/mo for up to 1M vectors.

[Search your own archive](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=guide_cta&utm_campaign=mvs_onramp)[Read Docs](/docs)

[Explore MVS](/mvs)[See pricing](/pricing)

## Related guides

[

Data Infrastructure

### Marengo 3.0 on Amazon Bedrock: Architecture, Benchmarks and Vector Storage

TwelveLabs Marengo Embed 3.0 is generally available as an embedding model in Amazon Bedrock Knowledge Bases. What the managed path gives you, what it takes away, and when to hold the vectors yourself. Includes the 1024 to 512 dimension change that breaks an in-place upgrade.

Read guide →](/guides/marengo-3-bedrock-architecture-benchmarks-vector-storage)[

Data Infrastructure

### How Much Does a Vector Database Cost? A 2026 Pricing Comparison

A vendor-neutral breakdown of vector database pricing in 2026: what drives cost (bytes, RAM vs object storage, replication), how Pinecone, Weaviate, Qdrant, Zilliz, turbopuffer, and Mixpeek MVS price, a worked cost-estimation formula, and which architecture is cheapest for each workload shape.

Read guide →](/guides/vector-database-cost-comparison)[

Data Infrastructure

### What Does It Cost to Make a Video Library Searchable?

Making a video library searchable costs roughly $3 to $21 per hour of video to process once, depending on how many things you extract (a transcript, visual search, faces, on-screen text), plus a small storage bill for the index and the full processing cost again whenever you change models. This guide shows where each number comes from, a worked example for 1,000 hours, and how to cut each cost.

Read guide →](/guides/cost-to-make-a-media-library-searchable)