What problem does it solve? It guides developers through calling AI models from Node.js server-side code (cloud functions, CloudRun, Express, Koa, NestJS) using @cloudbase/node-sdk, preventing common mistakes like passing vendor names to createModel, skipping the Token Credits eligibility check, or calling models that were never enabled in the environment. ## Core Features & Use Cases - Text generation: Non-streaming generateText and streaming streamText against the managed cloudbase model group (DeepSeek, Hunyuan, GLM, Kimi, MiniMax) or custom OpenAI-compatible endpoints. - Image generation: Server-side image creation via ai.createImageModel("hunyuan-image") + generateImage, the only SDK plane that supports it. - Mandatory two-step preflight: Verify the Token Credits resource pack (DescribeEnvPostpayPackage) and group/model readiness (DescribeAIModels → DescribeManagedAIModelList → UpdateAIModel) before writing any SDK code. - Use Case: Build a CloudBase cloud function that streams DeepSeek responses to clients, or a scheduled job that generates marketing images with Hunyuan Image, with correct timeouts and billing checks. ## Quick Start Ask the AI to write a CloudBase cloud function that calls deepseek-v4-flash with streamText after running the Token Credits and model-enablement preflight checks.