mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 23:31:07 +00:00
80 lines
3.0 KiB
JSON
80 lines
3.0 KiB
JSON
{
|
|
"id": "qwen",
|
|
"enabledByDefault": true,
|
|
"providers": ["qwen"],
|
|
"contracts": {
|
|
"mediaUnderstandingProviders": ["qwen"],
|
|
"videoGenerationProviders": ["qwen"]
|
|
},
|
|
"providerAuthEnvVars": {
|
|
"qwen": ["QWEN_API_KEY", "MODELSTUDIO_API_KEY", "DASHSCOPE_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "qwen",
|
|
"method": "standard-api-key-cn",
|
|
"choiceId": "qwen-standard-api-key-cn",
|
|
"deprecatedChoiceIds": ["modelstudio-standard-api-key-cn"],
|
|
"choiceLabel": "Standard API Key for China (pay-as-you-go)",
|
|
"choiceHint": "Endpoint: dashscope.aliyuncs.com",
|
|
"groupId": "qwen",
|
|
"groupLabel": "Qwen Cloud",
|
|
"groupHint": "Standard / Coding Plan (CN / Global) + multimodal roadmap",
|
|
"optionKey": "modelstudioStandardApiKeyCn",
|
|
"cliFlag": "--modelstudio-standard-api-key-cn",
|
|
"cliOption": "--modelstudio-standard-api-key-cn <key>",
|
|
"cliDescription": "Qwen Cloud standard API key (China)"
|
|
},
|
|
{
|
|
"provider": "qwen",
|
|
"method": "standard-api-key",
|
|
"choiceId": "qwen-standard-api-key",
|
|
"deprecatedChoiceIds": ["modelstudio-standard-api-key"],
|
|
"choiceLabel": "Standard API Key for Global/Intl (pay-as-you-go)",
|
|
"choiceHint": "Endpoint: dashscope-intl.aliyuncs.com",
|
|
"groupId": "qwen",
|
|
"groupLabel": "Qwen Cloud",
|
|
"groupHint": "Standard / Coding Plan (CN / Global) + multimodal roadmap",
|
|
"optionKey": "modelstudioStandardApiKey",
|
|
"cliFlag": "--modelstudio-standard-api-key",
|
|
"cliOption": "--modelstudio-standard-api-key <key>",
|
|
"cliDescription": "Qwen Cloud standard API key (Global/Intl)"
|
|
},
|
|
{
|
|
"provider": "qwen",
|
|
"method": "api-key-cn",
|
|
"choiceId": "qwen-api-key-cn",
|
|
"deprecatedChoiceIds": ["modelstudio-api-key-cn"],
|
|
"choiceLabel": "Coding Plan API Key for China (subscription)",
|
|
"choiceHint": "Endpoint: coding.dashscope.aliyuncs.com",
|
|
"groupId": "qwen",
|
|
"groupLabel": "Qwen Cloud",
|
|
"groupHint": "Standard / Coding Plan (CN / Global) + multimodal roadmap",
|
|
"optionKey": "modelstudioApiKeyCn",
|
|
"cliFlag": "--modelstudio-api-key-cn",
|
|
"cliOption": "--modelstudio-api-key-cn <key>",
|
|
"cliDescription": "Qwen Cloud Coding Plan API key (China)"
|
|
},
|
|
{
|
|
"provider": "qwen",
|
|
"method": "api-key",
|
|
"choiceId": "qwen-api-key",
|
|
"deprecatedChoiceIds": ["modelstudio-api-key"],
|
|
"choiceLabel": "Coding Plan API Key for Global/Intl (subscription)",
|
|
"choiceHint": "Endpoint: coding-intl.dashscope.aliyuncs.com",
|
|
"groupId": "qwen",
|
|
"groupLabel": "Qwen Cloud",
|
|
"groupHint": "Standard / Coding Plan (CN / Global) + multimodal roadmap",
|
|
"optionKey": "modelstudioApiKey",
|
|
"cliFlag": "--modelstudio-api-key",
|
|
"cliOption": "--modelstudio-api-key <key>",
|
|
"cliDescription": "Qwen Cloud Coding Plan API key (Global/Intl)"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|