Search Results for

    Show / Hide Table of Contents

    Class ModelUtility

    Inheritance
    object
    ModelUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public static class ModelUtility

    Fields

    | Edit this page View Source

    NameParsingPriority

    Declaration
    public static readonly string[] NameParsingPriority
    Field Value
    Type Description
    string[]

    Methods

    | Edit this page View Source

    GetApi(string)

    Declaration
    public static Api GetApi(string modelId)
    Parameters
    Type Name Description
    string modelId
    Returns
    Type Description
    Api
    | Edit this page View Source

    GetApiByModelId(string, Api)

    Declaration
    public static Api GetApiByModelId(string modelId, Api fallback = Api.OpenAI)
    Parameters
    Type Name Description
    string modelId
    Api fallback
    Returns
    Type Description
    Api
    | Edit this page View Source

    IsDalle2(ModelBase)

    Declaration
    public static bool IsDalle2(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsDalle3(ModelBase)

    Declaration
    public static bool IsDalle3(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsGemini(ModelBase)

    Declaration
    public static bool IsGemini(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsGoogleImagen(ModelBase)

    Declaration
    public static bool IsGoogleImagen(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsGpt3(string)

    Declaration
    public static bool IsGpt3(string modelId)
    Parameters
    Type Name Description
    string modelId
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsGptImage(ModelBase)

    Declaration
    public static bool IsGptImage(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsLanguageModel(ModelBase)

    Declaration
    public static bool IsLanguageModel(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsOmniFamily(string)

    Declaration
    public static bool IsOmniFamily(string modelId)
    Parameters
    Type Name Description
    string modelId
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsQwen3(string)

    Declaration
    public static bool IsQwen3(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsValidModelId(string)

    Declaration
    public static bool IsValidModelId(string modelId)
    Parameters
    Type Name Description
    string modelId
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsValidModelVersion(float)

    Declaration
    public static bool IsValidModelVersion(float version)
    Parameters
    Type Name Description
    float version
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsVeo2(ModelBase)

    Declaration
    public static bool IsVeo2(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsVeo3(ModelBase)

    Declaration
    public static bool IsVeo3(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsVeo3_1(ModelBase)

    Declaration
    public static bool IsVeo3_1(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    | Edit this page View Source

    ResolveModelId(string, string)

    Declaration
    public static string ResolveModelId(string modelId, string defaultModelId)
    Parameters
    Type Name Description
    string modelId
    string defaultModelId
    Returns
    Type Description
    string
    | Edit this page View Source

    SupportsInpainting(ModelBase)

    Declaration
    public static bool SupportsInpainting(this ModelBase model)
    Parameters
    Type Name Description
    ModelBase model
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation