Use this skill when developing WeChat Mini Programs (小程序, 企业微信小程序, wx.cloud-based apps) that need AI capabilities. Features text generation (generateText) and streaming (streamText) with callback support (onText, onEvent, onFinish) via wx.cloud.extend.AI. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). API differs from JS/Node SDK - streamText requires data wrapper, generateText returns raw response. NOT for browser/Web apps (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (not supported).
$npx -y skills add ljunn/junli-cloudbase --skill ai-model-wechatInstalls into the current project.
Run `npx skills use "https://github.com/ljunn/junli-cloudbase" --skill "ljunn/junli-cloudbase/ai-model-wechat"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ljunn/junli-cloudbase" that are relevant to the current task. Run `npx skills add "https://github.com/ljunn/junli-cloudbase"` and select the relevant skills, then follow their instructions.