ViT Brain Tumor MRI Classifier

huggingface
Image Generation

ViT base fine-tuned on brain MRI slices to classify tumor type. Given an MRI image it returns scores for glioma, meningioma, pituitary tumor or no tumor. Most-downloaded brain-tumor classifier in this search. Research and education only, not a diagnostic tool.

Generate with ViT Brain Tumor MRI Classifier
Describe what you want and pick a size — the image renders inline.
Sign in to try this model with €5 free credits.
Sign in
Result appears here
TL;DR·Last updated June 24, 2026

ViT Brain Tumor MRI Classifier is image generation AI model from huggingface, priced at €0.000 per 1M input tokens with a unknown context window.

About this model

This model fine-tunes a ViT base classifier on a labelled brain MRI dataset with four classes: glioma, meningioma, pituitary tumor and no tumor. It takes one MRI slice and outputs a four-class probability distribution. It is intended for research on MRI tumor classification and for teaching. It carries no regulatory clearance and must not be used to diagnose or treat patients.
Try ViT Brain Tumor MRI Classifier
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate ViT Brain Tumor MRI Classifier into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const images = await rw.run("vit-brain-tumor-mri-classifier", "A beautiful sunset over Tokyo");
console.log(images[0].url);

// Or use the image() method for full control
const res = await rw.image("vit-brain-tumor-mri-classifier", "A cat in space", {
  size: "1024x1024",
  n: 1,
});
console.log(res.data[0].url);
Specifications
Price
€1.00
Developer
huggingface
Category
Image Generation
Supported Formats
image
Tags
medical
research
not-diagnostic
radiology
huggingface
brain-tumor
mri
image-classification
vit

Frequently asked questions

Start using ViT Brain Tumor MRI Classifier today

Get started with free credits. No credit card required. Access ViT Brain Tumor MRI Classifier and 100+ other models through a single API.