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 = 3Aesthetic gradient model. Maps to API value "AestheticGradient".
Checkpoint = 0Stable Diffusion checkpoint model. Maps to API value "Checkpoint".
Controlnet = 7ControlNet model for image composition control. Maps to API value "Controlnet".
DoRa = 6DoRA (Weight-Decomposed Low-Rank Adaptation) model. Maps to API value "DoRA".
Hypernetwork = 2Hypernetwork model. Maps to API value "Hypernetwork".
LoCon = 5LyCORIS (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 = 4LoRA (Low-Rank Adaptation) model. Maps to API value "LORA".
MotionModule = 10Motion module for video generation. Maps to API value "MotionModule".
Other = 14Other model types not covered by specific categories. Maps to API value "Other".
Poses = 8Pose estimation model. Maps to API value "Poses".
TextualInversion = 1Textual inversion / embedding model. Maps to API value "TextualInversion".
Upscaler = 9Image upscaler model. Maps to API value "Upscaler".
Vae = 11VAE (Variational Autoencoder) model. Maps to API value "VAE".
Wildcards = 12Wildcards for dynamic prompting. Maps to API value "Wildcards".
Workflows = 13ComfyUI or other workflow definitions. Maps to API value "Workflows".
Remarks
API string mappings are defined in ApiStringRegistry.