简要描述
  • 根据任务id获取历史数据
请求URL
  • /history/8b918008-751f-414c-9575-7174e841ceac
请求方式
  • GET
返回示例
  1. {
  2. "8b918008-751f-414c-9575-7174e841ceac": {
  3. "prompt": [
  4. 25,
  5. "8b918008-751f-414c-9575-7174e841ceac",
  6. {
  7. "8": {
  8. "inputs": {
  9. "samples": [
  10. "76",
  11. 0
  12. ],
  13. "vae": [
  14. "18",
  15. 0
  16. ]
  17. },
  18. "class_type": "VAEDecode"
  19. },
  20. "16": {
  21. "inputs": {
  22. "ckpt_name": "sd_xl_base_1.0.safetensors"
  23. },
  24. "class_type": "CheckpointLoaderSimple"
  25. },
  26. "18": {
  27. "inputs": {
  28. "vae_name": "sdxl_vae.safetensors"
  29. },
  30. "class_type": "VAELoader"
  31. },
  32. "21": {
  33. "inputs": {
  34. "ckpt_name": "sd_xl_refiner_1.0.safetensors"
  35. },
  36. "class_type": "CheckpointLoaderSimple"
  37. },
  38. "36": {
  39. "inputs": {
  40. "text_positive": [
  41. "72",
  42. 0
  43. ],
  44. "text_negative": [
  45. "73",
  46. 0
  47. ],
  48. "style": "sai-模拟胶片风格",
  49. "log_prompt": "Yes"
  50. },
  51. "class_type": "SDXLPromptStyler"
  52. },
  53. "52": {
  54. "inputs": {
  55. "width": 1024,
  56. "height": 1024,
  57. "batch_size": 1
  58. },
  59. "class_type": "EmptyLatentImage"
  60. },
  61. "56": {
  62. "inputs": {
  63. "text": [
  64. "36",
  65. 0
  66. ],
  67. "clip": [
  68. "16",
  69. 1
  70. ]
  71. },
  72. "class_type": "CLIPTextEncode"
  73. },
  74. "57": {
  75. "inputs": {
  76. "text": [
  77. "36",
  78. 1
  79. ],
  80. "clip": [
  81. "16",
  82. 1
  83. ]
  84. },
  85. "class_type": "CLIPTextEncode"
  86. },
  87. "72": {
  88. "inputs": {
  89. "text": "一个女孩儿\n"
  90. },
  91. "class_type": "BaiduTransApi"
  92. },
  93. "73": {
  94. "inputs": {
  95. "text": "bad hands, text, watermark\n"
  96. },
  97. "class_type": "BaiduTransApi"
  98. },
  99. "75": {
  100. "inputs": {
  101. "time_embed.": 1,
  102. "label_emb.": 1,
  103. "input_blocks.0": 1,
  104. "input_blocks.1": 1,
  105. "input_blocks.2": 1,
  106. "input_blocks.3": 1,
  107. "input_blocks.4": 1,
  108. "input_blocks.5": 1,
  109. "input_blocks.6": 1,
  110. "input_blocks.7": 1,
  111. "input_blocks.8": 1,
  112. "middle_block.0": 1,
  113. "middle_block.1": 1,
  114. "middle_block.2": 1,
  115. "output_blocks.0": 1,
  116. "output_blocks.1": 1,
  117. "output_blocks.2": 1,
  118. "output_blocks.3": 1,
  119. "output_blocks.4": 1,
  120. "output_blocks.5": 1,
  121. "output_blocks.6": 1,
  122. "output_blocks.7": 1,
  123. "output_blocks.8": 1,
  124. "out.": 1,
  125. "model1": [
  126. "16",
  127. 0
  128. ],
  129. "model2": [
  130. "21",
  131. 0
  132. ]
  133. },
  134. "class_type": "ModelMergeSDXL"
  135. },
  136. "76": {
  137. "inputs": {
  138. "seed": 5265529998415,
  139. "steps": 30,
  140. "cfg": 8,
  141. "sampler_name": "dpmpp_3m_sde_gpu",
  142. "scheduler": "exponential",
  143. "denoise": 1,
  144. "model": [
  145. "75",
  146. 0
  147. ],
  148. "positive": [
  149. "56",
  150. 0
  151. ],
  152. "negative": [
  153. "57",
  154. 0
  155. ],
  156. "latent_image": [
  157. "52",
  158. 0
  159. ]
  160. },
  161. "class_type": "KSampler"
  162. },
  163. "79": {
  164. "inputs": {
  165. "filename_prefix": "ComfyUI",
  166. "images": [
  167. "8",
  168. 0
  169. ]
  170. },
  171. "class_type": "SaveImage"
  172. }
  173. },
  174. {
  175. "client_id": "f4ad4a7e-de75-47e9-8bee-7c277cc715cb"
  176. },
  177. [
  178. "79"
  179. ]
  180. ],
  181. "outputs": {
  182. "79": {
  183. "images": [
  184. {
  185. "filename": "ComfyUI_00834_.png",
  186. "subfolder": "",
  187. "type": "output"
  188. }
  189. ]
  190. }
  191. }
  192. }
  193. }
返回参数说明
备注