ViT Chest X-ray Pneumonia

huggingface
Image Generation

Vision Transformer fine-tuned on the Kaggle chest x-ray pneumonia dataset. Given a frontal chest radiograph it predicts NORMAL versus PNEUMONIA with class scores. A widely used baseline for pneumonia screening experiments. Research and education only, not a diagnostic tool.

Generate with ViT Chest X-ray Pneumonia
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 Pneumonia is image generation AI model from huggingface, priced at €0.000 per 1M input tokens with a unknown context window.

About this model

nickmuchi's model is a ViT base classifier fine-tuned to distinguish normal lungs from pneumonia on chest x-rays, trained on the public paediatric chest x-ray pneumonia dataset. It returns a two-class probability output. Use it for benchmarking, demos and learning about medical image classification. It is not validated for clinical use and should never replace a radiologist.
Try ViT Chest X-ray Pneumonia
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 Pneumonia 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-pneumonia", "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-pneumonia", "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
pneumonia
image-classification
vit

Frequently asked questions

Start using ViT Chest X-ray Pneumonia today

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