AI_Avatar_Chat / api_urls.txt
bravedims
Replace ElevenLabs with HuggingFace TTS (SpeechT5)
8be8b4b
raw
history blame contribute delete
844 Bytes
# Your HF Space API URLs:
Base URL: https://bravedims-ai-avatar-chat.hf.space
Health Check:
GET https://bravedims-ai-avatar-chat.hf.space/health
Generate Avatar:
POST https://bravedims-ai-avatar-chat.hf.space/generate
Gradio Interface:
https://bravedims-ai-avatar-chat.hf.space/gradio
# Example API call using the JSON you selected:
curl -X POST "https://bravedims-ai-avatar-chat.hf.space/generate" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A professional teacher explaining a mathematical concept with clear gestures",
"text_to_speech": "Hello students! Today we'\''re going to learn about calculus and how derivatives work in real life.",
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"image_url": "https://example.com/teacher.jpg",
"guidance_scale": 5.0,
"audio_scale": 3.5,
"num_steps": 30
}'