Skip to content

Repository files navigation

@civitai/orchestration-client

Civitai's JavaScript client for generating AI content.

npm install @civitai/orchestration-client
import { createCivitaiClient } from '@civitai/orchestration-client';

const client = createCivitaiClient({ auth: process.env.CIVITAI_API_TOKEN });

Renamed from @civitai/client

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.

Releasing

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.

Regenerating the client

The contents of src/generated/ are generated from the orchestration OpenAPI spec and should not be edited by hand:

npm run generate

About

Civitai's javascript client for generating ai content

Resources

Stars

6 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages