Add initial implementation of comfyui_api_sdk with API models and examples

This commit is contained in:
2025-03-20 13:51:02 +01:00
commit 1f9409ce0e
28 changed files with 16525 additions and 0 deletions

View File

@@ -0,0 +1,88 @@
[
{
"name": "checkpoints",
"folders": [
"/stable-diffusion/models/checkpoints",
"/data/models/Stable-diffusion",
"/stable-diffusion/output/checkpoints"
]
},
{
"name": "loras",
"folders": [
"/stable-diffusion/models/loras",
"/data/models/Lora",
"/stable-diffusion/output/loras"
]
},
{
"name": "vae",
"folders": [
"/stable-diffusion/models/vae",
"/data/models/VAE",
"/stable-diffusion/output/vae"
]
},
{
"name": "text_encoders",
"folders": [
"/stable-diffusion/models/text_encoders",
"/stable-diffusion/models/clip",
"/data/models/CLIPEncoder",
"/stable-diffusion/output/clip"
]
},
{
"name": "diffusion_models",
"folders": [
"/stable-diffusion/models/unet",
"/stable-diffusion/models/diffusion_models",
"/stable-diffusion/output/diffusion_models"
]
},
{
"name": "clip_vision",
"folders": ["/stable-diffusion/models/clip_vision"]
},
{
"name": "style_models",
"folders": ["/stable-diffusion/models/style_models"]
},
{
"name": "embeddings",
"folders": ["/stable-diffusion/models/embeddings", "/data/embeddings"]
},
{ "name": "diffusers", "folders": ["/stable-diffusion/models/diffusers"] },
{ "name": "vae_approx", "folders": ["/stable-diffusion/models/vae_approx"] },
{
"name": "controlnet",
"folders": [
"/stable-diffusion/models/controlnet",
"/stable-diffusion/models/t2i_adapter",
"/data/models/ControlNet"
]
},
{
"name": "gligen",
"folders": ["/stable-diffusion/models/gligen", "/data/models/GLIGEN"]
},
{
"name": "upscale_models",
"folders": [
"/stable-diffusion/models/upscale_models",
"/data/models/RealESRGAN",
"/data/models/ESRGAN",
"/data/models/SwinIR",
"/data/models/GFPGAN"
]
},
{
"name": "hypernetworks",
"folders": [
"/stable-diffusion/models/hypernetworks",
"/data/models/hypernetworks"
]
},
{ "name": "photomaker", "folders": ["/stable-diffusion/models/photomaker"] },
{ "name": "classifiers", "folders": ["/stable-diffusion/models/classifiers"] }
]

View File

@@ -0,0 +1,31 @@
[
{ "name": "prefectPonyXL_v3.safetensors", "pathIndex": 1 },
{ "name": "sd-v1-5-inpainting.ckpt", "pathIndex": 1 },
{ "name": "v1-5-pruned-emaonly.ckpt", "pathIndex": 1 },
{ "name": "Semi-realism/bemypony_Semirealanime.safetensors", "pathIndex": 1 },
{ "name": "Semi-realism/duchaitenPonyXLNo_v60.safetensors", "pathIndex": 1 },
{ "name": "FLUX/flux1-dev-fp8.safetensors", "pathIndex": 1 },
{ "name": "Realism/cyberrealisticPony_v70a.safetensors", "pathIndex": 1 },
{ "name": "Realism/cyberrealisticPony_v8.safetensors", "pathIndex": 1 },
{ "name": "Realism/realvisxlV50_v50Bakedvae.safetensors", "pathIndex": 1 },
{
"name": "Anime/autismmixSDXL_autismmixConfetti.safetensors",
"pathIndex": 1
},
{ "name": "Anime/autismmixSDXL_autismmixPony.safetensors", "pathIndex": 1 },
{
"name": "Anime/ponyDiffusionV6XL_v6StartWithThisOne.safetensors",
"pathIndex": 1
},
{ "name": "Anime/prefectPonyXL_v50.safetensors", "pathIndex": 1 },
{ "name": "Anime/waiANINSFWPONYXL_v11.safetensors", "pathIndex": 1 },
{ "name": "Anime/waiANINSFWPONYXL_v130.safetensors", "pathIndex": 1 },
{ "name": "Anime/waiNSFWIllustrious_v70.safetensors", "pathIndex": 1 },
{ "name": "RDXL/rdxlAnime_sdxlPony8.safetensors", "pathIndex": 1 },
{ "name": "RDXL/rdxlPixelArt_pony2.safetensors", "pathIndex": 1 },
{ "name": "RDXL/realDream_sdxlPony12.safetensors", "pathIndex": 1 },
{ "name": "SD3.5/sd3.5_large_fp16.safetensors", "pathIndex": 1 },
{ "name": "SD3.5/sd3.5_large_fp8_scaled.safetensors", "pathIndex": 1 },
{ "name": "Babes/babesBYSTABLEYOGI_xlV2.safetensors", "pathIndex": 1 },
{ "name": "Babes/babesByStableYogi_ponyV3VAE.safetensors", "pathIndex": 1 }
]

View File

@@ -0,0 +1,101 @@
[
{ "name": "Expressive_H-000001.safetensors", "pathIndex": 1 },
{ "name": "Hand v2.safetensors", "pathIndex": 1 },
{ "name": "LogoRedmondV2-Logo-LogoRedmAF.safetensors", "pathIndex": 1 },
{ "name": "WowifierXL-V2.safetensors", "pathIndex": 1 },
{ "name": "detailed_notrigger.safetensors", "pathIndex": 1 },
{ "name": "detailxl.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/80s_Pop_PDXL.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/Alola_Style_PDXL.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/BoldToon.safetensors", "pathIndex": 1 },
{
"name": "Citron Pony Styles/CandyCuteStylePDXL.safetensors",
"pathIndex": 1
},
{
"name": "Citron Pony Styles/CatalystStylePDXL.safetensors",
"pathIndex": 1
},
{ "name": "Citron Pony Styles/Citron3D_PDXL.safetensors", "pathIndex": 1 },
{
"name": "Citron Pony Styles/CitronAnimeTreasure-07.safetensors",
"pathIndex": 1
},
{ "name": "Citron Pony Styles/EnergyCAT.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/FlatAnimeP1.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/LunarCAT_Style.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/RealisticAnime.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/Smooth.safetensors", "pathIndex": 1 },
{ "name": "Citron Pony Styles/Vivid.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/Sh4rd4n1cXLP.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/ch33s3XLP.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/itsyelizXLP.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/lalangheejXLP.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/nikkileeismeXLP.safetensors", "pathIndex": 1 },
{ "name": "Vixon's Pony Styles/tomidoronXLP.safetensors", "pathIndex": 1 },
{ "name": "Characters/princess_xl_v2.safetensors", "pathIndex": 1 },
{ "name": "Characters/princess_zelda.safetensors", "pathIndex": 1 },
{
"name": "Characters/Peni Parker/32dim-MR_PeniParker-PONY.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Peni Parker/PeniParkerRivals-10.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Peni Parker/Peni_Parker-000007.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Peni Parker/Peni_parker_marvel_rivels.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Cortana/Cortana(revAnimated).safetensors",
"pathIndex": 1
},
{ "name": "Characters/Cortana/Cortana.safetensors", "pathIndex": 1 },
{ "name": "Characters/Cortana/Cortana_XL.safetensors", "pathIndex": 1 },
{ "name": "Characters/Cortana/cortana_xl_v3.safetensors", "pathIndex": 1 },
{
"name": "Characters/Widowmaker/SDXL_ow1 Windowmaker.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Widowmaker/WidowmakerPonyLoRA.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Widowmaker/Widowmaker_cgi.safetensors",
"pathIndex": 1
},
{ "name": "Characters/Lara Croft/ClassicLara.safetensors", "pathIndex": 1 },
{
"name": "Characters/Lara Croft/LaraCroft_character-20.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Lara Croft/lara_croft_xl_v2.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Samus Aran/Samus AranPonyLora.safetensors",
"pathIndex": 1
},
{ "name": "Characters/Samus Aran/samus aran.safetensors", "pathIndex": 1 },
{ "name": "Characters/Samus Aran/samus-09.safetensors", "pathIndex": 1 },
{
"name": "Characters/D.va/DVaOWXL - by KillerUwU13_AI.safetensors",
"pathIndex": 1
},
{ "name": "Characters/D.va/DVaPony.safetensors", "pathIndex": 1 },
{
"name": "Characters/Scarlett Johansson/Scarlett-v20.safetensors",
"pathIndex": 1
},
{
"name": "Characters/Scarlett Johansson/Scarlett4.safetensors",
"pathIndex": 1
}
]

View File

@@ -0,0 +1,10 @@
[
{ "name": "RealESRGAN_x4plus.pth", "pathIndex": 1 },
{ "name": "RealESRGAN_x4plus_anime_6B.pth", "pathIndex": 1 },
{ "name": "4x-AnimeSharp.pth", "pathIndex": 2 },
{ "name": "4x-UltraSharp.pth", "pathIndex": 2 },
{ "name": "4xNMKDSuperscale_4xNMKDSuperscale.pt", "pathIndex": 2 },
{ "name": "ESRGAN_4x.pth", "pathIndex": 2 },
{ "name": "SwinIR_4x.pth", "pathIndex": 3 },
{ "name": "GFPGANv1.4.pth", "pathIndex": 4 }
]

View File

@@ -0,0 +1,5 @@
[
{ "name": "ae.safetensors", "pathIndex": 1 },
{ "name": "sdxl_vae.safetensors", "pathIndex": 1 },
{ "name": "vae-ft-mse-840000-ema-pruned.ckpt", "pathIndex": 1 }
]

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
{
"modelspec.hash_sha256": "0x2f3c5caac0469f474439cf84eb09f900bd8e5900f4ad9404c4e05cec12314df6",
"modelspec.date": "2024-08-01",
"modelspec.sai_model_spec": "1.0.1",
"modelspec.author": "Black Forest Labs",
"modelspec.architecture": "Flux.1-dev",
"modelspec.license": "FLUX.1 [dev] Non-Commercial License",
"modelspec.implementation": "https://github.com/black-forest-labs/flux",
"modelspec.thumbnail": "data:image/jpeg;base64,TRUNCATED",
"modelspec.title": "Flux.1-dev",
"modelspec.description": "A guidance distilled rectified flow model."
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
{
"modelspec.architecture": "Flux.1-AE",
"modelspec.title": "Flux.1 Autoencoder",
"modelspec.author": "Black Forest Labs",
"modelspec.description": "The autoencoder for the Flux.1 model family",
"modelspec.implementation": "https://github.com/black-forest-labs/flux",
"modelspec.date": "2024-08-01",
"modelspec.license": "Apache License 2.0",
"modelspec.hash_sha256": "0xddec9c299f56c1178e6281a12167f2ebec9aa4de8fce81e234a687bb231d5b6d",
"modelspec.sai_model_spec": "1.0.1"
}