Spaces:
Running
Running
File size: 964 Bytes
b5b3d5c 12ebbe1 b5b3d5c 12ebbe1 6bc6130 b5b3d5c 12ebbe1 b5b3d5c 12ebbe1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ---
title: BlueV3 API
emoji: 🔵
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
base_path: /docs
pinned: false
license: mit
short_description: OpenAI-compatible API for BlueV3 TTS (CPU)
models:
- notmax123/BlueV3-onnx
---
# BlueV3 API
An OpenAI-compatible speech endpoint for [BlueV3](https://huggingface.co/notmax123/BlueV3-onnx) (v3.0.1),
running on CPU with ONNX Runtime. It's the server from
[`examples/openai_server.py`](https://github.com/maxmelichov/BlueTTS/blob/main/examples/openai_server.py).
For the interactive demo, go to [notmax123/BlueV3](https://huggingface.co/spaces/notmax123/BlueV3).
```bash
curl https://notmax123-bluev3-api.hf.space/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"model": "bluev3", "input": "שלום, מה שלומך?", "voice": "noa", "language": "he", "response_format": "wav"}' \
-o speech.wav
```
Languages: `he`, `en`, `de`, `es`, `it`, `ru`, `yi`. Voices: `GET /v1/audio/voices`.
|