Table of Contents

Class SdkClient

Namespace
CivitaiSharp.Sdk
Assembly
CivitaiSharp.Sdk.dll

Primary client facade for the Civitai Generator SDK. All properties return cached, immutable, thread-safe instances that can be safely shared across threads. Obtain an instance through dependency injection using AddCivitaiSdk(IServiceCollection, Action<SdkOptions>).

public sealed class SdkClient : ISdkClient
Inheritance
SdkClient
Implements
Inherited Members

Properties

Coverage

Model and resource availability checks before submitting jobs.

public ICoverageService Coverage { get; }

Property Value

ICoverageService

Jobs

Image generation job operations: create, query, cancel, and monitor jobs.

public JobsBuilder Jobs { get; }

Property Value

JobsBuilder

Usage

API consumption tracking: credits, job counts, and history.

public IUsageService Usage { get; }

Property Value

IUsageService