| title: Colorize Image API | |
| emoji: 🎨 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| sdk_version: 1.0.0 | |
| app_file: Dockerfile | |
| pinned: false | |
| license: mit | |
| # Colorize Image API | |
| FastAPI-based image colorization service using ColorizeNet model with Firebase App Check integration. | |
| ## Features | |
| - Image upload and colorization | |
| - Firebase App Check authentication | |
| - Docker deployment | |
| - Download URLs for browser access | |
| ## API Endpoints | |
| - `GET /health` - Health check | |
| - `POST /upload` - Upload image | |
| - `POST /colorize` - Colorize image | |
| - `GET /download/{file_id}` - Download result | |
| - `GET /results/{filename}` - Public result access | |
| ## Setup | |
| The API requires Firebase credentials. Place your Firebase Admin SDK JSON file in the root directory as: | |
| `colorize-662df-firebase-adminsdk-fbsvc-e080668793.json` | |
| ## Model | |
| Uses `rsortino/ColorizeNet` from Hugging Face for image colorization. | |