| --- |
| title: CONVERTLY-API |
| emoji: ๐ |
| colorFrom: blue |
| colorTo: purple |
| sdk: docker |
| app_file: app.py |
| pinned: false |
| --- |
| |
| # CONVERTLY API |
|
|
| REST API for file conversion and AI processing. |
|
|
| ## Endpoints |
|
|
| - `GET /` - API info |
| - `GET /api/health` - Health check |
| - `POST /api/extract-text` - OCR text extraction |
| - `POST /api/remove-background` - Background removal |
| - `POST /api/caption-image` - Image captioning |
| - `POST /api/summarize` - Text summarization |
| - `POST /api/vectorize-logo` - Logo vectorization |
| - `POST /api/convert-image` - Image format conversion |
| - `POST /api/resize-image` - Image resizing |
|
|
| ## Usage |
|
|
| ```bash |
| curl -X POST https://your-space.hf.space/api/extract-text \ |
| -F "file=@image.png" |