/* Options: Date: 2025-01-08 03:05:20 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryGenerationModelSettings.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* open class QueryGenerationModelSettings : QueryDb(), IReturn> { open var id:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryGenerationModelSettings.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var offset:Int? = null @DataMember(Order=2) open var total:Int? = null @DataMember(Order=3) open var results:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open class ProviderModelDefaults { open var id:String? = null open var apiModels:HashMap = HashMap() open var url:String? = null open var quality:Double? = null open var aspectRatio:String? = null open var cfgScale:Double? = null open var scheduler:String? = null open var sampler:ComfySampler? = null open var width:Int? = null open var height:Int? = null open var steps:Int? = null open var negativePrompt:String? = null open var modelType:ModelType? = null } @DataContract open class QueryBase { @DataMember(Order=1) open var skip:Int? = null @DataMember(Order=2) open var take:Int? = null @DataMember(Order=3) open var orderBy:String? = null @DataMember(Order=4) open var orderByDesc:String? = null @DataMember(Order=5) open var include:String? = null @DataMember(Order=6) open var fields:String? = null @DataMember(Order=7) open var meta:HashMap? = null } enum class ComfySampler { Euler, EulerCfgPp, EulerAncestral, EulerAncestralCfgPp, Huen, Huenpp2, Dpm2, Dpm2Ancestral, Lms, DpmFast, DpmAdaptive, Dpmpp2sAncestral, DpmppSde, DpmppSdeGpu, Dpmpp2m, Dpmpp2mSde, Dpmpp2mSdeGpu, Dpmpp3mSde, Dpmpp3mSdeGpu, Ddpm, Lcm, Ddim, UniPc, UniPcBh2, } enum class ModelType { TextToImage, TextEncoder, ImageUpscale, TextToSpeech, TextToAudio, SpeechToText, ImageToText, ImageToImage, ImageWithMask, Vae, }