Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

apiz-sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apiz-sdk

Official TypeScript SDK for the apiz.ai AI generation platform

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
11
120%
Maintainers
1
Weekly downloads
 
Created
Source

apiz-sdk

Official TypeScript SDK for the apiz.ai AI generation platform.

Status: Phase 1B scaffolding. Stub exports only. Full HTTP client, resources, error types and helpers arrive in Phase 2B.

Package name note: this SDK is published as apiz-sdk (not @apiz/sdk) because the @apiz scope and unscoped apiz are both reserved on npm by other accounts. The Python package is just apiz (PyPI was free).

Install

npm install apiz-sdk
# or pnpm / yarn / bun

Usage (preview)

import { Apiz } from "apiz-sdk";

const client = new Apiz({ apiKey: process.env.APIZ_API_KEY });

// Resource-style (low level)
const task = await client.tasks.create({
  model: "fal-ai/flux-2/flash",
  params: { prompt: "a cat on rainbow" },
});
const result = await client.tasks.waitFor(task.task_id);

// Helper (high level)
const out = await client.generate({
  model: "wan/v2.6/image-to-video",
  prompt: "camera zooms in",
  image_url: "https://...",
});

Environment variables

VarDefaultPurpose
APIZ_API_KEY(none)Bearer token. Get one at https://apiz.ai/#/v2/api-keys
APIZ_BASE_URLhttps://api.apiz.aiOverride backend
APIZ_TIMEOUT60000Per-request timeout in ms

The legacy XSKILL_API_KEY env var is also accepted.

License

Apache-2.0

Keywords

apiz

FAQs

Package last updated on 20 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts