flux2_example_api.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. {
  2. "6": {
  3. "inputs": {
  4. "text": "cute anime girl with gigantic fennec ears and a big fluffy fox tail with long wavy blonde hair and large blue eyes blonde colored eyelashes wearing a pink sweater a large oversized gold trimmed black winter coat and a long blue maxi skirt and a red scarf, she is happy while singing on stage like an idol while holding a microphone, there are colorful lights, it is a postcard held by a hand in front of a beautiful city at sunset and there is cursive writing that says \"Flux 2, Now in ComfyUI\"",
  5. "clip": [
  6. "38",
  7. 0
  8. ]
  9. },
  10. "class_type": "CLIPTextEncode",
  11. "_meta": {
  12. "title": "CLIP Text Encode (Positive Prompt)"
  13. }
  14. },
  15. "8": {
  16. "inputs": {
  17. "samples": [
  18. "13",
  19. 0
  20. ],
  21. "vae": [
  22. "10",
  23. 0
  24. ]
  25. },
  26. "class_type": "VAEDecode",
  27. "_meta": {
  28. "title": "VAE Decode"
  29. }
  30. },
  31. "9": {
  32. "inputs": {
  33. "filename_prefix": "ComfyUI",
  34. "images": [
  35. "8",
  36. 0
  37. ]
  38. },
  39. "class_type": "SaveImage",
  40. "_meta": {
  41. "title": "Save Image"
  42. }
  43. },
  44. "10": {
  45. "inputs": {
  46. "vae_name": "flux2-vae.safetensors"
  47. },
  48. "class_type": "VAELoader",
  49. "_meta": {
  50. "title": "Load VAE"
  51. }
  52. },
  53. "12": {
  54. "inputs": {
  55. "unet_name": "flux2_dev_fp8mixed.safetensors",
  56. "weight_dtype": "default"
  57. },
  58. "class_type": "UNETLoader",
  59. "_meta": {
  60. "title": "Load Diffusion Model"
  61. }
  62. },
  63. "13": {
  64. "inputs": {
  65. "noise": [
  66. "25",
  67. 0
  68. ],
  69. "guider": [
  70. "22",
  71. 0
  72. ],
  73. "sampler": [
  74. "16",
  75. 0
  76. ],
  77. "sigmas": [
  78. "48",
  79. 0
  80. ],
  81. "latent_image": [
  82. "47",
  83. 0
  84. ]
  85. },
  86. "class_type": "SamplerCustomAdvanced",
  87. "_meta": {
  88. "title": "SamplerCustomAdvanced"
  89. }
  90. },
  91. "16": {
  92. "inputs": {
  93. "sampler_name": "euler"
  94. },
  95. "class_type": "KSamplerSelect",
  96. "_meta": {
  97. "title": "KSamplerSelect"
  98. }
  99. },
  100. "22": {
  101. "inputs": {
  102. "model": [
  103. "12",
  104. 0
  105. ],
  106. "conditioning": [
  107. "26",
  108. 0
  109. ]
  110. },
  111. "class_type": "BasicGuider",
  112. "_meta": {
  113. "title": "BasicGuider"
  114. }
  115. },
  116. "25": {
  117. "inputs": {
  118. "noise_seed": 435922656034510
  119. },
  120. "class_type": "RandomNoise",
  121. "_meta": {
  122. "title": "RandomNoise"
  123. }
  124. },
  125. "26": {
  126. "inputs": {
  127. "guidance": 4.0,
  128. "conditioning": [
  129. "6",
  130. 0
  131. ]
  132. },
  133. "class_type": "FluxGuidance",
  134. "_meta": {
  135. "title": "FluxGuidance"
  136. }
  137. },
  138. "38": {
  139. "inputs": {
  140. "clip_name": "mistral_3_small_flux2_fp8.safetensors",
  141. "type": "flux2",
  142. "device": "default"
  143. },
  144. "class_type": "CLIPLoader",
  145. "_meta": {
  146. "title": "Load CLIP"
  147. }
  148. },
  149. "40": {
  150. "inputs": {
  151. "pixels": [
  152. "41",
  153. 0
  154. ],
  155. "vae": [
  156. "10",
  157. 0
  158. ]
  159. },
  160. "class_type": "VAEEncode",
  161. "_meta": {
  162. "title": "VAE Encode"
  163. }
  164. },
  165. "41": {
  166. "inputs": {
  167. "upscale_method": "area",
  168. "megapixels": 1,
  169. "image": [
  170. "42",
  171. 0
  172. ]
  173. },
  174. "class_type": "ImageScaleToTotalPixels",
  175. "_meta": {
  176. "title": "ImageScaleToTotalPixels"
  177. }
  178. },
  179. "42": {
  180. "inputs": {
  181. "image": "fennec_girl_sing.png"
  182. },
  183. "class_type": "LoadImage",
  184. "_meta": {
  185. "title": "Load Image"
  186. },
  187. "is_changed": [
  188. "8da6d35e6206689be1ac0d44e693a7eb13babffda52318c7a99b4f03cc8aa773"
  189. ]
  190. },
  191. "44": {
  192. "inputs": {
  193. "pixels": [
  194. "45",
  195. 0
  196. ],
  197. "vae": [
  198. "10",
  199. 0
  200. ]
  201. },
  202. "class_type": "VAEEncode",
  203. "_meta": {
  204. "title": "VAE Encode"
  205. }
  206. },
  207. "45": {
  208. "inputs": {
  209. "upscale_method": "area",
  210. "megapixels": 1,
  211. "image": [
  212. "46",
  213. 0
  214. ]
  215. },
  216. "class_type": "ImageScaleToTotalPixels",
  217. "_meta": {
  218. "title": "ImageScaleToTotalPixels"
  219. }
  220. },
  221. "46": {
  222. "inputs": {
  223. "image": "sunset.png"
  224. },
  225. "class_type": "LoadImage",
  226. "_meta": {
  227. "title": "Load Image"
  228. },
  229. "is_changed": [
  230. "5720259f46e3faa1eb43b5317fa38a5f126a0f4f79051a17d4ff745b273d2c0d"
  231. ]
  232. },
  233. "47": {
  234. "inputs": {
  235. "width": 1024,
  236. "height": 1024,
  237. "batch_size": 1
  238. },
  239. "class_type": "EmptyFlux2LatentImage",
  240. "_meta": {
  241. "title": "Empty Flux 2 Latent"
  242. }
  243. },
  244. "48": {
  245. "inputs": {
  246. "steps": 20,
  247. "width": 1024,
  248. "height": 1024
  249. },
  250. "class_type": "Flux2Scheduler",
  251. "_meta": {
  252. "title": "Flux2Scheduler"
  253. }
  254. }
  255. }