| # ClawBody Configuration | |
| # Give your OpenClaw AI agent a physical robot body! | |
| # ============================================================================== | |
| # REQUIRED: OpenAI API Key | |
| # ============================================================================== | |
| # Get your key at: https://platform.openai.com/api-keys | |
| # Requires Realtime API access | |
| OPENAI_API_KEY=sk-your-openai-key | |
| # ============================================================================== | |
| # REQUIRED: OpenClaw Gateway | |
| # ============================================================================== | |
| # The URL where your OpenClaw gateway is running | |
| # If running on the same machine as the robot, use the host machine's IP | |
| OPENCLAW_GATEWAY_URL=http://192.168.1.100:18789 | |
| # Your OpenClaw gateway authentication token | |
| # Find this in ~/.openclaw/openclaw.json under gateway.token | |
| OPENCLAW_TOKEN=your-gateway-token | |
| # Agent ID to use (default: main) | |
| OPENCLAW_AGENT_ID=main | |
| # Session key for conversation context - IMPORTANT! | |
| # Use "main" (default) to share context with WhatsApp and other DM channels | |
| # This allows the robot to be aware of all your conversations | |
| OPENCLAW_SESSION_KEY=main | |
| # ============================================================================== | |
| # OPTIONAL: Voice Settings | |
| # ============================================================================== | |
| # OpenAI Realtime voice (alloy, echo, fable, onyx, nova, shimmer, cedar) | |
| OPENAI_VOICE=cedar | |
| # OpenAI model for Realtime API | |
| OPENAI_MODEL=gpt-4o-realtime-preview-2024-12-17 | |
| # ============================================================================== | |
| # OPTIONAL: Features | |
| # ============================================================================== | |
| # Enable/disable features (true/false) | |
| ENABLE_CAMERA=true | |
| ENABLE_OPENCLAW_TOOLS=true | |