zerogpu
v0.1.1
Published
Official ZeroGPU API client for Node.js and TypeScript
Maintainers
Readme
zerogpu
Official ZeroGPU API client for Node.js and modern runtimes.
Install
npm install zerogpuQuick Start
import { ZerogpuApiClient } from "zerogpu";
const client = new ZerogpuApiClient({
apiKey: process.env.ZEROGPU_API_KEY!,
projectId: process.env.ZEROGPU_PROJECT_ID!,
});
const response = await client.responses.createResponse({
model: "zlm-v1-followup-questions-edge",
input: "In one short sentence, what is a habit tracker?",
text: { format: { type: "text" } },
});
console.log(response.output);Environment Variables
ZEROGPU_API_KEYZEROGPU_PROJECT_IDZEROGPU_API_URLis optional and override-only. If unset, the SDK always uses production:https://api.zerogpu.ai/v1
API Reference
Maintainers
From this npm/ directory:
npm install
npm run build
npm publish --access publicThis package bundles the generated TypeScript SDK from ../sdks/typescript via tsup.
