# imagelab-api **Repository Path**: image-lab/imagelab-api ## Basic Information - **Project Name**: imagelab-api - **Description**: Go API for the ImageLab MVP. It stores uploaded images, creates Worker jobs through Redis Stream, consumes Worker results, and exposes image/job history for the Web UI. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-29 - **Last Updated**: 2026-06-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ImageLab API Go API for the ImageLab MVP. It stores uploaded images, creates Worker jobs through Redis Stream, consumes Worker results, and exposes image/job history for the Web UI. ## Run locally ```bash # from repo root cd imagelab-api go run ./cmd/migrate IMAGELAB_STORAGE_DIR=../data go run ./cmd/server ``` Default services: - API: `http://localhost:8080` - PostgreSQL: `postgres://imagelab:imagelab@localhost:5432/imagelab?sslmode=disable` - Redis: `localhost:6379` ## Endpoints - `GET /health` - `POST /api/images` - `GET /api/images` - `GET /api/images/:id` - `DELETE /api/images/:id` - `GET /api/images/:id/file` - `POST /api/images/:id/jobs` - `GET /api/jobs` - `GET /api/jobs/:id` - `GET /api/jobs/:id/result`