seeghost1019/google-medgemma-4b-non-clinical 🖼️📝🔢✓ → 📝

▶️ 32 runs 📅 Jan 2026 ⚙️ Cog 0.16.9 🔗 GitHub ⚖️ License
image-to-text medical text-generation

About

MedGemma is a collection of Gemma 3 variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications. MedGemma comes in two variants: a 4B multimodal ver

Example Output

Prompt:

"Describe this X-ray."

Output

Based on the X-ray image provided, here's a description:

  • Anatomy: The image shows a chest X-ray. Key anatomical structures are visible, including the ribs, lungs, heart, and mediastinum (the space in the chest between the lungs containing the heart, major blood vessels, trachea, and esophagus).

  • Lung Fields: The lung fields appear clear, with no obvious consolidation, nodules, or masses.

  • Heart Size: The heart size appears within normal limits.

  • Mediastinum: The mediastinum appears unremarkable.

  • Bones: The ribs and clavicles are visible and appear intact.

  • Overall Impression: The X-ray shows a normal chest X-ray. There are no obvious signs of acute pathology.

Important Note: This is a preliminary interpretation based solely on the image. A definitive diagnosis requires a complete clinical evaluation, including the patient's medical history, physical examination findings, and potentially additional imaging studies.

Performance Metrics

6.20s Prediction Time
183.72s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/OROcSOd3P2DgKpu2kH6Fissc0JMmp0zGqdC1yIMmk2Pgy1Fc/Xray.png",
  "prompt": "Describe this X-ray.",
  "temperature": 0.4,
  "show_thought": false,
  "max_new_tokens": 512
}
Input Parameters
image Type: string
上傳醫療影像 (可選)
prompt Type: stringDefault: Describe this X-ray.
輸入醫療問題
temperature Type: numberDefault: 0.4Range: 0 - 1
溫度
show_thought Type: booleanDefault: false
是否顯示模型的思考過程?
max_new_tokens Type: integerDefault: 512Range: 64 - 2048
最大輸出長度
Output Schema

Output

Type: string

Version Details
Version ID
1fedc92eee0b32f79ccd4e4a3cb8840c90d900aaa3fd2ab1d871af6090545245
Version Created
January 19, 2026
Run on Replicate →