Upload Krea2_StyleTransfer_Rope.json
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176{
"id": "44259803-f9d6-4eb1-a94a-75b8213649d0",
"revision": 0,
"last_node_id": 636,
"last_link_id": 1568,
"nodes": [
{
"id": 617,
"type": "PreviewImage",
"pos": [
2439.855712890625,
1482.3291015625
],
"size": [
554.5741577148438,
515.9512939453125
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1540
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.1",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 262,
"type": "VAEDecode",
"pos": [
2196.558349609375,
1538.8663330078125
],
"size": [
140,
62.208309173583984
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 1568
},
{
"name": "vae",
"type": "VAE",
"link": 507
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1540
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.0",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 626,
"type": "Note",
"pos": [
810,
560
],
"size": [
285.24835205078125,
126.58960723876953
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Some additional methods not included in the paper, intended to further improve the results. These can be bypassed/removed."
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 265,
"type": "ImageScaleToTotalPixelsX",
"pos": [
240,
876.4774780273438
],
"size": [
306.5982360839844,
214
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1539
},
{
"name": "width",
"shape": 7,
"type": "INT",
"link": null
},
{
"name": "height",
"shape": 7,
"type": "INT",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
749
]
},
{
"name": "width",
"type": "INT",
"links": [
1560
]
},
{
"name": "height",
"type": "INT",
"links": [
1561
]
}
],
"properties": {
"cnr_id": "scale-image-to-total-pixels-advanced",
"ver": "dd4135f4ee6dcd71443e2935ceb5c037e3f23230",
"Node name for S&R": "ImageScaleToTotalPixelsX",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1.05,
16,
"crop",
"lanczos"
]
},
{
"id": 612,
"type": "LoadImage",
"pos": [
-115.60904693603516,
775.1746826171875
],
"size": [
282.798828125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1539
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.1",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 619,
"type": "Note",
"pos": [
240,
703.904052734375
],
"size": [
306.5982360839844,
112.57343292236328
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"https://github.com/BigStationW/ComfyUi-Scale-Image-to-Total-Pixels-Advanced"
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 261,
"type": "VAELoader",
"pos": [
-102.46358489990234,
1440
],
"size": [
270,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
507,
750
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.0",
"Node name for S&R": "VAELoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 618,
"type": "CLIPLoader",
"pos": [
-102.46358489990234,
1720.394287109375
],
"size": [
270,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1541,
1542
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.1",
"Node name for S&R": "CLIPLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen3vl_4b_fp8_scaled.safetensors",
"krea2",
"default"
]
},
{
"id": 614,
"type": "Note",
"pos": [
240,
1304.4775390625
],
"size": [
306.5982360839844,
116.00450134277344
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"You can create two CLIP Text Encode (one for the reference and one for the target), but personally, I find that using the target prompt for both yields better results."
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 634,
"type": "EmptyLatentImage",
"pos": [
1500,
1960
],
"size": [
197.72500610351562,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 1560
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 1561
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
1562
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "EmptyLatentImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.1"
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 259,
"type": "CLIPTextEncode",
"pos": [
240,
1156.4775390625
],
"size": [
306.5982360839844,
88
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1542
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
1564
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.0",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
""
]
},
{
"id": 333,
"type": "VAEEncode",
"pos": [
610,
1010
],
"size": [
140,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 749
},
{
"name": "vae",
"type": "VAE",
"link": 750
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
1526
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.0",
"Node name for S&R": "VAEEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 636,
"type": "ConditioningZeroOut",
"pos": [
1500,
1870
],
"size": [
197.72500610351562,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 1566
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
1567
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "ConditioningZeroOut",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.2.1"
}
},
"widgets_values": []
},
{
"id": 635,
"type": "KSampler",
"pos": [
1850,
1740
],
"size": [
270,
339.3125
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1565
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 1563
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 1567
},
{
"name": "latent_image",
"type": "LATENT",
"link": 1562
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
1568
]
}
],
"title": "⚡KSampler⚡",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.1",
"Node name for S&R": "KSampler",
"ue_properties": {
"widget_ue_connectable": {
"seed": true,
"steps": true,
"cfg": true,
"sampler_name": true,
"scheduler": true,
"denoise": true
},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
811,
"increment",
8,
1,
"euler_ancestral",
"simple",
1
],
"color": "#009933"
},
{
"id": 601,
"type": "UNETLoader",
"pos": [
-102.46358489990234,
1558
],
"size": [
270,
102.3942642211914
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1558
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.22.0",
"Node name for S&R": "UNETLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"krea2_turbo.safetensors",
"default"
]
},
{
"id": 632,
"type": "UnofficialExtensions",
"pos": [
810,
740
],
"size": [
285.24835205078125,
202
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "unofficial_extensions",
"type": "UNTWISTING_ROPE_EXTENSIONS",
"links": [
1557
]
}
],
"properties": {
"cnr_id": "untwistingrope",
"ver": "ec08050c160633dc890972120598e2912ce26870",
"Node name for S&R": "UnofficialExtensions",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
0,
"default",
0,
0,
0,
0
]
},
{
"id": 615,
"type": "Note",
"pos": [
810,
1010
],
"size": [
289.0740051269531,
112.57343292236328
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"The quality of the style transfer depends largely on the quality of the RF inversion. These settings work well, but feel free to try other values."
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 603,
"type": "RFInversion",
"pos": [
810,
1180
],
"size": [
273.3614807128906,
266
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1558
},
{
"name": "reference_latent",
"type": "LATENT",
"link": 1526
},
{
"name": "ref_conditioning",
"type": "CONDITIONING",
"link": 1564
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
1549
]
},
{
"name": "rf_inversion",
"type": "LATENT",
"links": [
1550
]
}
],
"properties": {
"cnr_id": "untwistingrope",
"ver": "c9136fcced444ea84778a25a37a2b45371ea06a5",
"Node name for S&R": "RFInversion",
"aux_id": "BigStationW/ComfyUi-Untwisting-RoPE",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"flowturbo_pc",
0.5,
0,
0,
20,
false
]
},
{
"id": 616,
"type": "Note",
"pos": [
1790,
1560
],
"size": [
303.6560363769531,
116.00450134277344
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"recommend using only SDE samplers like er_sde or euler_ancestral, adding noise during the process really helps eliminate some transfer style artifacts."
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 633,
"type": "Note",
"pos": [
1140,
970
],
"size": [
310,
150
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"for Krea2 :\n\n- blocks: 7-27\n- beta: 2 - 4 (2.5)\n- high_scale_start: 1.0 and 1.08 (1.04)\n- low_scale_end: 1.35 - 1.45 (1.40)\n- adain_strength: 0.75-1.0 \n- key_subspace_alignment: 0.00 - 0.05 (err lower)"
],
"color": "#c09430",
"bgcolor": "rgba(24,24,27,.9)"
},
{
"id": 623,
"type": "UntwistingRoPE",
"pos": [
1136.9560546875,
1171.701171875
],
"size": [
270,
270
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1549
},
{
"name": "rf_inversion",
"type": "LATENT",
"link": 1550
},
{
"name": "unofficial_extensions",
"shape": 7,
"type": "UNTWISTING_ROPE_EXTENSIONS",
"link": 1557
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
1565
]
}
],
"properties": {
"cnr_id": "untwistingrope",
"ver": "9fb6a19e82077dc54ddb120f202d474d01497cf7",
"Node name for S&R": "UntwistingRoPE",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
2.5,
1.04,
0,
1,
1.4,
0.85,
"7-27",
false
]
},
{
"id": 607,
"type": "CLIPTextEncode",
"pos": [
887.940185546875,
1654.943115234375
],
"size": [
400,
200
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1541
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
1563,
1566
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.21.0",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.2.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"a woman and a man on a small sailboat in rough seas"
]
}
],
"links": [
[
507,
261,
0,
262,
1,
"VAE"
],
[
749,
265,
0,
333,
0,
"IMAGE"
],
[
750,
261,
0,
333,
1,
"VAE"
],
[
1526,
333,
0,
603,
1,
"LATENT"
],
[
1539,
612,
0,
265,
0,
"IMAGE"
],
[
1540,
262,
0,
617,
0,
"IMAGE"
],
[
1541,
618,
0,
607,
0,
"CLIP"
],
[
1542,
618,
0,
259,
0,
"CLIP"
],
[
1549,
603,
0,
623,
0,
"MODEL"
],
[
1550,
603,
1,
623,
1,
"LATENT"
],
[
1557,
632,
0,
623,
2,
"UNTWISTING_ROPE_EXTENSIONS"
],
[
1558,
601,
0,
603,
0,
"MODEL"
],
[
1560,
265,
1,
634,
0,
"INT"
],
[
1561,
265,
2,
634,
1,
"INT"
],
[
1562,
634,
0,
635,
3,
"LATENT"
],
[
1563,
607,
0,
635,
1,
"CONDITIONING"
],
[
1564,
259,
0,
603,
2,
"CONDITIONING"
],
[
1565,
623,
0,
635,
0,
"MODEL"
],
[
1566,
607,
0,
636,
0,
"CONDITIONING"
],
[
1567,
636,
0,
635,
2,
"CONDITIONING"
],
[
1568,
635,
0,
262,
0,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6727499949325698,
"offset": [
336.80954608198755,
-829.4092910421372
]
},
"frontendVersion": "1.27.10",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": [],
"links_added_by_ue": []
},
"version": 0.4
}Krea2_StyleTransfer_Rope.jsonAdded+1176