AI Model Web

Use this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk. Default routing for Web/frontend AI — call directly from the browser, do NOT propose a Node.js proxy. Covers generateText and streamText; models via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*, model id in the `model` field. MUST run two-step preflight before code — see body. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only).

tencentcloudbase 0ec41d5 23.9 KB Updated

File contents

tencentcloudbase/cloudbase-plugin/tree/main/skills/ai-model-web commit 0ec41d511f

Frequently asked questions

npx skillmds@latest add tencentcloudbase/ai-model-web