Promptable segmentation with SAM 3
Segment every object matching a concept (a short text phrase or a bounding box) using Meta's Segment Anything Model 3.
Draw bounding boxes on images to visualize object detection results.
Images · 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.
You create a pipeline that detects objects and then draws the results on the original image.
pip install pixeltable pixeltable-yolox
yolox.yolox()vision.bboxes_draw()pxt.create_table()add_computed_column()insert()# Step 1: Run object detectionimages.add_computed_column(detections=yolox(images.image, model_id='yolox_m', threshold=0.5))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Segment every object matching a concept (a short text phrase or a bounding box) using Meta's Segment Anything Model 3.
Automatically create descriptive captions for images using AI vision models.
You have a batch of images that need AI-powered transformations—like turning photos into paintings, adding stylistic effects, or modifying content based on text prompts.
Run the same AI prompt against multiple images automatically, without writing loops or managing API calls.