ai-model-wechat

Generate and stream AI text with callbacks in WeChat Mini Programs.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/mbpz/poetry-atlas-mp --skill ai-model-wechat-mbpz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-model-wechat
Source: https://github.com/mbpz/poetry-atlas-mp/tree/main/.agents/skills/cloudbase/references/ai-model-wechat
Command: npx skills add https://github.com/mbpz/poetry-atlas-mp --skill ai-model-wechat-mbpz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wx-server-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of integrating AI capabilities into WeChat Mini Programs, simplifying the process of using AI text generation and streaming with callbacks.

Core Features & Use Cases

  • Mini Program AI Integration: Seamlessly integrate AI text generation and streaming with callbacks in WeChat Mini Programs.
  • Feature Set: Offers text generation (generateText) and streaming (streamText) features with callbacks (onText, onEvent, onFinish).
  • Use Case: For a Mini Program that needs to generate personalized text responses or stream real-time AI-powered content.

Quick Start

Use the ai-model-wechat skill to generate a welcome message in your WeChat Mini Program.

Frequently Asked Questions about ai-model-wechat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate AI text generation into a WeChat Mini Program?

To integrate AI text generation in a WeChat Mini Program, use the wx.cloud.extend.AI SDK. It provides generateText and streamText functions with callbacks like onText and onFinish to handle AI responses.

Can I stream real-time AI responses in a WeChat Mini Program?

Yes, you can stream real-time AI responses in a WeChat Mini Program using the streamText feature. It supports callbacks such as onText, onEvent, and onFinish to handle streaming data chunks as they arrive.

Does wx.cloud.extend.AI work with enterprise WeChat Mini Programs?

Yes, wx.cloud.extend.AI works with enterprise WeChat Mini Programs. The SDK supports AI text generation and streaming with callbacks across standard Mini Programs, enterprise Mini Programs, and wx.cloud apps.

What callbacks are available for AI text streaming in WeChat?

The available callbacks for AI text streaming in WeChat are onText, onEvent, and onFinish. These callbacks handle incoming text chunks, streaming events, and completion signals during the generateText and streamText operations.

Do I need wx-server-sdk to use AI features in my WeChat Mini Program?

Yes, you need wx-server-sdk to use these AI features. The Skill requires wx.cloud.extend.AI to facilitate text generation and streaming with callbacks within the WeChat Mini Program environment.