Mini Program Growth Plan User Guide
Use Text Generation Models
The tokens gifted by the Growth Plan can be used to call text generation models directly in your mini program. Choose the SDK for your runtime environment:
- Mini Program: Mini Program Integration
- Cloud Functions: wx-server-sdk Integration
- Cloud Run / Node.js: Node SDK Integration
Use Image Generation Models
The image generation credits gifted by the Mini Program Growth Plan can be used to call the Hunyuan image generation model, which generates images from text descriptions. Image generation is only supported in server-side environments (cloud functions / cloud hosting).
- Cloud Functions: wx-server-sdk
- Cloud Run / Node.js: Node SDK
A well-crafted prompt significantly improves the quality of generated images:
- Describe the subject: "an orange cat" → "a chubby, adorable orange cat with big eyes and short legs"
- Specify a style: add descriptors like "watercolor style", "oil painting style", "cyberpunk", or "realistic photography"
- Describe the scene and lighting: "a sun-drenched café", "golden hour soft side lighting"
- Specify the composition: "close-up", "bird's-eye view", "wide shot", "center-symmetric composition"
Example:
A chubby orange cat napping on a wooden windowsill in the sunshine, warm sunlight on its fluffy fur, watercolor illustration style, soft warm tones, cozy and heartwarming scene
Develop Mini Programs with AI Tools
Use CloudBase Skills (MCP) to let Cursor, Lobechat 🦞, OpenClaw, CodeBuddy, WorkBuddy, VS Code, Claude Code, and other AI tools directly operate CloudBase resources without manual environment setup.
Step 1, run the following command in your AI tool to install CloudBase Skills:
npx skills add tencentcloudbase/cloudbase-skills -y
Step 2, tell your AI: "Use CloudBase Skills to develop a todo mini program"
The AI will automatically handle: code generation, database creation, cloud function deployment, and more.
For detailed configuration, see CloudBase MCP/Skill Configuration Guide.
Resource Management
Note: Log in with your WeChat Official Accounts Platform account and select the mini program that has applied to the Mini Program Growth Plan.
- If you received a CloudBase plan, view the expiration time and resource usage in CloudBase Console → Package Usage
- If you received a CloudBase voucher, view vouchers and validity in Tencent Cloud Expense Center → Promotion Management → Vouchers
- Text generation model token usage: View usage and integration guide in CloudBase Console → Text Generation Models
- Image generation model usage: View usage and integration guide in CloudBase Console → Image Generation Models
What to Do When Text Tokens Run Out
After the tokens gifted by the Mini Program Growth Plan are exhausted, you can switch to a Resource-Point Plan to continue using models such as DeepSeek, Kimi, MiniMax, GLM, and Hunyuan. For details, see AI Model Access - Resource-Point Plan.
What to Do When Image Generation Credits Run Out
CloudBase does not currently offer additional image generation resource packages once the Mini Program Growth Plan credits are exhausted. You will need to switch to another image generation provider (such as Stability AI, Zhipu CogView, etc.) directly in your cloud function code — update the generateImage call logic and the rest of the function can remain unchanged.
Get Help
Visit the CloudBase Community to ask questions, join communication groups, or submit tickets — 1v1 dedicated customer service available.