Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,33 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
-
short_description: This is the zero123++ model's space
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Zero123++ Inference
|
| 3 |
+
emoji: 🏛️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Zero123++ Inference API
|
| 11 |
+
|
| 12 |
+
This Space takes one input image and generates a Zero123++ 6-view grid.
|
| 13 |
+
|
| 14 |
+
It then crops views 1, 3, 5, and 6 into separate 256x256 white-background images for the LGM model.
|
| 15 |
+
|
| 16 |
+
## Endpoints
|
| 17 |
+
|
| 18 |
+
### Health check
|
| 19 |
+
GET `/health`
|
| 20 |
+
|
| 21 |
+
### Generate views
|
| 22 |
+
POST `/generate`
|
| 23 |
+
|
| 24 |
+
Form-data:
|
| 25 |
+
- `file`: input image
|
| 26 |
+
- `steps`: optional, default 75
|
| 27 |
+
|
| 28 |
+
Returns:
|
| 29 |
+
- `multiview_grid.png`
|
| 30 |
+
- `view_1_front_right.png`
|
| 31 |
+
- `view_3_right.png`
|
| 32 |
+
- `view_5_back_right.png`
|
| 33 |
+
- `view_6_back_left.png`
|