Memory & RAG
~8 min readUpdated: December 2026

Mistral Multimodal Embed 1B (Clipstral): 1024-D Image, Video & Text RAG

Mistral Multimodal Embed 1B Clipstral Dual-Encoder RAG Architecture in Smoke Monkey

Mistral Multimodal Embed 1B (codename Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 dual encoder that embeds native-resolution images, 16-frame videos, and multilingual text into one L2-normalized 1,024-dimensional space, scoring 80.2 image retrieval R@1 across 37 benchmarks.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Mistral Multimodal Embed 1B (Clipstral): 1024-D Image, Video & Text RAG: Mistral Multimodal Embed 1B (codename Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 dual encoder that embeds native-resolution images, 16-frame videos, and multilingual text into one L2-normalized 1,024-dimensional space, scoring 80.2 image retrieval R@1 across 37 benchmarks. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampleclipstral-multimodal-mcp-agent.ts
clipstral-multimodal-mcp-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
const mediaRagAgent = createAgent({
agentId: 'clipstral-multimodal-retriever',
provider: 'anthropic',
model: 'claude-sonnet-4-5',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
mcpServers: {
clipstral: {
command: 'uv',
args: ['run', 'python', '-m', 'clipstral_qdrant_mcp', '--model', 'mistralai/Mistral-Multimodal-Embed-1B', '--dtype', 'bfloat16'],
},
},
});
async function searchVideoArchive(query: string) {
const result = await mediaRagAgent.run(
`Embed "${query}" with Clipstral text tower (1024-D L2-normalized), query Qdrant for matching 16-frame video clips and 448px keep_ratio stills, and return top timestamped evidence.`
);
console.log('Multimodal Retrieval Result:', result.summary);
}
searchVideoArchive('autonomous drone landing on wet asphalt').catch(console.error);
Video Guides

Watch: Related Video Guides

Clipstral from Mistral: Search Images and Videos Locally in 10 Languages

How to Use Multimodal RAG to Extract Text, Images, & Tables (with Demos)

What Is Mistral Multimodal Embed 1B (Clipstral)? Dual-Encoder Design

Mistral Multimodal Embed 1B (Clipstral, mistralai/Mistral-Multimodal-Embed-1B) is a 1.24B-parameter Apache 2.0 contrastive encoder that projects natural images, short videos, and multilingual text into a single L2-normalized 1,024-dimensional embedding space. Because every vector lies on the unit hypersphere, dot products compute exact cross-modal cosine similarity without re-ranking.

Instead of forcing square crops that distort tall or wide scenes, Clipstral defaults to a keep_ratio transform at 448 px on the longer side, rounding each dimension to a multiple of 28 (patch_size=14 multiplied by 2x2 patch merging) using OpenCV INTER_AREA. Its 24-layer ViT (409M params, hidden 1,024, 2D RoPE) pools image tokens with global max (amax), while a compact 4-layer temporal encoder (50M params, 3D RoPE) attends jointly across 16-frame video clips.

Tower / SubsystemArchitecture DetailsParameters
Vision Transformer24 layers, hidden 1,024, patch 14, 2D RoPE, 2x2 merge, global amax pool409M
Spatio-Temporal Video4-layer temporal encoder, 3D RoPE over 16 frames + global amax pool50M
Text Tower14 layers, hidden 1,792, causal RoPE, 131K multilingual vocab, EOS pool783M
Shared Output Space1,024-D float32 L2-normalized vectors1.24B total

Zero-Shot Retrieval & Classification Benchmarks (37 Datasets)

Evaluated across 37 benchmarks (6 image retrieval, 18 image classification, 5 video retrieval, 8 video classification) across 224, 336, 672, and 1,036 px resolutions, Clipstral ranks #1 among all open-weight encoders up to 4B parameters on both image and video retrieval.

ModelParamsImage Retrieval R@1Image Cls Top-1Video Retrieval R@1Video Cls Top-1
Clipstral (Mistral 1B)1.24B80.2%79.2%64.0%57.0%
Qwen3-VL-Embedding-2B2.13B77.5%69.5%61.9%57.8%
EmbeddingGemma 20.44B75.8%69.0%61.0%49.9%
MetaCLIP 2-bigG3.63B75.5%79.1%46.6%49.7%
C-RADIOv4-H1.37B75.6%77.3%47.5%47.6%
PE-Core-G2.42B71.0%81.6%60.9%55.1%
SigLIP2-g1.87B73.4%78.4%47.4%50.0%
*Qwen3-VL-Embedding-8B (ref)**8.14B**82.7%**72.9%**66.2%**61.7%*

On long-caption retrieval (DOCCI, ActivityNet Captions, PVD, DiDeMo), Clipstral reaches 71.2 R@1 (vs 69.8 for Qwen3-VL-Embedding-2B). On XM3600 across 36 languages, it hits 59.7 R@1 overall. Crucially, its video retrieval R@1 varies by less than 1 point (62.9 to 63.8) between 224 px and 1,036 px, whereas PE-Core-L drops 17 points at 1,036 px and TIPSv2-g drops 16 points at 224 px.

Scope Boundary: Natural Imagery vs OCR/Code

Mistral notes that Clipstral targets natural images and short videos (~1 minute / 16 frames). Documents, OCR-heavy pages, and source code are out of scope — pair it with Granite Docling V2 for PDFs.

Running Clipstral Inference in Python with Keep-Ratio & 16-Frame Video

Clipstral requires trust_remote_code=True and runs in bfloat16 on NVIDIA GPUs (tested with Python 3.13 and Transformers 4.57–5.23) or float32 on CPU. Because keep_ratio preserves variable aspect ratios, processor(images) returns a list of tensors rather than a single stacked batch.

bash
uv sync  # auto-selects CUDA 13.0 on Linux or CPU on macOS/Windows
python
import torch
from PIL import Image
from transformers import AutoImageProcessor, AutoModel, AutoTokenizer

repo_id = "mistralai/mistral-multimodal-embed-1B"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32

model = AutoModel.from_pretrained(repo_id, trust_remote_code=True, dtype=dtype).eval().to(device)
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
processor = AutoImageProcessor.from_pretrained(repo_id, trust_remote_code=True)

tok = tokenizer(["gothic cathedral", "robot arm welding"], padding=True, return_tensors="pt")
with torch.inference_mode():
    text_vec = model.get_text_features(tok.input_ids.to(device), tok.attention_mask.to(device))
    pix = [p.to(device=device, dtype=dtype) for p in processor([Image.open("frame.jpg").convert("RGB")])["pixel_values"]]
    img_vec = model.get_image_features(pix)

scores = img_vec @ text_vec.T  # L2-normalized cosine similarity

To embed a composite image-plus-text query (late fusion), embed each modality separately and average the normalized vectors before indexing.

Building a Sovereign Multimodal Media Index with Smoke Monkey

Exposing Clipstral's get_text_features, get_image_features, and get_video_features endpoints as an MCP tool server lets Smoke Monkey Harness agents deduplicate datasets, filter mismatched image-text pairs, and retrieve timestamped video clips inside air-gapped environments. Combining Clipstral for natural visual assets with Granite Docling V2 for structured documents covers every retrieval modality without proprietary embedding APIs.

Google Search Questions & Answers

Frequently Asked Questions

Q:How many parameters and embedding dimensions does Mistral Multimodal Embed 1B use?

Clipstral has 1.24B total parameters (409M vision tower, 50M spatio-temporal video encoder, 783M text tower) and outputs 1,024-dimensional L2-normalized float32 embeddings across all three modalities.

Q:Should I use Clipstral to embed scanned PDFs, tables, or code repositories?

No. Mistral explicitly scopes Clipstral to natural images, short videos, and multilingual text; OCR-heavy documents and code are out of scope. Use Granite Docling V2 2B for document parsing.

Q:How does Clipstral handle videos longer than 16 frames?

Its spatio-temporal encoder is trained on 16 evenly spaced frames per clip (up to ~1 minute). For longer footage, sample segment windows and aggregate per-segment 1,024-D vectors or index each segment independently.

Q:Why does the image processor return a list of tensors instead of a single tensor?

With the default `keep_ratio` transform at 448 px, each image keeps its native aspect ratio rounded to multiples of 28, producing distinct tensor shapes. Pass `squash` or `center_crop` if your pipeline requires uniform stacked tensors.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness