File size: 844 Bytes
8be8b4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# 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
  }'