ViT Chest X-ray Classifier

Popular
huggingface
Image Generation

Vision Transformer (ViT) fine-tuned on chest x-ray images for multi-class thoracic findings. Given a single frontal chest radiograph it returns class probabilities across several disease categories. One of the more downloaded chest x-ray classifiers on the Hugging Face Hub. Research and education only, not a diagnostic tool.

Generate with ViT Chest X-ray 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 Chest X-ray 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 is a ViT base image classifier fine-tuned on a labelled chest x-ray dataset covering multiple thoracic conditions. It takes a grayscale or RGB chest radiograph and outputs a softmax distribution over the trained classes. It is intended for machine-learning experimentation, teaching and prototyping radiology pipelines. It has not been cleared by any medical regulator and must not be used to make clinical decisions about real patients.
Try ViT Chest X-ray 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 Chest X-ray 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-chest-xray-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-chest-xray-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
chest-xray
image-classification
vit

Frequently asked questions

Start using ViT Chest X-ray Classifier today

Get started with free credits. No credit card required. Access ViT Chest X-ray Classifier and 100+ other models through a single API.