Configure API keys for AI services
Set up API credentials for OpenAI, Anthropic, and other AI providers so Pixeltable can access them.
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.
pip install pixeltable google-genai 'fastapi[standard]' torch torchvision transformers
GEMINI_API_KEYGOOGLE_API_KEYuuid.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()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.
Set up API credentials for OpenAI, Anthropic, and other AI providers so Pixeltable can access them.
You need to iterate on transformation logic before running it on your entire dataset—especially for expensive operations like API calls or model inference.
You defined a multimodal pipeline in Python and now need to inspect tables, debug computed columns, roll back changes, and expose HTTP endpoints without writing more application code.
Parse and access specific fields from structured JSON responses returned by language models.