104-structure whole-body segmentation via API
TotalSegmentator is the go-to open-source model for whole-body CT segmentation — 104 anatomical structures in one pass. MONAI provides the PyTorch backbone. SciRouter wraps both behind a single endpoint: upload a DICOM volume, get back per-structure masks and volume measurements. Research-only — do not use for diagnosis.
/v1/medimg/segmentimport requests
r = requests.post(
"https://scirouter-gateway-production.up.railway.app/v1/medimg/segment",
headers={"Authorization": "Bearer sk-sci-..."},
json={
"image_url": "https://example.com/ct-scan.nii.gz",
"model": "totalsegmentator",
"structures": ["liver", "spleen", "kidneys"],
},
)
result = r.json()["data"]
for s in result["structures"]:
print(f"{s['name']}: {s['volume_ml']:.1f} mL (dice {s['dice']:.3f})")Radiology research
Anatomical landmark detection
Volume change tracking
Cohort study automation