Table of Contents

Enum ModelType

Namespace
CivitaiSharp.Core.Models
Assembly
CivitaiSharp.Core.dll

Type of model as represented by the Civitai API. Use ToApiString<TEnum>(TEnum) when converting to the API query string form.

public enum ModelType
Extension Methods

Fields

AestheticGradient = 3

Aesthetic gradient model. Maps to API value "AestheticGradient".

Checkpoint = 0

Stable Diffusion checkpoint model. Maps to API value "Checkpoint".

Controlnet = 7

ControlNet model for image composition control. Maps to API value "Controlnet".

DoRa = 6

DoRA (Weight-Decomposed Low-Rank Adaptation) model. Maps to API value "DoRA".

Hypernetwork = 2

Hypernetwork model. Maps to API value "Hypernetwork".

LoCon = 5

LyCORIS (Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion) model. Also includes LoCon (LoRA for Convolution Network) variants. Maps to API value "LoCon".

Lora = 4

LoRA (Low-Rank Adaptation) model. Maps to API value "LORA".

MotionModule = 10

Motion module for video generation. Maps to API value "MotionModule".

Other = 14

Other model types not covered by specific categories. Maps to API value "Other".

Poses = 8

Pose estimation model. Maps to API value "Poses".

TextualInversion = 1

Textual inversion / embedding model. Maps to API value "TextualInversion".

Upscaler = 9

Image upscaler model. Maps to API value "Upscaler".

Vae = 11

VAE (Variational Autoencoder) model. Maps to API value "VAE".

Wildcards = 12

Wildcards for dynamic prompting. Maps to API value "Wildcards".

Workflows = 13

ComfyUI or other workflow definitions. Maps to API value "Workflows".

Remarks

API string mappings are defined in ApiStringRegistry.