Step 1: Call Create Room API
Create Room API Endpoint:
Header "dxrainpc-api-key" value:
Create Room Params:
(JSON)
{ "session": "xxxxx", "npc": { "template": "woman", "expression": "idle" }, "tts": { "provider": "azure", "region": "koreacentral", "apikey": "7e7702e56b5045378048e974ba9f90f7", "locale": "ja-JP", "speed": 1 }, "video": { "width": 480, "height": 640, "fps": 30 } }
Create Room
Result Room ID:
Go to Next Step
Step 2: Setup <dxr-npc>
Disconnect (P2P)
Disconnect (REST API)
Update Room Params:
{ "npc": { "template": "man", "expression": "smile" } }
Update Room