Controls
Mouth Shape Control
Character Control
Step by Step
1. Generate Room (Server Side)
curl -X POST https://gateway.anispark.xyz/tdoge-proxy/generate-room \
-H "Content-Type: application/json"
Response:
2. Connect WebSocket (Client Side)
// Using AniSparkHDAvatarController SDK
await controller.connectSocket('your-room-id');
3.1 Say Message (Server Side)
curl -X POST https://gateway.anispark.xyz/tdoge-proxy/say \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-token" \
-d '{
"message": "Hello, how are you?",
"roomId": "your-room-id"
}'
Response:
3.2 Ask Question (Server Side)
curl -X POST https://gateway.anispark.xyz/tdoge-proxy/ask \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-token" \
-d '{
"message": "What is the weather like today?",
"roomId": "your-room-id"
}'
Status: