tts-gpu-service / curl-testing.sh
Peter Michael Gits
feat: Complete MCP integration with HTTP fallback v0.3.31
89c74a6
raw
history blame contribute delete
287 Bytes
# Get your space URL
SPACE_URL="https://pgits-tts-gpu-service.hf.space"
# Test the API
curl -X POST "$SPACE_URL/api/predict" \
-H "Content-Type: application/json" \
-d '{
"data": [
"This is a test of the TTS API",
"v2/en_speaker_6"
]
}' | python3 -m json.tool