File size: 437 Bytes
b0fa762
 
 
 
 
 
 
 
 
 
e34be49
b0fa762
 
 
 
 
 
 
 
a626d7f
 
b0fa762
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: FastAPI Image Processor
emoji: 🖼️
colorFrom: indigo
colorTo: blue
sdk: docker
app_file: app.py
pinned: false
license: mit
---

# 📸 FastAPI Image Processor (Docker Space)

Send a `POST` request to `/process-image` with an image file. The Space will return:
- filename
- width & height
- format (e.g., JPEG, PNG)

## 🧪 Test locally

```bash
curl -X POST http://localhost:7860/process-image \
  -F "file=@example.jpg"