M-Optimus spatial gene expression prediction
Predict spatial gene expression from a tile and optional bulk RNA counts. Input: a 224×224 tile at 0.5 MPP, plus an optional bulk_rna vector aligned to the model’s input gene set (see GET /api/metadata/m-optimus). When bulk_rna is omitted, a zero vector is used (H&E-only mode). Output: predicted expression for each output gene in output.
Body
Base64-encoded PNG tile. (The SDK also accepts a PIL Image or raw bytes.)
Stem of the source slide filename.
Tile x-coordinate in the slide.
Tile y-coordinate in the slide.
Tile width in pixels.
Tile height in pixels.
Index of this tile in the extraction plan.
Optional bulk RNA counts vector (M-Optimus prediction only).
Fraction of tissue in the tile.
Extraction resolution in microns per pixel.

