n8n
Automation platform. Call models through ApiMira in your workflows, no code.
n8n connects with a single credential: the OpenAI credential has a Base URL field, and that is where the gateway address goes.
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
- 1Credentials → New → OpenAI.
- 2Put the gateway address with /v1 into Base URL and your ApiMira key into API Key.
- 3In the AI node pick this credential and type the Model ID in full.
- 4The AI Agent node works too: it relies on function calling.
Base URL: https://apimira.com/v1
API Key: am-YOUR_KEY
Model: google/gemini-3.7-flashIf the node answers 404, check the address: the usual mistake is /v1/v1 after the path was typed in by hand.
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.