gligen_textbox_example_api.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "3": {
  3. "inputs": {
  4. "seed": 1023216319780679,
  5. "steps": 20,
  6. "cfg": 8.0,
  7. "sampler_name": "uni_pc_bh2",
  8. "scheduler": "normal",
  9. "denoise": 1.0,
  10. "model": [
  11. "4",
  12. 0
  13. ],
  14. "positive": [
  15. "27",
  16. 0
  17. ],
  18. "negative": [
  19. "7",
  20. 0
  21. ],
  22. "latent_image": [
  23. "5",
  24. 0
  25. ]
  26. },
  27. "class_type": "KSampler"
  28. },
  29. "4": {
  30. "inputs": {
  31. "ckpt_name": "v1-5-pruned-emaonly.ckpt"
  32. },
  33. "class_type": "CheckpointLoaderSimple"
  34. },
  35. "5": {
  36. "inputs": {
  37. "width": 768,
  38. "height": 768,
  39. "batch_size": 1
  40. },
  41. "class_type": "EmptyLatentImage"
  42. },
  43. "7": {
  44. "inputs": {
  45. "text": "text, watermark",
  46. "clip": [
  47. "4",
  48. 1
  49. ]
  50. },
  51. "class_type": "CLIPTextEncode"
  52. },
  53. "8": {
  54. "inputs": {
  55. "samples": [
  56. "3",
  57. 0
  58. ],
  59. "vae": [
  60. "4",
  61. 2
  62. ]
  63. },
  64. "class_type": "VAEDecode"
  65. },
  66. "9": {
  67. "inputs": {
  68. "filename_prefix": "gligen/testing",
  69. "images": [
  70. "8",
  71. 0
  72. ]
  73. },
  74. "class_type": "SaveImage"
  75. },
  76. "10": {
  77. "inputs": {
  78. "gligen_name": "gligen_sd14_textbox_pruned.safetensors"
  79. },
  80. "class_type": "GLIGENLoader"
  81. },
  82. "21": {
  83. "inputs": {
  84. "text": "purple galaxy bottle",
  85. "width": 192,
  86. "height": 304,
  87. "x": 176,
  88. "y": 272,
  89. "conditioning_to": [
  90. "24",
  91. 0
  92. ],
  93. "clip": [
  94. "4",
  95. 1
  96. ],
  97. "gligen_textbox_model": [
  98. "10",
  99. 0
  100. ]
  101. },
  102. "class_type": "GLIGENTextBoxApply"
  103. },
  104. "24": {
  105. "inputs": {
  106. "text": "photograph scenery landscape, snow beautiful scenery mountain, glass bottle; purple galaxy bottle; sun",
  107. "clip": [
  108. "4",
  109. 1
  110. ]
  111. },
  112. "class_type": "CLIPTextEncode"
  113. },
  114. "27": {
  115. "inputs": {
  116. "text": "sun",
  117. "width": 144,
  118. "height": 144,
  119. "x": 416,
  120. "y": 16,
  121. "conditioning_to": [
  122. "21",
  123. 0
  124. ],
  125. "clip": [
  126. "4",
  127. 1
  128. ],
  129. "gligen_textbox_model": [
  130. "10",
  131. 0
  132. ]
  133. },
  134. "class_type": "GLIGENTextBoxApply"
  135. }
  136. }