ai-model-cloudbase

Integrate CloudBase AI models across Web, Node, HTTP, and WeChat Mini Program.

2|1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/lxb031018/qintu --skill ai-model-cloudbase-lxb031018
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-model-cloudbase
Source: https://github.com/lxb031018/qintu/tree/main/.codebuddy/skills/ai-model-cloudbase
Command: npx skills add https://github.com/lxb031018/qintu --skill ai-model-cloudbase-lxb031018

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you reliably integrate CloudBase-hosted AI models into your app by guiding you through platform-specific setup, correct request shapes, and streaming behaviors.

Core Features & Use Cases

  • Cross-platform AI invocation: Use the JS SDK, Node SDK, HTTP API, or WeChat Mini Program AI extension with the right initialization and parameters.
  • Streaming text responses: Stream incremental tokens and handle final results via async iteration or callbacks (where supported).
  • Image generation (Node SDK): Generate images from text prompts using CloudBase AI image models (Node SDK only).
  • Practical use case: Build a chat experience that streams responses to users on Web and in a backend function, while keeping the same message schema and model workflow across environments.

Quick Start

Ask the AI to generate a streaming chat implementation for your target platform (Web, Node/Cloud Functions, HTTP, or WeChat Mini Program) using the CloudBase env ID and providing the exact model and messages payload format for that platform.

Frequently Asked Questions about ai-model-cloudbase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate CloudBase AI models into a WeChat Mini Program?

To stream text responses from CloudBase AI, handle incremental tokens using async iteration for Web and Node SDKs, or apply supported callback patterns to process the final results in your application.

Can I generate images using the CloudBase Node SDK?

Yes, you can generate images from text prompts using CloudBase AI image models, but this feature is supported exclusively through the Node SDK and is not available on Web or WeChat platforms.

Does CloudBase AI provide an OpenAI-compatible base URL for direct HTTP API calls?

Yes, CloudBase AI provides an OpenAI-compatible base URL and HTTP API, allowing direct calls that bypass SDKs while still requiring exact platform-specific initialization and request handling.

What is the best way to maintain a unified AI chat workflow across Web and backend Cloud Functions?

The best way to maintain a unified chat workflow is using the CloudBase JS SDK and Node SDK, keeping the same message schema and model workflow while handling platform-specific streaming behaviors.