Sign in, mint an API key, install the Python or R SDK, and submit your first H&E whole-slide prediction on the Strand AI platform in five minutes.
This guide walks you through signing in, minting an API key, installing the
Python SDK, and submitting a prediction against a slide.
For research use only. Strand AI predictions are model outputs intended
for research and hypothesis generation. They are not validated for, and must
not be used in, clinical diagnosis, treatment selection, or patient care
decisions.
The Strand AI platform is currently invite-only. If you have access, sign
in at app.strandai.com. Otherwise email
support@strandai.com and we’ll get you
onboarded.
Go to app.strandai.com/settings/api-keys
and click Create key. Copy the value. It starts with sk-strand- and
is shown only once.Set it in your environment:
from strand import Clientclient = Client() # reads STRAND_API_KEY from env# Upload the slide, submit a prediction, and download results.upload = client.uploads.upload_file("biopsy.svs")job = client.predict.submit(upload.id, markers=["CD8", "PanCK", "Ki67"])job.wait() # blocks until terminal statusadata = job.download_results() # AnnData with one channel per marker
That’s it. adata (Python) / spe (R) holds one channel per requested
marker, aligned to the slide’s pixel grid.