Guest User

Flux Basic Workflow

a guest
Aug 20th, 2024
844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.05 KB | Source Code | 0 0
  1. {
  2. "last_node_id": 21,
  3. "last_link_id": 30,
  4. "nodes": [
  5. {
  6. "id": 10,
  7. "type": "UNETLoader",
  8. "pos": [
  9. 190,
  10. 210
  11. ],
  12. "size": {
  13. "0": 315,
  14. "1": 82
  15. },
  16. "flags": {},
  17. "order": 4,
  18. "mode": 0,
  19. "outputs": [
  20. {
  21. "name": "MODEL",
  22. "type": "MODEL",
  23. "links": [
  24. 10
  25. ],
  26. "shape": 3,
  27. "slot_index": 0
  28. }
  29. ],
  30. "properties": {
  31. "Node name for S&R": "UNETLoader"
  32. },
  33. "widgets_values": [
  34. "FU-2.2.0.safetensors",
  35. "fp8_e4m3fn"
  36. ]
  37. },
  38. {
  39. "id": 11,
  40. "type": "ModelSamplingFlux",
  41. "pos": [
  42. 620,
  43. 220
  44. ],
  45. "size": {
  46. "0": 315,
  47. "1": 130
  48. },
  49. "flags": {},
  50. "order": 7,
  51. "mode": 0,
  52. "inputs": [
  53. {
  54. "name": "model",
  55. "type": "MODEL",
  56. "link": 10
  57. }
  58. ],
  59. "outputs": [
  60. {
  61. "name": "MODEL",
  62. "type": "MODEL",
  63. "links": [
  64. 24
  65. ],
  66. "shape": 3,
  67. "slot_index": 0
  68. }
  69. ],
  70. "properties": {
  71. "Node name for S&R": "ModelSamplingFlux"
  72. },
  73. "widgets_values": [
  74. 1.15,
  75. 0.5,
  76. 1024,
  77. 1024
  78. ]
  79. },
  80. {
  81. "id": 13,
  82. "type": "DualCLIPLoader",
  83. "pos": [
  84. 190,
  85. 420
  86. ],
  87. "size": {
  88. "0": 315,
  89. "1": 106
  90. },
  91. "flags": {},
  92. "order": 3,
  93. "mode": 0,
  94. "outputs": [
  95. {
  96. "name": "CLIP",
  97. "type": "CLIP",
  98. "links": [
  99. 12,
  100. 23
  101. ],
  102. "shape": 3,
  103. "slot_index": 0
  104. }
  105. ],
  106. "properties": {
  107. "Node name for S&R": "DualCLIPLoader"
  108. },
  109. "widgets_values": [
  110. "t5xxl_fp16.safetensors",
  111. "clip_l.safetensors",
  112. "flux"
  113. ]
  114. },
  115. {
  116. "id": 14,
  117. "type": "CLIPTextEncodeFlux",
  118. "pos": [
  119. 580,
  120. 420
  121. ],
  122. "size": {
  123. "0": 400,
  124. "1": 200
  125. },
  126. "flags": {},
  127. "order": 5,
  128. "mode": 0,
  129. "inputs": [
  130. {
  131. "name": "clip",
  132. "type": "CLIP",
  133. "link": 12
  134. }
  135. ],
  136. "outputs": [
  137. {
  138. "name": "CONDITIONING",
  139. "type": "CONDITIONING",
  140. "links": [
  141. 25
  142. ],
  143. "shape": 3,
  144. "slot_index": 0
  145. }
  146. ],
  147. "properties": {
  148. "Node name for S&R": "CLIPTextEncodeFlux"
  149. },
  150. "widgets_values": [
  151. "a beautiful rose growing on the moon",
  152. "a beautiful rose growing on the moon",
  153. 3.5
  154. ],
  155. "color": "#232",
  156. "bgcolor": "#353"
  157. },
  158. {
  159. "id": 15,
  160. "type": "VAELoader",
  161. "pos": [
  162. 190,
  163. 600
  164. ],
  165. "size": {
  166. "0": 315,
  167. "1": 58
  168. },
  169. "flags": {},
  170. "order": 2,
  171. "mode": 0,
  172. "outputs": [
  173. {
  174. "name": "VAE",
  175. "type": "VAE",
  176. "links": [
  177. 28
  178. ],
  179. "shape": 3,
  180. "slot_index": 0
  181. }
  182. ],
  183. "properties": {
  184. "Node name for S&R": "VAELoader"
  185. },
  186. "widgets_values": [
  187. "flux_VAE.safetensors"
  188. ]
  189. },
  190. {
  191. "id": 16,
  192. "type": "EmptyLatentImage",
  193. "pos": [
  194. 210,
  195. 800
  196. ],
  197. "size": {
  198. "0": 315,
  199. "1": 106
  200. },
  201. "flags": {},
  202. "order": 0,
  203. "mode": 0,
  204. "outputs": [
  205. {
  206. "name": "LATENT",
  207. "type": "LATENT",
  208. "links": [
  209. 27
  210. ],
  211. "shape": 3
  212. }
  213. ],
  214. "properties": {
  215. "Node name for S&R": "EmptyLatentImage"
  216. },
  217. "widgets_values": [
  218. 1024,
  219. 1024,
  220. 1
  221. ]
  222. },
  223. {
  224. "id": 17,
  225. "type": "PreviewImage",
  226. "pos": [
  227. 1520,
  228. 70
  229. ],
  230. "size": [
  231. 420,
  232. 440
  233. ],
  234. "flags": {},
  235. "order": 9,
  236. "mode": 0,
  237. "inputs": [
  238. {
  239. "name": "images",
  240. "type": "IMAGE",
  241. "link": 29
  242. }
  243. ],
  244. "properties": {
  245. "Node name for S&R": "PreviewImage"
  246. }
  247. },
  248. {
  249. "id": 18,
  250. "type": "SaveImage",
  251. "pos": [
  252. 1579.4844469479808,
  253. 583.8298197054917
  254. ],
  255. "size": {
  256. "0": 315,
  257. "1": 58
  258. },
  259. "flags": {},
  260. "order": 10,
  261. "mode": 4,
  262. "inputs": [
  263. {
  264. "name": "images",
  265. "type": "IMAGE",
  266. "link": 30
  267. }
  268. ],
  269. "properties": {},
  270. "widgets_values": [
  271. "ComfyUI"
  272. ]
  273. },
  274. {
  275. "id": 19,
  276. "type": "Reroute",
  277. "pos": [
  278. 620,
  279. 700
  280. ],
  281. "size": [
  282. 75,
  283. 26
  284. ],
  285. "flags": {},
  286. "order": 1,
  287. "mode": 0,
  288. "inputs": [
  289. {
  290. "name": "",
  291. "type": "*",
  292. "link": null,
  293. "widget": {
  294. "name": "value"
  295. },
  296. "label": "NULL"
  297. }
  298. ],
  299. "outputs": [
  300. {
  301. "name": "",
  302. "type": "*",
  303. "links": [
  304. 21,
  305. 22
  306. ],
  307. "slot_index": 0
  308. }
  309. ],
  310. "properties": {
  311. "showOutputText": false,
  312. "horizontal": false
  313. }
  314. },
  315. {
  316. "id": 20,
  317. "type": "CLIPTextEncodeFlux",
  318. "pos": [
  319. 780,
  320. 670
  321. ],
  322. "size": [
  323. 210,
  324. 100
  325. ],
  326. "flags": {},
  327. "order": 6,
  328. "mode": 0,
  329. "inputs": [
  330. {
  331. "name": "clip",
  332. "type": "CLIP",
  333. "link": 23
  334. },
  335. {
  336. "name": "t5xxl",
  337. "type": "STRING",
  338. "link": 21,
  339. "widget": {
  340. "name": "t5xxl"
  341. }
  342. },
  343. {
  344. "name": "clip_l",
  345. "type": "STRING",
  346. "link": 22,
  347. "widget": {
  348. "name": "clip_l"
  349. }
  350. }
  351. ],
  352. "outputs": [
  353. {
  354. "name": "CONDITIONING",
  355. "type": "CONDITIONING",
  356. "links": [
  357. 26
  358. ],
  359. "shape": 3,
  360. "slot_index": 0
  361. }
  362. ],
  363. "properties": {
  364. "Node name for S&R": "CLIPTextEncodeFlux"
  365. },
  366. "widgets_values": [
  367. "",
  368. "",
  369. 3.5
  370. ],
  371. "color": "#322",
  372. "bgcolor": "#533"
  373. },
  374. {
  375. "id": 21,
  376. "type": "KSampler (Efficient)",
  377. "pos": [
  378. 1100,
  379. 200
  380. ],
  381. "size": [
  382. 330,
  383. 560
  384. ],
  385. "flags": {},
  386. "order": 8,
  387. "mode": 0,
  388. "inputs": [
  389. {
  390. "name": "model",
  391. "type": "MODEL",
  392. "link": 24
  393. },
  394. {
  395. "name": "positive",
  396. "type": "CONDITIONING",
  397. "link": 25
  398. },
  399. {
  400. "name": "negative",
  401. "type": "CONDITIONING",
  402. "link": 26
  403. },
  404. {
  405. "name": "latent_image",
  406. "type": "LATENT",
  407. "link": 27
  408. },
  409. {
  410. "name": "optional_vae",
  411. "type": "VAE",
  412. "link": 28
  413. },
  414. {
  415. "name": "script",
  416. "type": "SCRIPT",
  417. "link": null
  418. }
  419. ],
  420. "outputs": [
  421. {
  422. "name": "MODEL",
  423. "type": "MODEL",
  424. "links": null,
  425. "shape": 3
  426. },
  427. {
  428. "name": "CONDITIONING+",
  429. "type": "CONDITIONING",
  430. "links": null,
  431. "shape": 3
  432. },
  433. {
  434. "name": "CONDITIONING-",
  435. "type": "CONDITIONING",
  436. "links": null,
  437. "shape": 3
  438. },
  439. {
  440. "name": "LATENT",
  441. "type": "LATENT",
  442. "links": null,
  443. "shape": 3
  444. },
  445. {
  446. "name": "VAE",
  447. "type": "VAE",
  448. "links": null,
  449. "shape": 3
  450. },
  451. {
  452. "name": "IMAGE",
  453. "type": "IMAGE",
  454. "links": [
  455. 29,
  456. 30
  457. ],
  458. "shape": 3,
  459. "slot_index": 5
  460. }
  461. ],
  462. "properties": {
  463. "Node name for S&R": "KSampler (Efficient)"
  464. },
  465. "widgets_values": [
  466. 812605769147877,
  467. null,
  468. 25,
  469. 1,
  470. "deis",
  471. "ddim_uniform",
  472. 1,
  473. "auto",
  474. "true"
  475. ],
  476. "color": "#332233",
  477. "bgcolor": "#553355",
  478. "shape": 1
  479. }
  480. ],
  481. "links": [
  482. [
  483. 10,
  484. 10,
  485. 0,
  486. 11,
  487. 0,
  488. "MODEL"
  489. ],
  490. [
  491. 12,
  492. 13,
  493. 0,
  494. 14,
  495. 0,
  496. "CLIP"
  497. ],
  498. [
  499. 21,
  500. 19,
  501. 0,
  502. 20,
  503. 1,
  504. "STRING"
  505. ],
  506. [
  507. 22,
  508. 19,
  509. 0,
  510. 20,
  511. 2,
  512. "STRING"
  513. ],
  514. [
  515. 23,
  516. 13,
  517. 0,
  518. 20,
  519. 0,
  520. "CLIP"
  521. ],
  522. [
  523. 24,
  524. 11,
  525. 0,
  526. 21,
  527. 0,
  528. "MODEL"
  529. ],
  530. [
  531. 25,
  532. 14,
  533. 0,
  534. 21,
  535. 1,
  536. "CONDITIONING"
  537. ],
  538. [
  539. 26,
  540. 20,
  541. 0,
  542. 21,
  543. 2,
  544. "CONDITIONING"
  545. ],
  546. [
  547. 27,
  548. 16,
  549. 0,
  550. 21,
  551. 3,
  552. "LATENT"
  553. ],
  554. [
  555. 28,
  556. 15,
  557. 0,
  558. 21,
  559. 4,
  560. "VAE"
  561. ],
  562. [
  563. 29,
  564. 21,
  565. 5,
  566. 17,
  567. 0,
  568. "IMAGE"
  569. ],
  570. [
  571. 30,
  572. 21,
  573. 5,
  574. 18,
  575. 0,
  576. "IMAGE"
  577. ]
  578. ],
  579. "groups": [],
  580. "config": {},
  581. "extra": {
  582. "ds": {
  583. "scale": 0.8954302432552587,
  584. "offset": [
  585. -101.8898529456223,
  586. -92.24657223508501
  587. ]
  588. }
  589. },
  590. "version": 0.4
  591. }
Advertisement
Add Comment
Please, Sign In to add comment