当前位置: 首页 > Skill >

Video Chat With Me

Video Chat With Me

Video Chat With Me

Real-time AI video chat that routes through your OpenClaw agent. Uses Groq Whisper (cloud STT), edge-tts (cloud TTS via Microsoft), and OpenClaw chatCompletions API for conversation. Your agent sees your camera, hears your voice, and responds with its own personality and memory. Requires: GROQ_API_KEY for speech recognition. Reads ~/.openclaw/openclaw.json for gateway port and auth token. Data flows: audio → Groq cloud (STT), TTS text → Microsoft cloud (edge-tts), camera frames (base64) + text →

1.1.0 2026.11.27 508
获取Skill文件查看使用说明
作 者:沈安 许可证: 更新时间:2026.11.27
本文目录展开

videochat-withme

Real-time video call with your OpenClaw agent — full personality, memory, and vision.

First-Time Setup

New users run once after installing the skill:

bash skills/videochat-withme/scripts/setup.sh

This handles everything: dependencies, Groq API key, SSL certs, launchd service.

Prerequisites

  • macOS (launchd required)
  • Python 3.10+, ffmpeg
  • OpenClaw gateway running with chatCompletions enabled

Groq API Key (required for voice recognition)

  1. Get a free key at: https://console.groq.com/keys
  2. Save it:
    mkdir -p ~/.openclaw/secrets
    echo "your-key-here" > ~/.openclaw/secrets/groq_api_key.txt
    
    Or set env var: export GROQ_API_KEY="your-key-here"

Enable chatCompletions

Add to ~/.openclaw/openclaw.json:

{
  "gateway": {
    "http": {
      "endpoints": {
        "chatCompletions": { "enabled": true }
      }
    }
  }
}

Then restart OpenClaw.

How to Use (Agent Instructions)

When the user requests a video/voice call:

Step 1: Check if service is running:

curl -sk https://localhost:8766/api/config 2>/dev/null || curl -s http://localhost:8766/api/config 2>/dev/null

Step 2: If no response, setup needed:

  1. Check Groq key: cat ~/.openclaw/secrets/groq_api_key.txt 2>/dev/null
    • If missing, ask user to get one at https://console.groq.com/keys
    • Save it: echo "key" > ~/.openclaw/secrets/groq_api_key.txt
  2. Ask user: "What name should I display for you in the video call?"
  3. Run setup:
    bash skills/videochat-withme/scripts/setup.sh --auto --agent-name "YourName" --user-name "TheirName"
    

Step 3: Initiate the call based on context:

Determine how the user is connecting and pick the best method:

  1. User is at the computer (message from webchat/desktop):

    bash skills/videochat-withme/scripts/call.sh
    

    This pops up a macOS incoming call notification → user clicks Accept → browser opens.

  2. User is on mobile/remote (message from Telegram/phone): Pick the right URL automatically:

    # Prefer Tailscale IP (works from any network)
    TS_IP=$(tailscale ip -4 2>/dev/null)
    # Fallback to local IP (same WiFi only)
    LOCAL_IP=$(python3 -c "import socket; s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM); s.connect(('8.8.8.8',80)); print(s.getsockname()[0]); s.close()" 2>/dev/null)
    
    • If Tailscale is available → send https://<tailscale-ip>:8766 (works everywhere)
    • Otherwise → send https://<local-ip>:8766 (same WiFi only)
    • Note: first visit requires tapping "Advanced → Continue" (self-signed cert)

Architecture

🎤 Voice → Groq Whisper (STT)
📷 Camera → base64 frame
    ↓
OpenClaw /v1/chat/completions → Your Agent
    ↓
edge-tts (TTS) → 🔊 Audio playback

Scripts

Agent runs these automatically:

Script When
setup.sh --auto First use (service not running)
call.sh Every call request

User can run manually if needed:

Script Purpose
setup.sh Interactive setup (without --auto)
start.sh Start service
stop.sh Stop service

Configuration

Variable Default Description
GROQ_API_KEY (secrets file) Groq API key for Whisper STT
PORT 8766 Server port
AGENT_NAME AI Assistant Display name for the agent
USER_NAME User Display name for the user
SSL_CERT (auto-detect) Path to SSL certificate
SSL_KEY (auto-detect) Path to SSL private key

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,018
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,013
Skill 文件
  • SKILL.md
    • videochat-withme
    • First-Time Setup
    • Prerequisites
      • Groq API Key (required for voice recognition)
      • Enable chatCompletions
    • How to Use (Agent Instructions)
    • Architecture
    • Scripts
    • Configuration
  • 项目或源文件

相关 Skill

更多
ASR+TTS语音聊天配置助手 ASR+TTS语音聊天配置助手 Voice service configuration assistant. Triggers when: 1) a voice message is received; 2) user requests voice reply; 3) an audio attachment is received ([media attached: audio/...] format or audio file); 4) user requests speech recognition or transcription. When any voice-related need (inbound or outbound) is unmet, you MUST follow this SKILL in full to guide configuration — never just say 'not supported'.
Router9 Router9 All-in-one AI skills via Router9 API — speech recognition, text-to-speech, image description, OCR, image generation, and file storage. Use when the user asks...
Groq Whisper Groq Whisper 使用 Groq Whisper API(whisper-large-v3)转录音频文件,快速云端语音识别,无需本地模型,适用于接收语音消息。
Speech Recognition Speech Recognition 使用 pysilk 解码将QQ 语音消息(AMR/SILK 格式)转换为文本,并采用 faster‑whisper 进行语音转写。
Telegram Voice Messaging Recovery Telegram Voice Messaging Recovery Complete offline voice system with high-quality Lessac TTS and faster-whisper speech recognition. Provides natural voice conversations without internet. Use...