Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | query | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | Yes | |
ApiModels | form | Dictionary<string, string> | Yes | |
Url | form | string | Yes | |
Quality | form | double? | No | |
AspectRatio | form | string | Yes | |
CfgScale | form | double? | No | |
Scheduler | form | string | Yes | |
Sampler | form | ComfySampler? | No | |
Width | form | int? | No | |
Height | form | int? | No | |
Steps | form | int? | No | |
NegativePrompt | form | string | Yes | |
ModelType | form | ModelType? | No |
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 |
TextToImage | |
TextEncoder | |
ImageUpscale | |
TextToSpeech | |
TextToAudio | |
SpeechToText | |
ImageToText | |
ImageToImage | |
ImageWithMask | |
VAE |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<ArtifactResult> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserPrompt | form | string | Yes | |
ArtistNames | form | List<string> | Yes | |
ModifierNames | form | List<string> | Yes | |
PrimaryArtifactId | form | int? | No | |
OwnerRef | form | string | Yes | |
Similarity | form | double? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CreativeId | form | int | No | |
FileName | form | string | Yes | |
FilePath | form | string | Yes | |
ContentType | form | string | Yes | |
ContentLength | form | long | No | |
Width | form | int | No | |
Height | form | int | No | |
Seed | form | ulong | No | |
Prompt | form | string | Yes | |
Nsfw | form | bool? | No | |
AverageHash | form | long? | No | |
PerceptualHash | form | long? | No | |
DifferenceHash | form | long? | No | |
Background | form | string | No | |
Lqip | form | string | No | |
Quality | form | int | No | |
LikesCount | form | int | No | |
AlbumsCount | form | int | No | |
DownloadsCount | form | int | No | |
SearchCount | form | int | No | |
TemporalScore | form | int | No | |
Score | form | int | No | |
Rank | form | int | No | |
RefId | form | string | Yes | |
Versions | form | Dictionary<string, string> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CreatedDate | form | DateTime | No | |
CreatedBy | form | string | Yes | |
ModifiedDate | form | DateTime | No | |
ModifiedBy | form | string | Yes | |
DeletedDate | form | DateTime? | No | |
DeletedBy | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/QueryGenerationModelSettings HTTP/1.1
Host: blazordiffusion.com
Accept: text/jsv
Content-Type: text/jsv
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/jsv 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 } } }