File size: 889 Bytes
60c56d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---
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.
|