{"product_id":"node-js-ai-agent-skill-cloud-functions-image-generation","title":"Node.js AI Agent Skill: Cloud Functions \u0026 Image Generation","description":"\u003ch3\u003eNode.js AI Agent Skill: Cloud Functions \u0026amp; Image Generation\u003c\/h3\u003e\n\n\u003cp\u003eThis AI agent skill enables Node.js backend capabilities via the \u003ccode\u003e@cloudbase\/node-sdk\u003c\/code\u003e (version 3.16.0 or higher), providing support for cloud functions, CloudRun, Express, Koa, NestJS, serverless APIs, scheduled jobs, and LLM proxies. It is the only SDK that supports image generation through the methods \u003ccode\u003eai.createImageModel\u003c\/code\u003e and \u003ccode\u003egenerateImage\u003c\/code\u003e. It also facilitates text model interaction using \u003ccode\u003eai.createModel\u003c\/code\u003e with specified groups such as cloudbase, hunyuan-exp, or custom configurations.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this skill does\u003c\/h3\u003e\n\n\u003cul\u003e\n  \u003cli\u003eSupports calling AI models from Node.js backends and cloud environments via the \u003ccode\u003e@cloudbase\/node-sdk\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eEnables image generation, which is not supported by other SDKs, using specific methods.\u003c\/li\u003e\n  \u003cli\u003eFacilitates text generation through various model IDs, including \u003ccode\u003edeepseek-v4-flash\u003c\/code\u003e and \u003ccode\u003ehunyuan-2.0-instruct-20251111\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eRequires a two-step preflight before executing core code to ensure proper functioning.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWho it is for\u003c\/h3\u003e\n\n\u003cp\u003eThis skill is intended for developers and teams leveraging AI coding agents such as Claude Code, Cursor, and Codex for backend development. It is particularly useful for those integrating AI functionalities into Node.js applications running on cloud infrastructure.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\n\u003cul\u003e\n  \u003cli\u003eNode.js backend development requiring cloud-based AI integrations.\u003c\/li\u003e\n  \u003cli\u003eDeploying serverless functions that need image generation capabilities.\u003c\/li\u003e\n  \u003cli\u003eImplementing LLM proxies and managing scheduled AI-driven tasks in cloud environments.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\n\u003cp\u003eThe skill utilizes the \u003ccode\u003e@cloudbase\/node-sdk\u003c\/code\u003e, requiring version 3.16.0 or above, and interacts with specific AI models for both text and image generation. The methods \u003ccode\u003egenerateText\u003c\/code\u003e and \u003ccode\u003estreamText\u003c\/code\u003e enable textual AI functionalities, supporting models like \u003ccode\u003edeepseek-v4-flash\u003c\/code\u003e and \u003ccode\u003eglm-5\u003c\/code\u003e.\u003c\/p\u003e\n\n\u003cp\u003eNote that this skill is not suitable for browser-based or Mini Program implementations; for such environments, alternative SDK options such as ai-model-web or ai-model-wechat should be considered. Additionally, it may require sibling CloudBase skills, which should be installed using relative paths where necessary.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:start --\u003e\n\u003chr\u003e\n\u003ch3\u003eSource \u0026amp; Licence\u003c\/h3\u003e\n\u003cp\u003eThis package is built on open-source work published by \u003cstrong\u003eTencentCloudBase\u003c\/strong\u003e (\u003ca href=\"https:\/\/github.com\/TencentCloudBase\/CloudBase-AI-Toolkit\" rel=\"nofollow noopener\" target=\"_blank\"\u003eTencentCloudBase\/CloudBase-AI-Toolkit\u003c\/a\u003e) and distributed under \u003cstrong\u003eMIT\u003c\/strong\u003e. The original licence text and copyright notice are included in your download.\u003c\/p\u003e\n\u003cp\u003ePersonal and commercial use, modification and redistribution are permitted, provided the original copyright and licence notice are retained.\u003c\/p\u003e\n\u003cp\u003eYour purchase covers curation, licence verification, packaging, documentation and instant delivery. It does not grant exclusive rights to the underlying open-source code, which remains available under its original licence.\u003c\/p\u003e\n\u003ch3\u003eDelivery \u0026amp; Support\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eDelivery:\u003c\/strong\u003e instant — a secure download link is emailed to you as soon as payment is confirmed.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFormat:\u003c\/strong\u003e ZIP archive containing the skill files, documentation and the original licence.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupport:\u003c\/strong\u003e \u003ca href=\"mailto:support@mcpcart.com\"\u003esupport@mcpcart.com\u003c\/a\u003e — we aim to reply within 2 business days.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUpdates:\u003c\/strong\u003e updates are included only where stated on this page.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eRefunds\u003c\/h3\u003e\n\u003cp\u003eThis is a digital product delivered immediately after purchase. By completing your order you request immediate delivery and acknowledge that, once the download has been accessed, the statutory right to cancel no longer applies to the extent permitted by law. Refund requests are handled in accordance with our published Refund Policy.\u003c\/p\u003e\n\u003cp style=\"font-size:0.85em;color:#666;\"\u003eClaude, Codex, Gemini and Cursor are trademarks of their respective owners. MCP Cart is an independent marketplace and is not affiliated with, endorsed by, or sponsored by any of them. Compatibility references describe interoperability only.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:end --\u003e","brand":"MCP Cart","offers":[{"title":"Default Title","offer_id":52860745515319,"sku":"MCP-TENCENTCLOUDBASE-CLOUDBASE-AI-TOOLKIT-AI-MODEL-NODEJS","price":4.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0981\/3950\/4951\/files\/7r-TDuxmIs8sYB4gRiI3q_c41298bcab0543ea8f019b7b7e7f66e5.jpg?v=1787054822","url":"https:\/\/mcpcart.com\/products\/node-js-ai-agent-skill-cloud-functions-image-generation","provider":"SPF PRO","version":"1.0","type":"link"}