goapi / README.md
xidu's picture
deploy: Launch Go API service
4727549
---
title: Go GenAI API Service
emoji: ๐Ÿš€
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
---
This Space runs a high-performance API proxy for Google's Gemini, built entirely in Go.
### Endpoints
- **`POST /v1/chat/completions`**: Main endpoint for chat, supports streaming & non-streaming.
- **`GET /v1/models`**: Lists available models.
- **`GET /health`**: Health check.
- **`GET /`**: API Info.