itishanls249/real-esrgan-upscaler
0
Image Enhancer API
Real-ESRGAN image upscaling exposed as a REST API, packaged with Docker.
Endpoints
Run with Docker
docker compose up --buildAPI docs: http://localhost:7860/docs
Example requests
Health check
curl http://localhost:7860/healthEnhance image (2x)
curl -X POST http://localhost:7860/image_enhancer \
-F "file=@input.jpg" \
-F "scale=2" \
--output enhanced.pngWait until /health shows "models_loaded": true before calling /image_enhancer.
Local development (without Docker)
pip install -r requirements.txt
python download_weights.py
uvicorn app:app --host 0.0.0.0 --port 7860