openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
225 lines (224 loc) • 5.36 kB
JSON
{
"id": "minimax",
"capabilityCatalogEntry": "./capability-catalog.js",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"legacyPluginIds": [
"minimax-portal-auth"
],
"providers": [
"minimax",
"minimax-portal"
],
"modelCatalog": {
"discovery": {
"minimax": "runtime",
"minimax-portal": "runtime"
}
},
"providerEndpoints": [
{
"endpointClass": "minimax-native",
"hosts": [
"api.minimax.io",
"api.minimaxi.com"
]
}
],
"providerCatalogEntry": "./provider-discovery.js",
"autoEnableWhenConfiguredProviders": [
"minimax",
"minimax-portal"
],
"nonSecretAuthMarkers": [
"minimax-oauth"
],
"setup": {
"providers": [
{
"id": "minimax",
"envVars": [
"MINIMAX_CODE_PLAN_KEY",
"MINIMAX_CODING_API_KEY",
"MINIMAX_API_KEY"
]
},
{
"id": "minimax-portal",
"envVars": [
"MINIMAX_OAUTH_TOKEN",
"MINIMAX_API_KEY"
]
}
]
},
"providerAuthAliases": {
"minimax-cn": "minimax",
"minimax-portal-cn": "minimax-portal"
},
"providerAuthChoices": [
{
"provider": "minimax-portal",
"method": "oauth",
"choiceId": "minimax-global-oauth",
"appGuidedAuth": "device-code",
"choiceLabel": "MiniMax OAuth (Global)",
"choiceHint": "Global endpoint - api.minimax.io",
"groupId": "minimax",
"groupLabel": "MiniMax",
"groupHint": "M3 (recommended)"
},
{
"provider": "minimax",
"method": "api-global",
"choiceId": "minimax-global-api",
"appGuidedSecret": true,
"deprecatedChoiceIds": [
"minimax",
"minimax-api",
"minimax-cloud",
"minimax-api-lightning"
],
"choiceLabel": "MiniMax API key (Global)",
"choiceHint": "Global endpoint - api.minimax.io",
"groupId": "minimax",
"groupLabel": "MiniMax",
"groupHint": "M3 (recommended)",
"optionKey": "minimaxApiKey",
"cliFlag": "--minimax-api-key",
"cliOption": "--minimax-api-key <key>",
"cliDescription": "MiniMax API key"
},
{
"provider": "minimax-portal",
"method": "oauth-cn",
"choiceId": "minimax-cn-oauth",
"appGuidedAuth": "device-code",
"choiceLabel": "MiniMax OAuth (CN)",
"choiceHint": "CN endpoint - api.minimaxi.com",
"groupId": "minimax",
"groupLabel": "MiniMax",
"groupHint": "M3 (recommended)"
},
{
"provider": "minimax",
"method": "api-cn",
"choiceId": "minimax-cn-api",
"appGuidedSecret": true,
"deprecatedChoiceIds": [
"minimax-api-key-cn"
],
"choiceLabel": "MiniMax API key (CN)",
"choiceHint": "CN endpoint - api.minimaxi.com",
"groupId": "minimax",
"groupLabel": "MiniMax",
"groupHint": "M3 (recommended)",
"optionKey": "minimaxApiKey",
"cliFlag": "--minimax-api-key",
"cliOption": "--minimax-api-key <key>",
"cliDescription": "MiniMax API key"
}
],
"contracts": {
"speechProviders": [
"minimax"
],
"mediaUnderstandingProviders": [
"minimax",
"minimax-portal"
],
"imageGenerationProviders": [
"minimax",
"minimax-portal"
],
"musicGenerationProviders": [
"minimax",
"minimax-portal"
],
"videoGenerationProviders": [
"minimax",
"minimax-portal"
],
"webSearchProviders": [
"minimax"
],
"usageProviders": [
"minimax"
]
},
"mediaUnderstandingProviderMetadata": {
"minimax": {
"capabilities": [
"image"
],
"defaultModels": {
"image": "MiniMax-VL-01"
},
"documentModels": {
"pdf": {
"textExtraction": "MiniMax-M2.7",
"image": false
}
},
"autoPriority": {
"image": 40
}
},
"minimax-portal": {
"capabilities": [
"image"
],
"defaultModels": {
"image": "MiniMax-VL-01"
},
"documentModels": {
"pdf": {
"textExtraction": "MiniMax-M2.7",
"image": false
}
},
"autoPriority": {
"image": 50
}
}
},
"uiHints": {
"webSearch.apiKey": {
"label": "MiniMax Token Plan key",
"help": "MiniMax Token Plan key or OAuth token (fallback: MINIMAX_CODE_PLAN_KEY, MINIMAX_CODING_API_KEY, MINIMAX_OAUTH_TOKEN, or MINIMAX_API_KEY if it already points at a token-plan credential).",
"sensitive": true,
"placeholder": "sk-cp-..."
},
"webSearch.region": {
"label": "MiniMax Search Region",
"help": "Search endpoint region override. Leave unset to reuse your configured MiniMax host or MINIMAX_API_HOST."
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"webSearch": {
"type": "object",
"additionalProperties": false,
"properties": {
"apiKey": {
"type": [
"string",
"object"
]
},
"region": {
"type": "string",
"enum": [
"global",
"cn"
]
}
}
}
}
}
}