(* Options: Date: 2025-01-08 03:24:26 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: QueryGenerationModelSettings.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace AiServer.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type ComfySampler = | euler = 0 | euler_cfg_pp = 1 | euler_ancestral = 2 | euler_ancestral_cfg_pp = 3 | huen = 4 | huenpp2 = 5 | dpm_2 = 6 | dpm_2_ancestral = 7 | lms = 8 | dpm_fast = 9 | dpm_adaptive = 10 | dpmpp_2s_ancestral = 11 | dpmpp_sde = 12 | dpmpp_sde_gpu = 13 | dpmpp_2m = 14 | dpmpp_2m_sde = 15 | dpmpp_2m_sde_gpu = 16 | dpmpp_3m_sde = 17 | dpmpp_3m_sde_gpu = 18 | ddpm = 19 | lcm = 20 | ddim = 21 | uni_pc = 22 | uni_pc_bh2 = 23 type ModelType = | TextToImage = 0 | TextEncoder = 1 | ImageUpscale = 2 | TextToSpeech = 3 | TextToAudio = 4 | SpeechToText = 5 | ImageToText = 6 | ImageToImage = 7 | ImageWithMask = 8 | VAE = 9 [] type ProviderModelDefaults() = member val Id:String = null with get,set member val ApiModels:Dictionary = null with get,set member val Url:String = null with get,set member val Quality:Nullable = new Nullable() with get,set member val AspectRatio:String = null with get,set member val CfgScale:Nullable = new Nullable() with get,set member val Scheduler:String = null with get,set member val Sampler:Nullable = new Nullable() with get,set member val Width:Nullable = new Nullable() with get,set member val Height:Nullable = new Nullable() with get,set member val Steps:Nullable = new Nullable() with get,set member val NegativePrompt:String = null with get,set member val ModelType:Nullable = new Nullable() with get,set [] type QueryGenerationModelSettings() = inherit QueryDb() interface IReturn> member val Id:String = null with get,set