|
Download README.md from dukunhamsembrek/tesaibottelegramdukun: direct link, hf CLI and curl.
- Browser
- Download file 863 Bytes
-
https://huggingface.co/spaces/dukunhamsembrek/tesaibottelegramdukun/resolve/main/README.md
- Command line
-
hf download hf://spaces/dukunhamsembrek/tesaibottelegramdukun/README.md
-
curl -L -o README.md https://huggingface.co/spaces/dukunhamsembrek/tesaibottelegramdukun/resolve/main/README.md
863 Bytes
| title: Go Image Processor | |
| emoji: 🖼️ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| # Go Image Processor | |
| High-performance image compression microservice written in Go. | |
| ## Endpoints | |
| | Method | Path | Description | | |
| |--------|------|-------------| | |
| | GET | `/` | Service info | | |
| | GET | `/health` | Health check | | |
| | POST | `/compress` | Compress images | | |
| ## Usage | |
| ```bash | |
| curl -X POST https://dukunhamsembrek-tesaibottelegramdukun.hf.space/compress \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "images": ["base64_encoded_image..."], | |
| "quality": 85, | |
| "max_dim": 2048 | |
| }' | |
| ``` | |
| ## Response | |
| ```json | |
| { | |
| "results": ["base64_compressed_image..."], | |
| "processing_ms": 150, | |
| "count": 1, | |
| "errors": [] | |
| } | |
| ``` | |
| ## Performance | |
| - 3-4x faster than Python PIL | |
| - Parallel processing (uses all CPU cores) | |
| - Memory efficient | |