🎭 Lipsync WebRTC Service

Status: Running

Mode: WebRTC Streaming

WebSocket Endpoint: wss://your-domain/ws

How to Use

  1. Connect to WebSocket endpoint: /ws
  2. Receive TURN servers configuration
  3. Send WebRTC offer with inference request data
  4. Receive WebRTC answer
  5. Receive lipsynced video stream

Request Format

{
    "type": "offer",
    "sdp": "...",
    "sdp_type": "offer",
    "request_data": {
        "project_id": "test_new_video_204",
        "rag_item_id": "rag_000",
        "question_id": "question_000",
        "answer_audio_urls": [
            {
                "answer_id": "ans1",
                "audio_answer": "https://..."
            }
        ],
        "realtime": true
    }
}

View API Documentation