Skip to content

Commit 59a45ea

Browse files
committed
Link Flux2 & Z-Image models in custom ComfyUI setup docs
1 parent 3f182ba commit 59a45ea

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/src/components/ModelTable.astro

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import * as models from "../content/data/models.json";
66
interface Filter {
77
name: string;
88
checked: boolean;
9+
visible?: boolean;
910
}
1011
1112
const sets: { [id: string]: Filter } = {
@@ -16,9 +17,10 @@ const sets: { [id: string]: Filter } = {
1617
const archs: { [id: string]: Filter } = {
1718
sd15: { name: "SD1.5", checked: false },
1819
sdxl: { name: "SDXL", checked: true },
19-
sd35: { name: "SD3.5", checked: false },
20-
flux: { name: "Flux", checked: false },
2120
illu: { name: "Illustrious", checked: false },
21+
flux: { name: "Flux", checked: false },
22+
flux2_4b: { name: "Flux 2 4B", checked: false },
23+
zimage: { name: "Z-Image", checked: false },
2224
};
2325
2426
const kinds: { [id: string]: Filter } = {
@@ -31,6 +33,7 @@ const kinds: { [id: string]: Filter } = {
3133
text_encoder: { name: "Text Encoder", checked: true },
3234
vae: { name: "VAE", checked: true },
3335
inpaint: { name: "Inpaint", checked: true },
36+
model_patch: { name: "Patch", checked: true, visible: false },
3437
};
3538
3639
const shortKinds: { [id: string]: string } = {
@@ -45,6 +48,7 @@ const shortKinds: { [id: string]: string } = {
4548
inpaint: "inp",
4649
embedding: "emb",
4750
preprocessor: "pp",
51+
model_patch: "patch",
4852
node: "node",
4953
};
5054
@@ -127,7 +131,7 @@ const allModels = [
127131
<ul>
128132
{
129133
Object.keys(kinds).map((kind) => (
130-
<li>
134+
<li style={kinds[kind].visible === false ? "display: none;" : ""}>
131135
<input
132136
id={`kind-${kind}`}
133137
type="checkbox"

docs/src/content/docs/comfyui-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ in `extra_model_paths.yml` will also work.
4141
Models can be downloaded and placed manually, or via script ([see below](#download-script)).
4242

4343
<LinkButton href="/models#downloading-models">Model list SDXL</LinkButton>
44-
<LinkButton href="/models?arch-sd15=true&arch-sdxl=false#downloading-models">Model list SD1.5</LinkButton>
45-
<LinkButton href="/models?arch-flux=true&arch-sdxl=false&kind-clip_vision=false&kind-upscaler=false&kind-inpaint=false&kind-checkpoint=true&set-optional=true#downloading-models">Model list Flux</LinkButton>
44+
<LinkButton href="/models?arch-flux2_4b=true&arch-sdxl=false&kind-checkpoint=true&set-optional=true#downloading-models">Model list Flux 2</LinkButton>
45+
<LinkButton href="/models?arch-zimage=true&arch-sdxl=false&kind-checkpoint=true&set-optional=true#downloading-models">Model list Z-Image</LinkButton>
4646
<LinkButton href="/models?arch-sdxl=false#downloading-models" variant="secondary">Model list (minimal)</LinkButton>
4747

4848
## Diffusion Model Checkpoints

0 commit comments

Comments
 (0)