From b6af40f1f11e08d3c73d79c678351306bef4acbe Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 25 Apr 2026 12:39:00 -0700 Subject: [PATCH] docs(minimax): note MINIMAX_API_HOST applies to image generation, baseUrl is ignored mushuiyu_xydt's commit 0e1ef93e84 (#61155) routes MiniMax image generation requests to the dedicated image endpoint (api.minimax.io/v1/image_generation), ignoring models.providers.minimax.baseUrl (which targets the chat/Anthropic-compatible API), and adds MINIMAX_API_HOST support for the CN api.minimaxi.com endpoint. The CHANGELOG entry covered it but docs/providers/minimax.md image-generation section did not. Add a paragraph naming both endpoints and the MINIMAX_API_HOST override. --- docs/providers/minimax.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/providers/minimax.md b/docs/providers/minimax.md index b752e9f0cff..33dec8aa6b1 100644 --- a/docs/providers/minimax.md +++ b/docs/providers/minimax.md @@ -235,6 +235,13 @@ Both `minimax` and `minimax-portal` register `image_generate` with the same `image-01` model. API-key setups use `MINIMAX_API_KEY`; OAuth setups can use the bundled `minimax-portal` auth path instead. +Image generation always uses MiniMax's dedicated image endpoint +(`/v1/image_generation`) and ignores `models.providers.minimax.baseUrl`, +since that field configures the chat/Anthropic-compatible base URL. Set +`MINIMAX_API_HOST=https://api.minimaxi.com` to route image generation +through the CN endpoint; the default global endpoint is +`https://api.minimax.io`. + When onboarding or API-key setup writes explicit `models.providers.minimax` entries, OpenClaw materializes `MiniMax-M2.7` and `MiniMax-M2.7-highspeed` as text-only chat models. Image understanding is