LOT 1 - Optimizare script build -Instalare mono comanda
This commit is contained in:
parent
5380c3fc63
commit
42ff22bf85
127 changed files with 16163 additions and 532 deletions
|
|
@ -61,22 +61,23 @@ cp ../.env.example .env
|
|||
| `/health` | GET | Health check |
|
||||
| `/v1/models` | GET | List available models |
|
||||
| `/v1/audio/transcriptions` | POST | Transcribe audio (OpenAI-compatible) |
|
||||
| `/v1/info` | GET | Service catalog metadata (used by catalog-api) |
|
||||
|
||||
### Example API Request
|
||||
|
||||
```bash
|
||||
# Health check
|
||||
curl http://localhost:8200/health
|
||||
curl http://localhost:54300/health
|
||||
|
||||
# Transcribe audio file
|
||||
AUDIO="/path/to/audio.mp3"
|
||||
curl -X POST "http://localhost:8200/v1/audio/transcriptions" \
|
||||
curl -X POST "http://localhost:54300/v1/audio/transcriptions" \
|
||||
-F "file=@${AUDIO}" \
|
||||
-F "model=large-v3-turbo" \
|
||||
-F "response_format=json"
|
||||
|
||||
# With language specification and verbose output
|
||||
curl -X POST "http://localhost:8200/v1/audio/transcriptions" \
|
||||
curl -X POST "http://localhost:54300/v1/audio/transcriptions" \
|
||||
-F "file=@${AUDIO}" \
|
||||
-F "language=en" \
|
||||
-F "response_format=verbose_json"
|
||||
|
|
@ -193,8 +194,8 @@ docker compose logs -f audio-api
|
|||
|
||||
| Port | Service |
|
||||
|------|---------|
|
||||
| `8200` | Audio API |
|
||||
| `54300` | Audio API (Dev + AI + Audio) |
|
||||
| `54300` | Audio API (Dev + AI + Audio) — primary |
|
||||
| `8200` | Audio API (legacy default) |
|
||||
|
||||
## Development
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue