Lightlines
By tencentcloudbase

ai-model-nodejs

tencentcloudbase993 installs

Build text and image AI into your Node.js backend.

What it does

Guides implementation of server-side text and image generation with CloudBase's Node.js SDK, including environment checks and live verification.

When to use it

Use when AI calls belong on a Node.js backend, cloud function, or CloudRun service rather than in a browser or Mini Program.

How to use it

It changes how the agent implements backend AI integrations by requiring eligibility checks, model readiness checks, correct SDK usage, and a verified live call.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: CloudBase
  • sends a credential to a server: ApiKey

Latest review

What you need · 5

The integration runs in a Node.js backend, cloud function, or CloudRun service.

Requires a CloudBase environment with an active Token Credits resource pack for managed text and image generation; the preflight stops code generation when the pack is absent.

Regular Node.js server initialization supplies secretId together with secretKey; the files do not state where these values are obtained.


Access · 1

This skill

CloudBase

Write

Enables models and spends AI credits (irreversible)