sdxl_simple_example_api.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "4": {
  3. "inputs": {
  4. "ckpt_name": "sd_xl_base_1.0.safetensors"
  5. },
  6. "class_type": "CheckpointLoaderSimple"
  7. },
  8. "5": {
  9. "inputs": {
  10. "width": 1024,
  11. "height": 1024,
  12. "batch_size": 1
  13. },
  14. "class_type": "EmptyLatentImage"
  15. },
  16. "6": {
  17. "inputs": {
  18. "text": "evening sunset scenery blue sky nature, glass bottle with a galaxy in it",
  19. "clip": [
  20. "4",
  21. 1
  22. ]
  23. },
  24. "class_type": "CLIPTextEncode"
  25. },
  26. "7": {
  27. "inputs": {
  28. "text": "text, watermark",
  29. "clip": [
  30. "4",
  31. 1
  32. ]
  33. },
  34. "class_type": "CLIPTextEncode"
  35. },
  36. "10": {
  37. "inputs": {
  38. "add_noise": "enable",
  39. "noise_seed": 721897303308196,
  40. "steps": 25,
  41. "cfg": 8.0,
  42. "sampler_name": "euler",
  43. "scheduler": "normal",
  44. "start_at_step": 0,
  45. "end_at_step": 20,
  46. "return_with_leftover_noise": "enable",
  47. "model": [
  48. "4",
  49. 0
  50. ],
  51. "positive": [
  52. "6",
  53. 0
  54. ],
  55. "negative": [
  56. "7",
  57. 0
  58. ],
  59. "latent_image": [
  60. "5",
  61. 0
  62. ]
  63. },
  64. "class_type": "KSamplerAdvanced"
  65. },
  66. "11": {
  67. "inputs": {
  68. "add_noise": "disable",
  69. "noise_seed": 0,
  70. "steps": 25,
  71. "cfg": 8.0,
  72. "sampler_name": "euler",
  73. "scheduler": "normal",
  74. "start_at_step": 20,
  75. "end_at_step": 10000,
  76. "return_with_leftover_noise": "disable",
  77. "model": [
  78. "12",
  79. 0
  80. ],
  81. "positive": [
  82. "15",
  83. 0
  84. ],
  85. "negative": [
  86. "16",
  87. 0
  88. ],
  89. "latent_image": [
  90. "10",
  91. 0
  92. ]
  93. },
  94. "class_type": "KSamplerAdvanced"
  95. },
  96. "12": {
  97. "inputs": {
  98. "ckpt_name": "sd_xl_refiner_1.0.safetensors"
  99. },
  100. "class_type": "CheckpointLoaderSimple"
  101. },
  102. "15": {
  103. "inputs": {
  104. "text": "evening sunset scenery blue sky nature, glass bottle with a galaxy in it",
  105. "clip": [
  106. "12",
  107. 1
  108. ]
  109. },
  110. "class_type": "CLIPTextEncode"
  111. },
  112. "16": {
  113. "inputs": {
  114. "text": "text, watermark",
  115. "clip": [
  116. "12",
  117. 1
  118. ]
  119. },
  120. "class_type": "CLIPTextEncode"
  121. },
  122. "17": {
  123. "inputs": {
  124. "samples": [
  125. "11",
  126. 0
  127. ],
  128. "vae": [
  129. "12",
  130. 2
  131. ]
  132. },
  133. "class_type": "VAEDecode"
  134. },
  135. "19": {
  136. "inputs": {
  137. "filename_prefix": "ComfyUI",
  138. "images": [
  139. "17",
  140. 0
  141. ]
  142. },
  143. "class_type": "SaveImage"
  144. }
  145. }