OpenClaw
Messenger AI agent. Runs on a single ApiMira key.
OpenClaw is a gateway between messengers and the model. Address and key live in openclaw.json.
What you need
- Base URL
- https://apimira.com/v1
- API key
- am-YOUR_KEYCreated in the dashboard, the API keys section. The full value is shown once.
- Model ID
- google/gemini-3.7-flashCopy it from the catalogue in full, including the prefix before the slash.
How to connect
- 1Open ~/.openclaw/openclaw.json, or the file OPENCLAW_CONFIG points at.
- 2Set baseUrl and apiKey on the openai provider.
- 3Give the agent a model as provider and our Model ID joined by a slash.
{
"models": {
"providers": {
"openai": {
"baseUrl": "https://apimira.com/v1",
"apiKey": "am-YOUR_KEY"
}
}
},
"agents": {
"defaults": { "model": "openai/google/gemini-3.7-flash" }
}
}The prefix doubles up: openai/ is the provider name inside OpenClaw, while our Model ID already starts with the vendor. The same two values can be set through OPENAI_API_BASE and OPENAI_API_KEY.
Function calling is supported, so agentic modes work. Strict JSON mode (response_format) and the retired functions format are rejected with an unsupported_parameter error — the parameter is never silently dropped. Image input is accepted by models marked "Sees images" on the Models page: a content part of type image_url with a data:image/png;base64,… URL (PNG, JPEG or WebP, up to 5 MB each, up to 50 per request). Remote URLs are not fetched, and a model without that mark answers with unsupported_capability — both errors name the reason outright.