Blazor Diffusion

<back to all web services

QueryGenerationModelSettings

QueryGenerationModelSettings Parameters:
NameParameterData TypeRequiredDescription
IdquerystringYes
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
ProviderModelDefaults Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
ApiModelsformDictionary<string, string>Yes
UrlformstringYes
Qualityformdouble?No
AspectRatioformstringYes
CfgScaleformdouble?No
SchedulerformstringYes
SamplerformComfySampler?No
Widthformint?No
Heightformint?No
Stepsformint?No
NegativePromptformstringYes
ModelTypeformModelType?No
ComfySampler Enum:
euler
euler_cfg_pp
euler_ancestral
euler_ancestral_cfg_pp
huen
huenpp2
dpm_2
dpm_2_ancestral
lms
dpm_fast
dpm_adaptive
dpmpp_2s_ancestral
dpmpp_sde
dpmpp_sde_gpu
dpmpp_2m
dpmpp_2m_sde
dpmpp_2m_sde_gpu
dpmpp_3m_sde
dpmpp_3m_sde_gpu
ddpm
lcm
ddim
uni_pc
uni_pc_bh2
ModelType Enum:
TextToImage
TextEncoder
ImageUpscale
TextToSpeech
TextToAudio
SpeechToText
ImageToText
ImageToImage
ImageWithMask
VAE
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<ArtifactResult>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo
ArtifactResult Parameters:
NameParameterData TypeRequiredDescription
UserPromptformstringYes
ArtistNamesformList<string>Yes
ModifierNamesformList<string>Yes
PrimaryArtifactIdformint?No
OwnerRefformstringYes
Similarityformdouble?No
Artifact Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreativeIdformintNo
FileNameformstringYes
FilePathformstringYes
ContentTypeformstringYes
ContentLengthformlongNo
WidthformintNo
HeightformintNo
SeedformulongNo
PromptformstringYes
Nsfwformbool?No
AverageHashformlong?No
PerceptualHashformlong?No
DifferenceHashformlong?No
BackgroundformstringNo
LqipformstringNo
QualityformintNo
LikesCountformintNo
AlbumsCountformintNo
DownloadsCountformintNo
SearchCountformintNo
TemporalScoreformintNo
ScoreformintNo
RankformintNo
RefIdformstringYes
VersionsformDictionary<string, string>Yes
AuditBase Parameters:
NameParameterData TypeRequiredDescription
CreatedDateformDateTimeNo
CreatedByformstringYes
ModifiedDateformDateTimeNo
ModifiedByformstringYes
DeletedDateformDateTime?No
DeletedByformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/reply/QueryGenerationModelSettings HTTP/1.1 
Host: blazordiffusion.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":"String","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"offset":0,"total":0,"results":[{"id":"String","apiModels":{"String":"String"},"url":"String","quality":0,"aspectRatio":"String","cfgScale":0,"scheduler":"String","sampler":"euler","width":0,"height":0,"steps":0,"negativePrompt":"String","modelType":"TextToImage"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}