Civitai's JavaScript client for generating AI content.
npm install @civitai/orchestration-clientimport { createCivitaiClient } from '@civitai/orchestration-client';
const client = createCivitaiClient({ auth: process.env.CIVITAI_API_TOKEN });This package was previously published as @civitai/client. Publishing to that name has been
blocked by a registry-side failure since 2026-09-02 — every publish returns a 503 while every
other operation on the package succeeds — so development continues here. The API is unchanged;
only the package name differs.
To migrate, swap the dependency and update your imports:
-import { createCivitaiClient } from '@civitai/client';
+import { createCivitaiClient } from '@civitai/orchestration-client';@civitai/client remains installable at 0.2.0-beta.98 but will not receive further releases.
Releases are automated. Bump version in package.json and push to main; the
release workflow tests, builds, and publishes to npm using
trusted publishing, then tags the commit.
Prerelease versions (0.2.0-beta.101) publish under the beta dist-tag; plain versions
(0.2.0) publish under latest.
The contents of src/generated/ are generated from the orchestration OpenAPI spec and should not
be edited by hand:
npm run generate