Flux-workflows / Flux_Img2Img_workflow.json
stablediffusiontutorials's picture
added Flux Image2Image workflow
682f3fa verified
raw
history blame
19.5 kB
{
"last_node_id": 84,
"last_link_id": 136,
"nodes": [
{
"id": 71,
"type": "VAEEncode",
"pos": [
581,
407
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 118
},
{
"name": "vae",
"type": "VAE",
"link": 117,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
116
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 79,
"type": "CLIPTextEncode",
"pos": [
341,
134
],
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 124
},
{
"name": "text",
"type": "STRING",
"link": 123,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
125,
126
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 75,
"type": "Text Random Line",
"pos": [
-57,
465
],
"size": [
273.74285888671875,
112.86395263671875
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 120,
"widget": {
"name": "text"
},
"slot_index": 0
},
{
"name": "seed",
"type": "INT",
"link": 127,
"widget": {
"name": "seed"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
121
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Text Random Line",
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
"",
674462162400497,
"randomize"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 81,
"type": "Text Random Line",
"pos": [
-56,
634
],
"size": [
273.74285888671875,
112.86395263671875
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 129,
"widget": {
"name": "text"
},
"slot_index": 0
},
{
"name": "seed",
"type": "INT",
"link": 131,
"widget": {
"name": "seed"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
130
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Text Random Line",
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
"",
1060188272274302,
"randomize"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 76,
"type": "CR Text Concatenate",
"pos": [
310,
570
],
"size": [
260,
80
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "text1",
"type": "STRING",
"link": 121,
"widget": {
"name": "text1"
}
},
{
"name": "text2",
"type": "STRING",
"link": 130,
"widget": {
"name": "text2"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
122
],
"shape": 3,
"slot_index": 0
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Text Concatenate",
"ttNbgOverride": {
"color": "#222",
"bgcolor": "#000",
"groupcolor": "#444"
}
},
"widgets_values": [
"",
"",
" "
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 44,
"type": "KSampler",
"pos": [
866,
-12
],
"size": {
"0": 318.3961181640625,
"1": 487.5167236328125
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 89
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 125
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 126
},
{
"name": "latent_image",
"type": "LATENT",
"link": 116,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
66
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
713632947157205,
"randomize",
20,
1,
"euler",
"simple",
0.8
]
},
{
"id": 52,
"type": "CheckpointLoaderSimple",
"pos": [
-187,
-53
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
89
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
124
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
88,
117
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"Flux\\flux1-dev-fp8_16.safetensors"
]
},
{
"id": 72,
"type": "LoadRandomImage",
"pos": [
-175,
87
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118,
119
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadRandomImage"
},
"widgets_values": [
"D:\\photos1"
]
},
{
"id": 80,
"type": "Seed Generator",
"pos": [
-169,
230
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
127,
131
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Seed Generator"
},
"widgets_values": [
86253714705366,
"randomize"
]
},
{
"id": 77,
"type": "Text Multiline",
"pos": [
-548,
792
],
"size": {
"0": 300,
"1": 260
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
129
],
"shape": 3,
"slot_index": 0
}
],
"title": "Style_2",
"properties": {
"Node name for S&R": "Text Multiline"
},
"widgets_values": [
"Abstract Expressionism\nAcademic Art\nAction Painting\nArt Deco\nArt Nouveau\nAshcan School\nAssemblage\nBaroque\nBauhaus\nBiomorphism\nByzantine Art\nCloisonnism\nColor Field Painting\nConceptual Art\nConstructivism\nCubism\nDada\nDe Stijl\nDeconstructivism\nDigital Art\nDivisionism\nEarth Art\nExpressionism\nFauvism\nFeminist Art\nFigurative Art\nFluxus\nFolk Art\nFuturism\nGeometric Abstraction\nGlitch Art\nGongbi\nGothic Art\nGraffiti\nGutai\nHard-edge Painting\nHarlem Renaissance\nHudson River School\nHyperrealism\nImpressionism\nInstallation Art\nInstitutional Critique\nInternational Style\nKinetic Art\nLand Art\nLowbrow Art\nLuminism\nLyrical Abstraction\nMagic Realism\nMannerism\nMaximalism\nMetaphysical Painting\nMinimalism\nModernism\nMuralism\nNaïve Art\nNeoclassicism\nNeo-Dada\nNeo-Expressionism\nNeo-Impressionism\nNeo-Pop Art\nNet Art\nNew Media Art\nOp Art\nOrphism\nPerformance Art\nPhotorealism\nPointillism\nPop Art\nPost-Impressionism\nPostminimalism\nPrecisionism\nPrimitivism\nProcess Art\nPurism\nRayonism\nRealism\nRegionalism\nRenaissance\nRococo\nRomanticism\nSocial Realism\nSpatialism\nStreet Art\nSuperflat\nSuprematism\nSurrealism\nSymbolism\nSynchromism\nSynthetism\nTachisme\nTonalism\nTransavanguardia\nUkiyo-e\nVorticism\nWabi-sabi\nYoung British Artists"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 74,
"type": "Text Multiline",
"pos": [
-551,
452
],
"size": {
"0": 300,
"1": 260
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
120
],
"shape": 3,
"slot_index": 0
}
],
"title": "Style_1",
"properties": {
"Node name for S&R": "Text Multiline"
},
"widgets_values": [
"Monochromatic\nAnalogous\nComplementary\nSplit-Complementary\nTriadic\nTetradic\nPastel\nNeon\nEarthy\nJewel Tones\nMuted\nVibrant\nNeutral\nCool\nWarm\nMetallic\nIridescent\nGradient\nOmbre\nChiaroscuro\nArt Deco\nBauhaus\nMinimalist\nMaximalist\nBohemian\nScandinavian\nIndustrial\nRustic\nShabby Chic\nMid-Century Modern\nContemporary\nTraditional\nTransitional\nEclectic\nCoastal\nTropical\nMediterranean\nJapanese\nMoroccan\nArt Nouveau\nGothic\nRococo\nBaroque\nNeoclassical\nVictorian\nEdwardian\nRetro\nVintage\nFuturistic\nSteampunk\nCyberpunk\nAvant-garde\nPop Art\nAbstract\nSurrealist\nImpressionist\nExpressionist\nCubist\nModernist\nPostmodern\nBrutalist\nBiophilic\nMemphis\nWabi-Sabi\nHygge\nLagom\nCottagecore\nGrandmillennial\nJapandi\nKinfolk\nBoho-Chic\nChinoiserie\nHollywood Regency\nSpace Age\nStreamline Moderne\nBauhaus\nDe Stijl\nConstructivist\nSuprematist\nDadaist\nFauvism\nArt Brut\nNaïve Art\nOutsider Art\nFolk Art\nPrimitive\nNaturalistic\nTrompe l'oeil\nPhotorealistic\nHyperrealistic\nLowbrow\nGraffiti\nStreet Art\nPsychedelic\nOp Art\nKinetic Art\nUkiyo-e\nSumi-e\nZen\nFeng Shui\nVastu Shastra\nBauhaus\nCraftsman\nPrairie School\nOrganic Architecture\nDeconstructivism\nParametricism\nBiomimicry\nSustainable Design\nUniversal Design"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 82,
"type": "SaveImageToLocal",
"pos": [
1317,
286
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 136
}
],
"properties": {
"Node name for S&R": "SaveImageToLocal"
},
"widgets_values": [
"D:\\photos1\\1a"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
502,
-3
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 66
},
{
"name": "vae",
"type": "VAE",
"link": 88
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
134
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 84,
"type": "ImageUpscaleWithModel",
"pos": [
1821,
399
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 133
},
{
"name": "image",
"type": "IMAGE",
"link": 134
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
135,
136
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 83,
"type": "UpscaleModelLoader",
"pos": [
1791,
265
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
133
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x_Valar_v1.pth"
]
},
{
"id": 73,
"type": "PreviewImage",
"pos": [
696,
566
],
"size": [
538.8212057409391,
524.2873646937289
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 119
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 78,
"type": "ShowText|pysssss",
"pos": [
113,
802
],
"size": [
399.292236328125,
226.00001430511475
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 122,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
123
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"Effortless female model at London Fashion Week, wearing a costume designed by Comme des Garçons Homme (Junya Watanabe) with design elements including 3D voronoi patterned furniture, latex materials, reflections, \ntoplight lighting, photographed with Canon EOS 5D Mark IV 75mm f/2.8, color tint blue",
"Muted Byzantine Art"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1285,
568
],
"size": [
493.75429974090275,
519.2874110135433
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 135
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
66,
44,
0,
8,
0,
"LATENT"
],
[
75,
10,
0,
8,
1,
"VAE"
],
[
76,
12,
0,
44,
0,
"MODEL"
],
[
77,
11,
0,
48,
0,
"CLIP"
],
[
78,
10,
0,
30,
1,
"VAE"
],
[
79,
12,
0,
51,
0,
"MODEL"
],
[
80,
11,
0,
51,
1,
"CLIP"
],
[
81,
10,
0,
51,
2,
"VAE"
],
[
88,
52,
2,
8,
1,
"VAE"
],
[
89,
52,
0,
44,
0,
"MODEL"
],
[
116,
71,
0,
44,
3,
"LATENT"
],
[
117,
52,
2,
71,
1,
"VAE"
],
[
118,
72,
0,
71,
0,
"IMAGE"
],
[
119,
72,
0,
73,
0,
"IMAGE"
],
[
120,
74,
0,
75,
0,
"STRING"
],
[
121,
75,
0,
76,
0,
"STRING"
],
[
122,
76,
0,
78,
0,
"STRING"
],
[
123,
78,
0,
79,
1,
"STRING"
],
[
124,
52,
1,
79,
0,
"CLIP"
],
[
125,
79,
0,
44,
1,
"CONDITIONING"
],
[
126,
79,
0,
44,
2,
"CONDITIONING"
],
[
127,
80,
0,
75,
1,
"INT"
],
[
129,
77,
0,
81,
0,
"STRING"
],
[
130,
81,
0,
76,
1,
"STRING"
],
[
131,
80,
0,
81,
1,
"INT"
],
[
133,
83,
0,
84,
0,
"UPSCALE_MODEL"
],
[
134,
8,
0,
84,
1,
"IMAGE"
],
[
135,
84,
0,
9,
0,
"IMAGE"
],
[
136,
84,
0,
82,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7972024500000018,
"offset": [
177.99405843798476,
-22.27571224844032
]
}
},
"version": 0.4
}