Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

XScale Engine 🚀

AI-powered video upscaling engine that runs on Google Colab. Used by the XScale mobile app to enhance videos using Real-ESRGAN and Real-CUGAN.

Quick Start

  1. Open the notebook → Open in Colab

  2. Add your Firebase credentials to Colab Secrets (🔑 icon in sidebar):

    • Secret name: FIREBASE_SERVICE_ACCOUNT
    • Value: paste the entire JSON content of your Firebase service account key
  3. Click "Runtime → Run all" — the engine starts automatically!

Architecture

Mobile App → Upload to Drive → POST /upscale → Colab Engine
                                                    ↓
                                            Download from Drive
                                            AI Upscaling (ESRGAN/CUGAN)
                                            Upload result to Drive
                                                    ↓
                                            Firebase progress updates → App

Files

File Description
bridge.py FastAPI server + Cloudflare tunnel + Firebase integration
processor.py AI upscaling pipeline (FFmpeg + ESRGAN/CUGAN)
cleanup.py Auto-purge Drive storage when over 5GB
XScale_Engine.ipynb Ready-to-run Colab notebook
requirements.txt Python dependencies

API Endpoints

Method Path Description
POST /upscale Start video processing
GET /status Get engine status + progress
POST /heartbeat Keep engine alive
POST /stop Graceful shutdown

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages