File size: 604 Bytes
9ca741d
5b15a1e
 
 
 
9ca741d
 
 
 
5b15a1e
 
 
 
 
 
 
 
 
 
 
 
 
 
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: TRELLIS Worker
emoji: 🧊
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
---

# TRELLIS Worker Space

FastAPI gateway that accepts images, triggers a Kaggle GPU notebook to run
[TRELLIS](https://huggingface.co/spaces/trellis-community/TRELLIS), and
returns a `.glb` 3D mesh.

## Endpoints

| Method | Path | Description |
|--------|------|-------------|
| GET | `/` | Job monitor page |
| POST | `/generate` | Submit image → returns `job_id` |
| GET | `/status/{job_id}` | Poll: queued / running / done / error |
| GET | `/download/{job_id}` | Download the finished `mesh.glb` |