Working with Twelve Labs in Pixeltable
Twelve Labs provides multimodal embeddings that project text, images, audio, and video into the same semantic space. This enables true cross-modal search - the most powerful feature of this integration.
Use Together AI from Pixeltable for chat completions and image generation.
Providers · 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 together
TOGETHER_API_KEYtogether.chat_completions()together.image_generations()pxt.create_table()add_computed_column()insert()from pixeltable.functions import togetherchat_t = pxt.create_table('together_demo/chat', {'input': pxt.String})messages = [{'role': 'user', 'content': chat_t.input}]chat_t.add_computed_column(output=together.chat_completions(messages=messages,model='Qwen/Qwen3.5-9B',model_kwargs={# Optional dict with parameters for the Together API'max_tokens': 300,'stop': ['\n'],'temperature': 0.7,'top_p': 0.9,},))chat_t.add_computed_column(response=chat_t.output.choices[0].message.content)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Twelve Labs provides multimodal embeddings that project text, images, audio, and video into the same semantic space. This enables true cross-modal search - the most powerful feature of this integration.
This tutorial demonstrates how to use Pixeltable's built-in vLLM integration to run local LLMs with high-throughput inference.
Pixeltable's Voyage AI integration enables you to access state-of-the-art embedding and reranker models via the Voyage AI API.
Pixeltable can export data directly from tables and views to the popular Voxel51 frontend, providing a way to visualize and explore image and video datasets.