Namespace CivitaiSharp.Core.Models
Classes
- CivitaiResource
A Civitai resource reference used in image generation metadata.
- Creator
Information about the creator of a model or other resource.
- Hashes
Checksums and hashes for a model file using various algorithms.
- Image
Image returned by the public API.
- ImageMeta
Generation metadata and parameters for an image.
- ImageMetaExtra
Extra metadata for an image, such as remix information.
- ImageMetaResource
A resource reference in image generation metadata (different from CivitaiResource). This represents resources embedded in the generation workflow, typically from A1111.
- ImageStats
Statistics for an image based on user reactions and interactions.
- Model
Model returned by the public API. This type mirrors the commonly returned fields from the /models endpoints including nested information such as creator, statistics and model versions so callers can inspect returned JSON without losing data.
- ModelFile
File associated with a model version.
- ModelStats
Statistics for a model based on user interactions and engagement.
- ModelVersion
Represents a model version. When embedded in a Model response, some fields may be null. When fetched directly via /model-versions/:id, additional fields like Model and ModelId are populated.
- ModelVersionImage
An image associated with a model version (for gallery/examples). When fetched via /model-versions/:id endpoint, some fields like Id may be absent.
- ModelVersionImageFile
File properties of an image in a model version gallery including dimensions and perceptual hash.
- ModelVersionModel
Abbreviated model information included in a standalone model version response.
- ModelVersionStats
Statistics for a model version based on user interactions and engagement.
- Tag
Tag returned by the public API.
Enums
- Availability
Availability status of a model on the Civitai platform.
- CommercialUsePermission
Commercial use permissions used by model queries.
- ImageNsfwLevel
NSFW levels for images used in API queries.
- ImageSort
Sorting options for image queries.
- MediaType
Media type of a resource (image or video).
- ModelMode
Mode or status state of a model.
- ModelSort
Sorting options for model queries.
- ModelType
Type of model as represented by the Civitai API. Use ToApiString<TEnum>(TEnum) when converting to the API query string form.
- TimePeriod
Time periods used to restrict results in queries (e.g. week, month).