mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user