Skip to main content
VOID

ToolsOpenClaw

OpenClaw

Register Void API as a custom OpenAI-compatible model provider.

openclaw.aiOfficial setup docs

MODEL_ID is a placeholder. Choose a model from the catalog that supports this tool's endpoint and features.

  1. API key

    Store your key in an environment variable.

    export VOID_API_KEY='void_your_key'

    Run in Bash or Zsh. Sets the values for this terminal only. To keep them for future sessions, also add these commands to ~/.bashrc or ~/.zshrc.

  2. Configuration

    Add the provider to ~/.openclaw/openclaw.json. The file accepts JSON5.

    ~/.openclaw/openclaw.json
    {
      "agents": {
        "defaults": {
          "model": {
            "primary": "void-api/MODEL_ID"
          }
        }
      },
      "models": {
        "mode": "merge",
        "providers": {
          "void-api": {
            "baseUrl": "https://void-api.tech/v1",
            "apiKey": "${VOID_API_KEY}",
            "api": "openai-completions",
            "models": [
              {
                "id": "MODEL_ID",
                "input": [
                  "text",
                  "image"
                ]
              }
            ]
          }
        }
      }
    }
  3. Run

    Verify the catalog, then select a Void API model.

    shell
    openclaw models list
    openclaw models set 'void-api/MODEL_ID'

Create a key in your account; model IDs are in the catalog.