Settings

Configure your MedAI preferences

Gemini API Key

Using Server Key

Using server-provided API key

Add your own key to use your quota, access more models, or unlock higher rate limits.

Get API Key

🔒 Your key is stored in your browser only and sent directly to our backend as the X-Gemini-Key header, which forwards it to Google on your behalf.

AI Configuration

Preferred Gemini Model

Models available on the server

Pipeline Mode

XGBoost prediction → RAG verification → Gemini streaming

Hybrid RAG-XGBoost ✓

Appearance

Theme

Choose between dark and light interface

API Connection

Backend URL

FastAPI server endpoint

https://medai-backend-production-a830.up.railway.app

Auth Header

X-Api-Key for backend auth

••••••••

Gemini Key Header

X-Gemini-Key forwarded to Google

Using server default

Data & Privacy

Session History

0 sessions stored locally

Reset Diagnosis Flow

Clear current in-progress diagnosis

About MedAI

FrontendNext.js 15 + TypeScript
BackendFastAPI v1.0.0
ML PipelineXGBoost + RAG + Gemini
Diseases Covered238+
Symptom Features695

⚠️ MedAI provides general health information only. It does not replace professional medical diagnosis or treatment. Always consult a qualified healthcare provider.