Segment cells and nuclei in any microscopy image
Cellpose-SAM combines the Cellpose generalist segmentation framework with Meta's Segment Anything foundation. Upload any microscopy image, get instance masks, bounding boxes, areas, and per-object mean intensity.
/v1/imaging/cellposeimport requests, base64
with open("microscopy.png", "rb") as f:
image_b64 = base64.b64encode(f.read()).decode()
result = requests.post(
"https://scirouter.ai/v1/imaging/cellpose",
json={"image_b64": image_b64, "diameter": 30, "model": "cyto3"},
headers={"Authorization": "Bearer sk-sci-your-key"}
).json()["data"]
print(f"Detected {result['n_objects']} objects")Cell counting in histology or IHC
Nuclear segmentation of DAPI images
Live-cell time-lapse analysis