refcontrol_pose.json 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362
  1. {
  2. "id": "7d050590-25a0-496d-aeb6-bbda9c87644b",
  3. "revision": 0,
  4. "last_node_id": 31,
  5. "last_link_id": 28,
  6. "nodes": [
  7. {
  8. "id": 1,
  9. "type": "VAELoader",
  10. "pos": [
  11. 1105.1259765625,
  12. 1594.419921875
  13. ],
  14. "size": [
  15. 337.76861572265625,
  16. 58
  17. ],
  18. "flags": {},
  19. "order": 0,
  20. "mode": 0,
  21. "inputs": [],
  22. "outputs": [
  23. {
  24. "name": "VAE",
  25. "type": "VAE",
  26. "links": [
  27. 12,
  28. 17
  29. ]
  30. }
  31. ],
  32. "properties": {
  33. "cnr_id": "comfy-core",
  34. "ver": "0.3.38",
  35. "Node name for S&R": "VAELoader",
  36. "models": [
  37. {
  38. "name": "ae.safetensors",
  39. "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
  40. "directory": "vae"
  41. }
  42. ]
  43. },
  44. "widgets_values": [
  45. "ae.safetensors"
  46. ],
  47. "color": "#322",
  48. "bgcolor": "#533"
  49. },
  50. {
  51. "id": 2,
  52. "type": "ConditioningZeroOut",
  53. "pos": [
  54. 2115.4384765625,
  55. 1384.2044677734375
  56. ],
  57. "size": [
  58. 240,
  59. 26
  60. ],
  61. "flags": {
  62. "collapsed": false
  63. },
  64. "order": 15,
  65. "mode": 0,
  66. "inputs": [
  67. {
  68. "name": "conditioning",
  69. "type": "CONDITIONING",
  70. "link": 1
  71. }
  72. ],
  73. "outputs": [
  74. {
  75. "name": "CONDITIONING",
  76. "type": "CONDITIONING",
  77. "links": [
  78. 7
  79. ]
  80. }
  81. ],
  82. "properties": {
  83. "cnr_id": "comfy-core",
  84. "ver": "0.3.39",
  85. "Node name for S&R": "ConditioningZeroOut"
  86. },
  87. "widgets_values": []
  88. },
  89. {
  90. "id": 3,
  91. "type": "FluxGuidance",
  92. "pos": [
  93. 2115.4384765625,
  94. 1274.2044677734375
  95. ],
  96. "size": [
  97. 240,
  98. 58
  99. ],
  100. "flags": {
  101. "collapsed": false
  102. },
  103. "order": 21,
  104. "mode": 0,
  105. "inputs": [
  106. {
  107. "name": "conditioning",
  108. "type": "CONDITIONING",
  109. "link": 2
  110. }
  111. ],
  112. "outputs": [
  113. {
  114. "name": "CONDITIONING",
  115. "type": "CONDITIONING",
  116. "slot_index": 0,
  117. "links": [
  118. 6
  119. ]
  120. }
  121. ],
  122. "properties": {
  123. "cnr_id": "comfy-core",
  124. "ver": "0.3.38",
  125. "Node name for S&R": "FluxGuidance"
  126. },
  127. "widgets_values": [
  128. 2.5
  129. ]
  130. },
  131. {
  132. "id": 5,
  133. "type": "MarkdownNote",
  134. "pos": [
  135. 497.2692565917969,
  136. 1919.034912109375
  137. ],
  138. "size": [
  139. 510,
  140. 170
  141. ],
  142. "flags": {},
  143. "order": 1,
  144. "mode": 0,
  145. "inputs": [],
  146. "outputs": [],
  147. "title": "Flux Kontext Prompt Techniques",
  148. "properties": {},
  149. "widgets_values": [
  150. "\n## Flux Kontext Prompt Techniques\n\n### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. "
  151. ],
  152. "color": "#432",
  153. "bgcolor": "#653"
  154. },
  155. {
  156. "id": 7,
  157. "type": "MarkdownNote",
  158. "pos": [
  159. 1835.4383544921875,
  160. 1034.2044677734375
  161. ],
  162. "size": [
  163. 540,
  164. 150
  165. ],
  166. "flags": {},
  167. "order": 2,
  168. "mode": 0,
  169. "inputs": [],
  170. "outputs": [],
  171. "title": "About multiple images reference",
  172. "properties": {},
  173. "widgets_values": [
  174. "[English] In addition to using **Image Stitch** to combine two images at a time, you can also encode individual images, then concatenate multiple latent conditions using the **ReferenceLatent** node, thus achieving the purpose of referencing multiple images. You can use the **EmptySD3LatentImage** node on the right to connect to **KSamper** and customize the size of the **latent_image**.\n\n[中文] 除了使用 **Image Stitch** 将两个两个图像拼合之外,你同样可以将单独的图像 encode 之后,将多个 latent 条件使用 **ReferenceLatent** 节点串联,从而实现多张图像参考的目的。可以使用右边的 **EmptySD3LatentImage** 节点连接到 **KSamper**来自定义 **latent_image** 的尺寸"
  175. ],
  176. "color": "#432",
  177. "bgcolor": "#653"
  178. },
  179. {
  180. "id": 8,
  181. "type": "EmptySD3LatentImage",
  182. "pos": [
  183. 2395.4384765625,
  184. 1044.2044677734375
  185. ],
  186. "size": [
  187. 310,
  188. 106
  189. ],
  190. "flags": {},
  191. "order": 3,
  192. "mode": 4,
  193. "inputs": [],
  194. "outputs": [
  195. {
  196. "name": "LATENT",
  197. "type": "LATENT",
  198. "links": null
  199. }
  200. ],
  201. "properties": {
  202. "cnr_id": "comfy-core",
  203. "ver": "0.3.41",
  204. "Node name for S&R": "EmptySD3LatentImage"
  205. },
  206. "widgets_values": [
  207. 1024,
  208. 1024,
  209. 1
  210. ]
  211. },
  212. {
  213. "id": 10,
  214. "type": "MarkdownNote",
  215. "pos": [
  216. 27.268857955932617,
  217. 1249.034912109375
  218. ],
  219. "size": [
  220. 450,
  221. 450
  222. ],
  223. "flags": {},
  224. "order": 4,
  225. "mode": 0,
  226. "inputs": [],
  227. "outputs": [],
  228. "title": "✨ New ComfyUI feature for Flux.1 Kontext Dev",
  229. "properties": {},
  230. "widgets_values": [
  231. "[English]\nWe have added an **Edit** button to the **Selection Toolbox** of the node for **FLUX.1 Kontext Image Edit** support. When clicked, it quickly adds a **FLUX.1 Kontext Image Edit** group node to the Latent output of your current workflow. This enables an interactive editing experience where you can:\n\n- Create multiple editing iterations, each preserved as a separate node\n- Easily branch off from any previous edit point to explore different creative directions\n- Return to any earlier version and start a new editing branch\n- Modify parameters in earlier nodes and automatically update all downstream edits\n- Execute or re-execute any branch of edits at any time\n- When you want to maintain the effect of the corresponding branch, please set the seed of the corresponding group node to fixed.\n\n\nThis workflow mirrors the iterative nature of LLM conversations, but with the added advantage of visual editing and the ability to maintain multiple parallel editing paths.\n\n---\n\n[中文]\n我们为 **FLUX.1 Kontext Image Edit** 的相关支持在节点的**选择工具箱**上新增了一个**编辑**按钮。点击后,系统会在当前工作流的 Latent 输出上快速添加一个 **FLUX.1 Kontext Image Edit** 的组节点。这种设计带来了灵活的交互式编辑体验:\n\n- 创建多个编辑迭代,每次编辑都会保存为独立节点\n- 可以从任何之前的编辑点分支出新的创作方向\n- 随时返回到早期版本并开始新的编辑分支\n- 修改早期节点的参数,自动更新所有下游编辑\n- 可以随时执行或重新执行任何编辑分支\n- 想要固定对应分支效果时,请将对应的 seed 设置为 fixed\n\n这种工作流程类似于 LLM 对话的迭代特性,但增加了视觉编辑的优势,并能够维护多个并行的编辑路径。"
  232. ],
  233. "color": "#322",
  234. "bgcolor": "#533"
  235. },
  236. {
  237. "id": 11,
  238. "type": "MarkdownNote",
  239. "pos": [
  240. 497.2692565917969,
  241. 2139.034912109375
  242. ],
  243. "size": [
  244. 510,
  245. 180
  246. ],
  247. "flags": {},
  248. "order": 5,
  249. "mode": 0,
  250. "inputs": [],
  251. "outputs": [],
  252. "title": "Flux Kontext 提示词技巧",
  253. "properties": {},
  254. "widgets_values": [
  255. "\n## Flux Kontext 提示词技巧\n\n使用英文\n\n### 1. 基础修改\n- 简单直接:`\"Change the car color to red\"`\n- 保持风格:`\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. 风格转换\n**原则:**\n- 明确命名风格:`\"Transform to Bauhaus art style\"`\n- 描述特征:`\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- 保留构图:`\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. 角色一致性\n**框架:**\n- 具体描述:`\"The woman with short black hair\"`而非`\"她\"`\n- 保留特征:`\"while maintaining the same facial features, hairstyle, and expression\"`\n- 分步修改:先改背景,再改动作\n\n### 4. 文本编辑\n- 使用引号:`\"Replace 'joy' with 'BFL'\"`\n- 保持格式:`\"Replace text while maintaining the same font style\"`\n\n## 常见问题解决\n\n### 角色变化过大\n❌ 错误:`\"Transform the person into a Viking\"`\n✅ 正确:`\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### 构图位置改变\n❌ 错误:`\"Put him on a beach\"`\n✅ 正确:`\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### 风格应用不准确\n❌ 错误:`\"Make it a sketch\"`\n✅ 正确:`\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## 核心原则\n\n1. **具体明确** - 使用精确描述,避免模糊词汇\n2. **分步编辑** - 复杂修改分为多个简单步骤\n3. **明确保留** - 说明哪些要保持不变\n4. **动词选择** - 用\"更改\"、\"替换\"而非\"转换\"\n\n## 最佳实践模板\n\n**对象修改:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**风格转换:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**背景替换:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**文本编辑:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **记住:** 越具体越好,Kontext 擅长理解详细指令并保持一致性。"
  256. ],
  257. "color": "#432",
  258. "bgcolor": "#653"
  259. },
  260. {
  261. "id": 13,
  262. "type": "DualCLIPLoader",
  263. "pos": [
  264. 1105.1259765625,
  265. 1414.419921875
  266. ],
  267. "size": [
  268. 337.76861572265625,
  269. 130
  270. ],
  271. "flags": {},
  272. "order": 6,
  273. "mode": 0,
  274. "inputs": [],
  275. "outputs": [
  276. {
  277. "name": "CLIP",
  278. "type": "CLIP",
  279. "links": [
  280. 25
  281. ]
  282. }
  283. ],
  284. "properties": {
  285. "cnr_id": "comfy-core",
  286. "ver": "0.3.38",
  287. "Node name for S&R": "DualCLIPLoader",
  288. "models": [
  289. {
  290. "name": "clip_l.safetensors",
  291. "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
  292. "directory": "text_encoders"
  293. },
  294. {
  295. "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
  296. "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
  297. "directory": "text_encoders"
  298. }
  299. ]
  300. },
  301. "widgets_values": [
  302. "clip_l.safetensors",
  303. "t5xxl_fp8_e4m3fn_scaled.safetensors",
  304. "flux",
  305. "default"
  306. ],
  307. "color": "#322",
  308. "bgcolor": "#533"
  309. },
  310. {
  311. "id": 14,
  312. "type": "ImageConcanate",
  313. "pos": [
  314. 1497.0567626953125,
  315. 1968.8582763671875
  316. ],
  317. "size": [
  318. 270,
  319. 102
  320. ],
  321. "flags": {},
  322. "order": 14,
  323. "mode": 0,
  324. "inputs": [
  325. {
  326. "name": "image1",
  327. "type": "IMAGE",
  328. "link": 9
  329. },
  330. {
  331. "name": "image2",
  332. "type": "IMAGE",
  333. "link": 28
  334. }
  335. ],
  336. "outputs": [
  337. {
  338. "name": "IMAGE",
  339. "type": "IMAGE",
  340. "links": [
  341. 18
  342. ]
  343. }
  344. ],
  345. "properties": {
  346. "cnr_id": "comfyui-kjnodes",
  347. "ver": "1.1.3",
  348. "Node name for S&R": "ImageConcanate"
  349. },
  350. "widgets_values": [
  351. "right",
  352. true
  353. ]
  354. },
  355. {
  356. "id": 15,
  357. "type": "VAEEncode",
  358. "pos": [
  359. 1508.34912109375,
  360. 1451.530517578125
  361. ],
  362. "size": [
  363. 240,
  364. 50
  365. ],
  366. "flags": {
  367. "collapsed": false
  368. },
  369. "order": 17,
  370. "mode": 0,
  371. "inputs": [
  372. {
  373. "name": "pixels",
  374. "type": "IMAGE",
  375. "link": 11
  376. },
  377. {
  378. "name": "vae",
  379. "type": "VAE",
  380. "link": 12
  381. }
  382. ],
  383. "outputs": [
  384. {
  385. "name": "LATENT",
  386. "type": "LATENT",
  387. "links": [
  388. 4,
  389. 8
  390. ]
  391. }
  392. ],
  393. "properties": {
  394. "cnr_id": "comfy-core",
  395. "ver": "0.3.39",
  396. "Node name for S&R": "VAEEncode"
  397. },
  398. "widgets_values": []
  399. },
  400. {
  401. "id": 16,
  402. "type": "PreviewImage",
  403. "pos": [
  404. 1870.969482421875,
  405. 2051.197998046875
  406. ],
  407. "size": [
  408. 420,
  409. 310
  410. ],
  411. "flags": {},
  412. "order": 18,
  413. "mode": 0,
  414. "inputs": [
  415. {
  416. "name": "images",
  417. "type": "IMAGE",
  418. "link": 13
  419. }
  420. ],
  421. "outputs": [],
  422. "properties": {
  423. "cnr_id": "comfy-core",
  424. "ver": "0.3.40",
  425. "Node name for S&R": "PreviewImage"
  426. },
  427. "widgets_values": []
  428. },
  429. {
  430. "id": 17,
  431. "type": "SaveImage",
  432. "pos": [
  433. 2394.094970703125,
  434. 1580.69482421875
  435. ],
  436. "size": [
  437. 650,
  438. 660
  439. ],
  440. "flags": {},
  441. "order": 24,
  442. "mode": 0,
  443. "inputs": [
  444. {
  445. "name": "images",
  446. "type": "IMAGE",
  447. "link": 14
  448. }
  449. ],
  450. "outputs": [],
  451. "properties": {
  452. "cnr_id": "comfy-core",
  453. "ver": "0.3.39",
  454. "Node name for S&R": "SaveImage"
  455. },
  456. "widgets_values": [
  457. "ComfyUI"
  458. ]
  459. },
  460. {
  461. "id": 20,
  462. "type": "FluxKontextImageScale",
  463. "pos": [
  464. 1497.0567626953125,
  465. 1806.9130859375
  466. ],
  467. "size": [
  468. 270,
  469. 30
  470. ],
  471. "flags": {
  472. "collapsed": false
  473. },
  474. "order": 16,
  475. "mode": 0,
  476. "inputs": [
  477. {
  478. "name": "image",
  479. "type": "IMAGE",
  480. "link": 18
  481. }
  482. ],
  483. "outputs": [
  484. {
  485. "name": "IMAGE",
  486. "type": "IMAGE",
  487. "links": [
  488. 11,
  489. 13,
  490. 20,
  491. 21
  492. ]
  493. }
  494. ],
  495. "properties": {
  496. "cnr_id": "comfy-core",
  497. "ver": "0.3.38",
  498. "Node name for S&R": "FluxKontextImageScale"
  499. },
  500. "widgets_values": []
  501. },
  502. {
  503. "id": 21,
  504. "type": "SaveImage",
  505. "pos": [
  506. 3717.000732421875,
  507. 1854.783203125
  508. ],
  509. "size": [
  510. 270,
  511. 270
  512. ],
  513. "flags": {},
  514. "order": 27,
  515. "mode": 0,
  516. "inputs": [
  517. {
  518. "name": "images",
  519. "type": "IMAGE",
  520. "link": 19
  521. }
  522. ],
  523. "outputs": [],
  524. "properties": {
  525. "cnr_id": "comfy-core",
  526. "ver": "0.3.50",
  527. "Node name for S&R": "SaveImage"
  528. },
  529. "widgets_values": [
  530. "ComfyUI"
  531. ]
  532. },
  533. {
  534. "id": 22,
  535. "type": "SaveImage",
  536. "pos": [
  537. 1883.79541015625,
  538. 2404.916748046875
  539. ],
  540. "size": [
  541. 270,
  542. 270
  543. ],
  544. "flags": {},
  545. "order": 19,
  546. "mode": 0,
  547. "inputs": [
  548. {
  549. "name": "images",
  550. "type": "IMAGE",
  551. "link": 20
  552. }
  553. ],
  554. "outputs": [],
  555. "properties": {
  556. "cnr_id": "comfy-core",
  557. "ver": "0.3.50",
  558. "Node name for S&R": "SaveImage"
  559. },
  560. "widgets_values": [
  561. "ComfyUI"
  562. ]
  563. },
  564. {
  565. "id": 24,
  566. "type": "SaveImage",
  567. "pos": [
  568. 2814.57275390625,
  569. 1314.1221923828125
  570. ],
  571. "size": [
  572. 270,
  573. 270
  574. ],
  575. "flags": {},
  576. "order": 26,
  577. "mode": 0,
  578. "inputs": [
  579. {
  580. "name": "images",
  581. "type": "IMAGE",
  582. "link": 23
  583. }
  584. ],
  585. "outputs": [],
  586. "properties": {
  587. "cnr_id": "comfy-core",
  588. "ver": "0.3.50",
  589. "Node name for S&R": "SaveImage"
  590. },
  591. "widgets_values": [
  592. "ComfyUI"
  593. ]
  594. },
  595. {
  596. "id": 27,
  597. "type": "MarkdownNote",
  598. "pos": [
  599. 497.2692565917969,
  600. 1249.034912109375
  601. ],
  602. "size": [
  603. 510,
  604. 400
  605. ],
  606. "flags": {},
  607. "order": 7,
  608. "mode": 0,
  609. "inputs": [],
  610. "outputs": [],
  611. "title": "Model links",
  612. "properties": {},
  613. "widgets_values": [
  614. "[tutorial](http://docs.comfy.org/tutorials/flux/flux-1-kontext-dev) | [教程](http://docs.comfy.org/zh-CN/tutorials/flux/flux-1-kontext-dev)\n\n**diffusion model**\n\n- [flux1-dev-kontext_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/blob/main/split_files/vae/ae.safetensors)\n\n**text encoder**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) or [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── flux1-dev-kontext_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── ae.safetensor\n│ └── 📂 text_encoders/\n│ ├── clip_l.safetensors\n│ └── t5xxl_fp16.safetensors 或者 t5xxl_fp8_e4m3fn_scaled.safetensors\n```\n"
  615. ],
  616. "color": "#432",
  617. "bgcolor": "#653"
  618. },
  619. {
  620. "id": 30,
  621. "type": "OpenposePreprocessor",
  622. "pos": [
  623. 1456.505126953125,
  624. 2199.820556640625
  625. ],
  626. "size": [
  627. 294.72265625,
  628. 174
  629. ],
  630. "flags": {},
  631. "order": 12,
  632. "mode": 0,
  633. "inputs": [
  634. {
  635. "name": "image",
  636. "type": "IMAGE",
  637. "link": 27
  638. }
  639. ],
  640. "outputs": [
  641. {
  642. "name": "IMAGE",
  643. "type": "IMAGE",
  644. "links": [
  645. 28
  646. ]
  647. },
  648. {
  649. "name": "POSE_KEYPOINT",
  650. "type": "POSE_KEYPOINT",
  651. "links": null
  652. }
  653. ],
  654. "properties": {
  655. "cnr_id": "comfyui_controlnet_aux",
  656. "ver": "1.1.0",
  657. "Node name for S&R": "OpenposePreprocessor"
  658. },
  659. "widgets_values": [
  660. "enable",
  661. "enable",
  662. "enable",
  663. 1024,
  664. "disable"
  665. ]
  666. },
  667. {
  668. "id": 23,
  669. "type": "ImageConcanate",
  670. "pos": [
  671. 3204.596435546875,
  672. 1803.7069091796875
  673. ],
  674. "size": [
  675. 270,
  676. 314
  677. ],
  678. "flags": {},
  679. "order": 25,
  680. "mode": 0,
  681. "inputs": [
  682. {
  683. "name": "image1",
  684. "type": "IMAGE",
  685. "link": 21
  686. },
  687. {
  688. "name": "image2",
  689. "type": "IMAGE",
  690. "link": 22
  691. }
  692. ],
  693. "outputs": [
  694. {
  695. "name": "IMAGE",
  696. "type": "IMAGE",
  697. "links": [
  698. 19
  699. ]
  700. }
  701. ],
  702. "properties": {
  703. "cnr_id": "comfyui-kjnodes",
  704. "ver": "1.1.3",
  705. "Node name for S&R": "ImageConcanate"
  706. },
  707. "widgets_values": [
  708. "down",
  709. true
  710. ]
  711. },
  712. {
  713. "id": 19,
  714. "type": "VAEDecode",
  715. "pos": [
  716. 2132.3017578125,
  717. 1506.490478515625
  718. ],
  719. "size": [
  720. 210,
  721. 278
  722. ],
  723. "flags": {
  724. "collapsed": false
  725. },
  726. "order": 23,
  727. "mode": 0,
  728. "inputs": [
  729. {
  730. "name": "samples",
  731. "type": "LATENT",
  732. "link": 16
  733. },
  734. {
  735. "name": "vae",
  736. "type": "VAE",
  737. "link": 17
  738. }
  739. ],
  740. "outputs": [
  741. {
  742. "name": "IMAGE",
  743. "type": "IMAGE",
  744. "slot_index": 0,
  745. "links": [
  746. 14,
  747. 22,
  748. 23
  749. ]
  750. }
  751. ],
  752. "properties": {
  753. "cnr_id": "comfy-core",
  754. "ver": "0.3.38",
  755. "Node name for S&R": "VAEDecode"
  756. },
  757. "widgets_values": []
  758. },
  759. {
  760. "id": 12,
  761. "type": "UNETLoader",
  762. "pos": [
  763. 1105.1259765625,
  764. 1284.419921875
  765. ],
  766. "size": [
  767. 337.76861572265625,
  768. 82
  769. ],
  770. "flags": {},
  771. "order": 8,
  772. "mode": 0,
  773. "inputs": [],
  774. "outputs": [
  775. {
  776. "name": "MODEL",
  777. "type": "MODEL",
  778. "links": [
  779. 24
  780. ]
  781. }
  782. ],
  783. "properties": {
  784. "cnr_id": "comfy-core",
  785. "ver": "0.3.38",
  786. "Node name for S&R": "UNETLoader",
  787. "models": [
  788. {
  789. "name": "flux1-dev-kontext_fp8_scaled.safetensors",
  790. "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
  791. "directory": "diffusion_models"
  792. }
  793. ]
  794. },
  795. "widgets_values": [
  796. "flux1-dev-kontext_fp8_scaled.safetensors",
  797. "default"
  798. ],
  799. "color": "#322",
  800. "bgcolor": "#533"
  801. },
  802. {
  803. "id": 18,
  804. "type": "CLIPTextEncode",
  805. "pos": [
  806. 1875.7203369140625,
  807. 1754.662109375
  808. ],
  809. "size": [
  810. 400,
  811. 296
  812. ],
  813. "flags": {},
  814. "order": 13,
  815. "mode": 0,
  816. "inputs": [
  817. {
  818. "name": "clip",
  819. "type": "CLIP",
  820. "link": 15
  821. }
  822. ],
  823. "outputs": [
  824. {
  825. "name": "CONDITIONING",
  826. "type": "CONDITIONING",
  827. "slot_index": 0,
  828. "links": [
  829. 1,
  830. 3
  831. ]
  832. }
  833. ],
  834. "title": "CLIP Text Encode (Positive Prompt)",
  835. "properties": {
  836. "cnr_id": "comfy-core",
  837. "ver": "0.3.38",
  838. "Node name for S&R": "CLIPTextEncode"
  839. },
  840. "widgets_values": [
  841. "refcontrolpose change pose to photo with reference from left side"
  842. ],
  843. "color": "#232",
  844. "bgcolor": "#353"
  845. },
  846. {
  847. "id": 9,
  848. "type": "KSampler",
  849. "pos": [
  850. 2395.4384765625,
  851. 1224.2044677734375
  852. ],
  853. "size": [
  854. 320,
  855. 262
  856. ],
  857. "flags": {},
  858. "order": 22,
  859. "mode": 0,
  860. "inputs": [
  861. {
  862. "name": "model",
  863. "type": "MODEL",
  864. "link": 5
  865. },
  866. {
  867. "name": "positive",
  868. "type": "CONDITIONING",
  869. "link": 6
  870. },
  871. {
  872. "name": "negative",
  873. "type": "CONDITIONING",
  874. "link": 7
  875. },
  876. {
  877. "name": "latent_image",
  878. "type": "LATENT",
  879. "link": 8
  880. }
  881. ],
  882. "outputs": [
  883. {
  884. "name": "LATENT",
  885. "type": "LATENT",
  886. "slot_index": 0,
  887. "links": [
  888. 16
  889. ]
  890. }
  891. ],
  892. "properties": {
  893. "cnr_id": "comfy-core",
  894. "ver": "0.3.38",
  895. "Node name for S&R": "KSampler"
  896. },
  897. "widgets_values": [
  898. 219,
  899. "increment",
  900. 20,
  901. 1,
  902. "euler",
  903. "simple",
  904. 1
  905. ]
  906. },
  907. {
  908. "id": 25,
  909. "type": "LoraLoader",
  910. "pos": [
  911. 1485.0048828125,
  912. 1251.2733154296875
  913. ],
  914. "size": [
  915. 270,
  916. 126
  917. ],
  918. "flags": {},
  919. "order": 11,
  920. "mode": 0,
  921. "inputs": [
  922. {
  923. "name": "model",
  924. "type": "MODEL",
  925. "link": 24
  926. },
  927. {
  928. "name": "clip",
  929. "type": "CLIP",
  930. "link": 25
  931. }
  932. ],
  933. "outputs": [
  934. {
  935. "name": "MODEL",
  936. "type": "MODEL",
  937. "links": [
  938. 5
  939. ]
  940. },
  941. {
  942. "name": "CLIP",
  943. "type": "CLIP",
  944. "links": [
  945. 15
  946. ]
  947. }
  948. ],
  949. "properties": {
  950. "cnr_id": "comfy-core",
  951. "ver": "0.3.50",
  952. "Node name for S&R": "LoraLoader"
  953. },
  954. "widgets_values": [
  955. "refcontrol_pose.safetensors",
  956. 1,
  957. 1
  958. ]
  959. },
  960. {
  961. "id": 6,
  962. "type": "ReferenceLatent",
  963. "pos": [
  964. 1875.4383544921875,
  965. 1324.2044677734375
  966. ],
  967. "size": [
  968. 197.712890625,
  969. 46
  970. ],
  971. "flags": {},
  972. "order": 20,
  973. "mode": 0,
  974. "inputs": [
  975. {
  976. "name": "conditioning",
  977. "type": "CONDITIONING",
  978. "link": 3
  979. },
  980. {
  981. "name": "latent",
  982. "shape": 7,
  983. "type": "LATENT",
  984. "link": 4
  985. }
  986. ],
  987. "outputs": [
  988. {
  989. "name": "CONDITIONING",
  990. "type": "CONDITIONING",
  991. "links": [
  992. 2
  993. ]
  994. }
  995. ],
  996. "properties": {
  997. "cnr_id": "comfy-core",
  998. "ver": "0.3.41",
  999. "Node name for S&R": "ReferenceLatent"
  1000. },
  1001. "widgets_values": []
  1002. },
  1003. {
  1004. "id": 29,
  1005. "type": "LoadImageOutput",
  1006. "pos": [
  1007. 1102.8275146484375,
  1008. 1778.2974853515625
  1009. ],
  1010. "size": [
  1011. 320,
  1012. 374
  1013. ],
  1014. "flags": {},
  1015. "order": 9,
  1016. "mode": 0,
  1017. "inputs": [],
  1018. "outputs": [
  1019. {
  1020. "name": "IMAGE",
  1021. "type": "IMAGE",
  1022. "links": [
  1023. 9
  1024. ]
  1025. },
  1026. {
  1027. "name": "MASK",
  1028. "type": "MASK",
  1029. "links": null
  1030. }
  1031. ],
  1032. "properties": {
  1033. "cnr_id": "comfy-core",
  1034. "ver": "0.3.40",
  1035. "Node name for S&R": "LoadImageOutput"
  1036. },
  1037. "widgets_values": [
  1038. "ComfyUI_02379_.png [output]",
  1039. false,
  1040. "refresh",
  1041. "image"
  1042. ],
  1043. "color": "#322",
  1044. "bgcolor": "#533"
  1045. },
  1046. {
  1047. "id": 28,
  1048. "type": "LoadImage",
  1049. "pos": [
  1050. 1122.7135009765625,
  1051. 2193.43408203125
  1052. ],
  1053. "size": [
  1054. 274.080078125,
  1055. 314.00006103515625
  1056. ],
  1057. "flags": {},
  1058. "order": 10,
  1059. "mode": 0,
  1060. "inputs": [],
  1061. "outputs": [
  1062. {
  1063. "name": "IMAGE",
  1064. "type": "IMAGE",
  1065. "links": [
  1066. 27
  1067. ]
  1068. },
  1069. {
  1070. "name": "MASK",
  1071. "type": "MASK",
  1072. "links": null
  1073. }
  1074. ],
  1075. "properties": {
  1076. "cnr_id": "comfy-core",
  1077. "ver": "0.3.50",
  1078. "Node name for S&R": "LoadImage"
  1079. },
  1080. "widgets_values": [
  1081. "2.jpg",
  1082. "image"
  1083. ]
  1084. }
  1085. ],
  1086. "links": [
  1087. [
  1088. 1,
  1089. 18,
  1090. 0,
  1091. 2,
  1092. 0,
  1093. "CONDITIONING"
  1094. ],
  1095. [
  1096. 2,
  1097. 6,
  1098. 0,
  1099. 3,
  1100. 0,
  1101. "CONDITIONING"
  1102. ],
  1103. [
  1104. 3,
  1105. 18,
  1106. 0,
  1107. 6,
  1108. 0,
  1109. "CONDITIONING"
  1110. ],
  1111. [
  1112. 4,
  1113. 15,
  1114. 0,
  1115. 6,
  1116. 1,
  1117. "LATENT"
  1118. ],
  1119. [
  1120. 5,
  1121. 25,
  1122. 0,
  1123. 9,
  1124. 0,
  1125. "MODEL"
  1126. ],
  1127. [
  1128. 6,
  1129. 3,
  1130. 0,
  1131. 9,
  1132. 1,
  1133. "CONDITIONING"
  1134. ],
  1135. [
  1136. 7,
  1137. 2,
  1138. 0,
  1139. 9,
  1140. 2,
  1141. "CONDITIONING"
  1142. ],
  1143. [
  1144. 8,
  1145. 15,
  1146. 0,
  1147. 9,
  1148. 3,
  1149. "LATENT"
  1150. ],
  1151. [
  1152. 9,
  1153. 29,
  1154. 0,
  1155. 14,
  1156. 0,
  1157. "IMAGE"
  1158. ],
  1159. [
  1160. 11,
  1161. 20,
  1162. 0,
  1163. 15,
  1164. 0,
  1165. "IMAGE"
  1166. ],
  1167. [
  1168. 12,
  1169. 1,
  1170. 0,
  1171. 15,
  1172. 1,
  1173. "VAE"
  1174. ],
  1175. [
  1176. 13,
  1177. 20,
  1178. 0,
  1179. 16,
  1180. 0,
  1181. "IMAGE"
  1182. ],
  1183. [
  1184. 14,
  1185. 19,
  1186. 0,
  1187. 17,
  1188. 0,
  1189. "IMAGE"
  1190. ],
  1191. [
  1192. 15,
  1193. 25,
  1194. 1,
  1195. 18,
  1196. 0,
  1197. "CLIP"
  1198. ],
  1199. [
  1200. 16,
  1201. 9,
  1202. 0,
  1203. 19,
  1204. 0,
  1205. "LATENT"
  1206. ],
  1207. [
  1208. 17,
  1209. 1,
  1210. 0,
  1211. 19,
  1212. 1,
  1213. "VAE"
  1214. ],
  1215. [
  1216. 18,
  1217. 14,
  1218. 0,
  1219. 20,
  1220. 0,
  1221. "IMAGE"
  1222. ],
  1223. [
  1224. 19,
  1225. 23,
  1226. 0,
  1227. 21,
  1228. 0,
  1229. "IMAGE"
  1230. ],
  1231. [
  1232. 20,
  1233. 20,
  1234. 0,
  1235. 22,
  1236. 0,
  1237. "IMAGE"
  1238. ],
  1239. [
  1240. 21,
  1241. 20,
  1242. 0,
  1243. 23,
  1244. 0,
  1245. "IMAGE"
  1246. ],
  1247. [
  1248. 22,
  1249. 19,
  1250. 0,
  1251. 23,
  1252. 1,
  1253. "IMAGE"
  1254. ],
  1255. [
  1256. 23,
  1257. 19,
  1258. 0,
  1259. 24,
  1260. 0,
  1261. "IMAGE"
  1262. ],
  1263. [
  1264. 24,
  1265. 12,
  1266. 0,
  1267. 25,
  1268. 0,
  1269. "MODEL"
  1270. ],
  1271. [
  1272. 25,
  1273. 13,
  1274. 0,
  1275. 25,
  1276. 1,
  1277. "CLIP"
  1278. ],
  1279. [
  1280. 27,
  1281. 28,
  1282. 0,
  1283. 30,
  1284. 0,
  1285. "IMAGE"
  1286. ],
  1287. [
  1288. 28,
  1289. 30,
  1290. 0,
  1291. 14,
  1292. 1,
  1293. "IMAGE"
  1294. ]
  1295. ],
  1296. "groups": [
  1297. {
  1298. "id": 1,
  1299. "title": "Step 1- Load models",
  1300. "bounding": [
  1301. 1095.1259765625,
  1302. 1214.419921875,
  1303. 360,
  1304. 450
  1305. ],
  1306. "color": "#3f789e",
  1307. "font_size": 24,
  1308. "flags": {}
  1309. },
  1310. {
  1311. "id": 2,
  1312. "title": "Step 2 - Upload images",
  1313. "bounding": [
  1314. 1094.1983642578125,
  1315. 1698.658447265625,
  1316. 694.767822265625,
  1317. 855.280517578125
  1318. ],
  1319. "color": "#3f789e",
  1320. "font_size": 24,
  1321. "flags": {}
  1322. },
  1323. {
  1324. "id": 3,
  1325. "title": "Step 3 - Prompt",
  1326. "bounding": [
  1327. 1860.95263671875,
  1328. 1660.2733154296875,
  1329. 430,
  1330. 330
  1331. ],
  1332. "color": "#3f789e",
  1333. "font_size": 24,
  1334. "flags": {}
  1335. },
  1336. {
  1337. "id": 4,
  1338. "title": "Conditioning",
  1339. "bounding": [
  1340. 1835.4383544921875,
  1341. 1194.2044677734375,
  1342. 540,
  1343. 250
  1344. ],
  1345. "color": "#3f789e",
  1346. "font_size": 24,
  1347. "flags": {}
  1348. }
  1349. ],
  1350. "config": {},
  1351. "extra": {
  1352. "ds": {
  1353. "scale": 0.9229599817706791,
  1354. "offset": [
  1355. 91.31539651684214,
  1356. -1359.0594605714612
  1357. ]
  1358. },
  1359. "frontendVersion": "1.25.9"
  1360. },
  1361. "version": 0.4
  1362. }