flux_schnell_example_api.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "5": {
  3. "inputs": {
  4. "width": 1024,
  5. "height": 1024,
  6. "batch_size": 1
  7. },
  8. "class_type": "EmptyLatentImage"
  9. },
  10. "6": {
  11. "inputs": {
  12. "text": "a bottle with a beautiful rainbow galaxy inside it on top of a wooden table in the middle of a modern kitchen beside a plate of vegetables and mushrooms and a wine glasse that contains a planet earth with a plate with a half eaten apple pie on it",
  13. "clip": [
  14. "11",
  15. 0
  16. ]
  17. },
  18. "class_type": "CLIPTextEncode"
  19. },
  20. "8": {
  21. "inputs": {
  22. "samples": [
  23. "13",
  24. 0
  25. ],
  26. "vae": [
  27. "10",
  28. 0
  29. ]
  30. },
  31. "class_type": "VAEDecode"
  32. },
  33. "9": {
  34. "inputs": {
  35. "filename_prefix": "ComfyUI",
  36. "images": [
  37. "8",
  38. 0
  39. ]
  40. },
  41. "class_type": "SaveImage"
  42. },
  43. "10": {
  44. "inputs": {
  45. "vae_name": "ae.safetensors"
  46. },
  47. "class_type": "VAELoader"
  48. },
  49. "11": {
  50. "inputs": {
  51. "clip_name1": "t5xxl_fp16.safetensors",
  52. "clip_name2": "clip_l.safetensors",
  53. "type": "flux"
  54. },
  55. "class_type": "DualCLIPLoader"
  56. },
  57. "12": {
  58. "inputs": {
  59. "unet_name": "flux1-schnell.safetensors",
  60. "weight_dtype": "default"
  61. },
  62. "class_type": "UNETLoader"
  63. },
  64. "13": {
  65. "inputs": {
  66. "noise": [
  67. "25",
  68. 0
  69. ],
  70. "guider": [
  71. "22",
  72. 0
  73. ],
  74. "sampler": [
  75. "16",
  76. 0
  77. ],
  78. "sigmas": [
  79. "17",
  80. 0
  81. ],
  82. "latent_image": [
  83. "5",
  84. 0
  85. ]
  86. },
  87. "class_type": "SamplerCustomAdvanced"
  88. },
  89. "16": {
  90. "inputs": {
  91. "sampler_name": "euler"
  92. },
  93. "class_type": "KSamplerSelect"
  94. },
  95. "17": {
  96. "inputs": {
  97. "scheduler": "simple",
  98. "steps": 4,
  99. "denoise": 1.0,
  100. "model": [
  101. "12",
  102. 0
  103. ]
  104. },
  105. "class_type": "BasicScheduler"
  106. },
  107. "22": {
  108. "inputs": {
  109. "model": [
  110. "12",
  111. 0
  112. ],
  113. "conditioning": [
  114. "6",
  115. 0
  116. ]
  117. },
  118. "class_type": "BasicGuider"
  119. },
  120. "25": {
  121. "inputs": {
  122. "noise_seed": 112298569477003
  123. },
  124. "class_type": "RandomNoise"
  125. }
  126. }