API Documentation
POST /api/synthesize
curl -X POST http://localhost:18083/api/synthesize \
-F "text=Hello world" \
-F "voice=default" \
-F "prompt_audio=@ref.wav" \
-F "audio_temperature=0.8" \
--output result.json
POST /api/synthesize/stream
curl -X POST http://localhost:18083/api/synthesize/stream \
-F "text=Hello world" \
-F "voice=default" \
--output stream.wav
Returns streaming WAV audio chunks in real-time.
POST /api/synthesize/json
curl -X POST http://localhost:18083/api/synthesize/json \
-H "Content-Type: application/json" \
-d '{"text":"Hello","voice":"default",
"audio_temperature":0.8,"seed":42}'
Returns JSON with download link at audio_path.
GET /api/voices
curl http://localhost:18083/api/voices