Run the audio.cpp TTS server (as configured in server.json) in Docker.
1. Download the PocketTTS model
Get the English model from kyutai/pocket-tts on Hugging Face.
Place the files from languages/english/ into ../models/pocket-tts/languages/english/:
The directory should look like:
../models/pocket-tts/languages/english/
├── model.safetensors
├── tokenizer.model
└── embeddings/
├── alba.safetensors
└── ...
2. Start the server
CPU:
docker compose -f cpu-server.yml upGPU (CUDA):
docker compose -f cuda-server.yml up3. Optionally: Wait for server to be ready
./wait-for-server.sh./tts.shThis sends a request to http://localhost:8080/v1/audio/speech and saves the result to output/speech.wav.