inpaint_example_api.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "3": {
  3. "inputs": {
  4. "seed": 1040111309094545,
  5. "steps": 20,
  6. "cfg": 8.0,
  7. "sampler_name": "uni_pc_bh2",
  8. "scheduler": "normal",
  9. "denoise": 1.0,
  10. "model": [
  11. "29",
  12. 0
  13. ],
  14. "positive": [
  15. "6",
  16. 0
  17. ],
  18. "negative": [
  19. "7",
  20. 0
  21. ],
  22. "latent_image": [
  23. "26",
  24. 0
  25. ]
  26. },
  27. "class_type": "KSampler"
  28. },
  29. "6": {
  30. "inputs": {
  31. "text": "closeup photograph of maine coon (cat:1.2) in the yosemite national park mountains nature",
  32. "clip": [
  33. "29",
  34. 1
  35. ]
  36. },
  37. "class_type": "CLIPTextEncode"
  38. },
  39. "7": {
  40. "inputs": {
  41. "text": "watermark, text\n",
  42. "clip": [
  43. "29",
  44. 1
  45. ]
  46. },
  47. "class_type": "CLIPTextEncode"
  48. },
  49. "8": {
  50. "inputs": {
  51. "samples": [
  52. "3",
  53. 0
  54. ],
  55. "vae": [
  56. "29",
  57. 2
  58. ]
  59. },
  60. "class_type": "VAEDecode"
  61. },
  62. "9": {
  63. "inputs": {
  64. "filename_prefix": "ComfyUI",
  65. "images": [
  66. "8",
  67. 0
  68. ]
  69. },
  70. "class_type": "SaveImage"
  71. },
  72. "20": {
  73. "inputs": {
  74. "image": "yosemite_inpaint_example.png",
  75. "choose file to upload": "image"
  76. },
  77. "class_type": "LoadImage",
  78. "is_changed": "1f22079c6fa64d8abe997bf4dce5f606cd8ac81f8823dff439f39aa7e18ca278"
  79. },
  80. "26": {
  81. "inputs": {
  82. "pixels": [
  83. "20",
  84. 0
  85. ],
  86. "vae": [
  87. "29",
  88. 2
  89. ],
  90. "mask": [
  91. "20",
  92. 1
  93. ]
  94. },
  95. "class_type": "VAEEncodeForInpaint"
  96. },
  97. "29": {
  98. "inputs": {
  99. "ckpt_name": "512-inpainting-ema.safetensors"
  100. },
  101. "class_type": "CheckpointLoaderSimple"
  102. }
  103. }