flux_canny_model_example_api.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "3": {
  3. "inputs": {
  4. "seed": 50363905047731,
  5. "steps": 20,
  6. "cfg": 1.0,
  7. "sampler_name": "euler",
  8. "scheduler": "normal",
  9. "denoise": 1.0,
  10. "model": [
  11. "31",
  12. 0
  13. ],
  14. "positive": [
  15. "35",
  16. 0
  17. ],
  18. "negative": [
  19. "35",
  20. 1
  21. ],
  22. "latent_image": [
  23. "35",
  24. 2
  25. ]
  26. },
  27. "class_type": "KSampler"
  28. },
  29. "7": {
  30. "inputs": {
  31. "text": "",
  32. "clip": [
  33. "34",
  34. 0
  35. ]
  36. },
  37. "class_type": "CLIPTextEncode"
  38. },
  39. "8": {
  40. "inputs": {
  41. "samples": [
  42. "3",
  43. 0
  44. ],
  45. "vae": [
  46. "32",
  47. 0
  48. ]
  49. },
  50. "class_type": "VAEDecode"
  51. },
  52. "9": {
  53. "inputs": {
  54. "filename_prefix": "ComfyUI",
  55. "images": [
  56. "8",
  57. 0
  58. ]
  59. },
  60. "class_type": "SaveImage"
  61. },
  62. "17": {
  63. "inputs": {
  64. "image": "sd3_controlnet_example.png",
  65. "upload": "image"
  66. },
  67. "class_type": "LoadImage",
  68. "is_changed": [
  69. "9d64e7ed10ee150e1d04938e57500fd889ff0413372ee67abf27a6d197af4d48"
  70. ]
  71. },
  72. "18": {
  73. "inputs": {
  74. "low_threshold": 0.15,
  75. "high_threshold": 0.3,
  76. "image": [
  77. "17",
  78. 0
  79. ]
  80. },
  81. "class_type": "Canny"
  82. },
  83. "19": {
  84. "inputs": {
  85. "images": [
  86. "18",
  87. 0
  88. ]
  89. },
  90. "class_type": "PreviewImage"
  91. },
  92. "23": {
  93. "inputs": {
  94. "text": "cute anime girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a pink sweater and jeans",
  95. "clip": [
  96. "34",
  97. 0
  98. ]
  99. },
  100. "class_type": "CLIPTextEncode"
  101. },
  102. "26": {
  103. "inputs": {
  104. "guidance": 30.0,
  105. "conditioning": [
  106. "23",
  107. 0
  108. ]
  109. },
  110. "class_type": "FluxGuidance"
  111. },
  112. "31": {
  113. "inputs": {
  114. "unet_name": "flux1-canny-dev.safetensors",
  115. "weight_dtype": "default"
  116. },
  117. "class_type": "UNETLoader"
  118. },
  119. "32": {
  120. "inputs": {
  121. "vae_name": "ae.safetensors"
  122. },
  123. "class_type": "VAELoader"
  124. },
  125. "34": {
  126. "inputs": {
  127. "clip_name1": "clip_l.safetensors",
  128. "clip_name2": "t5xxl_fp16.safetensors",
  129. "type": "flux"
  130. },
  131. "class_type": "DualCLIPLoader"
  132. },
  133. "35": {
  134. "inputs": {
  135. "positive": [
  136. "26",
  137. 0
  138. ],
  139. "negative": [
  140. "7",
  141. 0
  142. ],
  143. "vae": [
  144. "32",
  145. 0
  146. ],
  147. "pixels": [
  148. "18",
  149. 0
  150. ]
  151. },
  152. "class_type": "InstructPixToPixConditioning"
  153. }
  154. }