Your Backend for Multimodal AI Applications

Every multimodal AI app needs the same five things: store media, run models, index embeddings, serve endpoints, version everything.

Core Operations · Notebook · Updated

Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.

What it covers

  • Store: Multimodal Tables
  • Orchestrate: AI as Computed Columns
  • Insert: One Call Triggers the Full Pipeline
  • Retrieve: Semantic Search
  • Experiment on Media Data
  • Serve: Queries Become API Endpoints
  • Version: Automatic History
  • Agents: Tool Calling and Memory as Computed Columns

What it uses

Install
terminal
pip install pixeltable google-genai 'fastapi[standard]' torch torchvision transformers
Environment variables it names
GEMINI_API_KEYGOOGLE_API_KEY
Pixeltable calls
uuid.uuid7()gemini.generate_content()huggingface.detr_for_object_detection()vision.bboxes_draw()anthropic.messages()anthropic.invoke_tools()pxt.create_table()@pxt.querypxt.tools()add_computed_column()

A look at the code

multimodal_backend.ipynb
videos.add_computed_column(
response=gemini.generate_content(
[videos.video, 'Describe this video in detail.'],
model='gemini-3-flash-preview',
)
)
videos.add_computed_column(
description=videos.response.candidates[0]
.content.parts[0]
.text.astype(pxt.String)
)
videos.add_embedding_index(
'description',
embedding=gemini.embed_content.using(
model='gemini-embedding-2-preview'
),
)

One cell of the notebook, copied as it is. Open it in Colab for the rest.

Browse all 103