' Options: 'Date: 2025-01-08 03:04:34 'Version: 8.53 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://blazordiffusion.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: QueryGenerationApiProviders.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports AiServer.ServiceModel.Types Imports AiServer.ServiceModel Namespace Global Namespace AiServer.ServiceModel Public Partial Class QueryGenerationApiProviders Inherits QueryDb(Of GenerationApiProvider) Implements IReturn(Of QueryResponse(Of GenerationApiProvider)) Public Overridable Property Id As Integer? Public Overridable Property Name As String End Class End Namespace Namespace AiServer.ServiceModel.Types Public Partial Class AiProviderBase Inherits ApiProviderBase Public Overridable Property Models As List(Of String) = New List(Of String) End Class Public Enum AiServiceProvider Replicate Comfy OpenAi End Enum Public Partial Class ApiProviderBase Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property ApiKeyVar As String Public Overridable Property ApiKey As String Public Overridable Property ApiKeyHeader As String Public Overridable Property ApiBaseUrl As String Public Overridable Property HeartbeatUrl As String Public Overridable Property Concurrency As Integer Public Overridable Property Priority As Integer Public Overridable Property Enabled As Boolean Public Overridable Property OfflineDate As Date? Public Overridable Property CreatedDate As Date End Class Public Partial Class ApiTypeBase Public Overridable Property Id As Integer Public Overridable Property ApiBaseUrl As String Public Overridable Property ApiKeyHeader As String Public Overridable Property Name As String Public Overridable Property Website As String Public Overridable Property Icon As String Public Overridable Property ApiModels As Dictionary(Of String, String) = New Dictionary(Of String, String) Public Overridable Property Provider As AiServiceProvider End Class Public Partial Class GenerationApiProvider Inherits AiProviderBase Public Overridable Property GenerationApiTypeId As Integer Public Overridable Property Type As GenerationApiType End Class Public Partial Class GenerationApiType Inherits ApiTypeBase End Class End Namespace End Namespace