ai-model-nodejs
Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration. The only SDK supporting image generation (ai.createImageModel + generateImage). Text via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*; model ids (e.g. deepseek-v4-flash, glm-5, kimi-k2.6) go in the model field of generateText/streamText. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat).
Pinned to revision 4da777e3ff46, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/ai-model-nodejs/SKILL.md
- skills/ai-model-nodejs/references/api-reference.md
- skills/ai-model-nodejs/references/custom-onboarding.md
Every link opens the file at its source, pinned to the revision this page describes.