Table of Contents

Namespace CivitaiSharp.Core

Classes

ApiClient

Primary client facade for the Civitai public API. All builder properties return cached, immutable, thread-safe instances that can be safely shared across threads. Each fluent method on a builder returns a new instance with the updated configuration, leaving the original builder unchanged. Obtain an instance through dependency injection using AddCivitaiApi(IServiceCollection, Action<ApiOptions>).

ApiOptions

Configuration options for the Core library (public API).

CivitaiSharpOptions

Unified configuration options for CivitaiSharp libraries.

SdkOptions

Configuration options for the Sdk library (Generator/Orchestration API).

Interfaces

IApiClient

Client interface for the Civitai public API. Properties return cached, immutable builder instances that are safe for concurrent access. Each fluent method on the builders returns a new instance, so multiple threads can safely derive new configurations from the same base builder.