Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates and streams text, and reads images with AI models in WeChat Mini Programs.
14% 95%+82 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
A user explicitly requested to use the hunyuan-2.0-instruct-20251111 model in our Mini Program. Which specific billing eligibility check must we perform, and what provider name do we use if it passes?
Checks enrollment using DescribeActivityInfo
This test ran on v2. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
Use this skill for calling AI models in WeChat Mini Program using wx.cloud.extend.AI.
Use it when you need to:
Do NOT use for:
ai-model-web skillai-model-nodejs skillai-model-nodejs skill (not available in Mini Program)http-api-cloudbase skill (it now includes the ai_model OpenAPI spec for direct HTTP calls)wx.cloud.extend.AI.createModel(provider) argument is not a vendor / model nameRead this before writing any createModel(...) line. Agents frequently hallucinate this argument. There are exactly four legal shapes. Anything else is a bug.
✅ Legal createModel(provider) argument | When to use it |
|---|---|
"cloudbase" | Default, including 小程序成长计划. Main managed group (TokenHub-backed, multi-vendor pool). Growth Plan quota covers hy4-preview / hy3 / deepseek-v4.1-flash; only deepseek-v4.1-flash accepts images. Vendor + concrete model go into the model field, e.g. { model: "deepseek-v4.1-flash" }. |
"hunyuan-v3" | Legacy plan group, being retired. Only hy3 is available and no new models are added. Existing plan-enrolled code keeps working; new code uses cloudbase + a plan model. |
"hunyuan-exp" | Older legacy builtin group — only if DescribeAIModels still returns it. Its default hunyuan-2.0-instruct-20251111 went offline on 2026-05-31; never target that id. |
"custom-<your-name>" | A user-defined GroupName you onboarded via CreateAIModel. Must start with custom- (e.g. custom-kimi, custom-openai-compat). |
wx.cloud.extend.AI.createModel("deepseek") // wrong — vendor, not GroupName
wx.cloud.extend.AI.createModel("deepseek-v4.1-flash") // wrong — model id goes in `model`
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.