/history/{prompt_id}

173 阅读1分钟

/history/{prompt_id}

简要描述
  • 获取历史任务数据(根据任务id获取历史数据)
接口状态
  • 已完成
请求URL
  • {{url}}/history/8b918008-751f-414c-9575-7174e841ceac
请求方式
  • get
成功返回示例
复制{
  "8b918008-751f-414c-9575-7174e841ceac": {
    "prompt": [
      25,
      "8b918008-751f-414c-9575-7174e841ceac",
      {
        "8": {
          "inputs": {
            "samples": [
              "76",
              0
            ],
            "vae": [
              "18",
              0
            ]
          },
          "class_type": "VAEDecode"
        },
        "16": {
          "inputs": {
            "ckpt_name": "sd_xl_base_1.0.safetensors"
          },
          "class_type": "CheckpointLoaderSimple"
        },
        "18": {
          "inputs": {
            "vae_name": "sdxl_vae.safetensors"
          },
          "class_type": "VAELoader"
        },
        "21": {
          "inputs": {
            "ckpt_name": "sd_xl_refiner_1.0.safetensors"
          },
          "class_type": "CheckpointLoaderSimple"
        },
        "36": {
          "inputs": {
            "text_positive": [
              "72",
              0
            ],
            "text_negative": [
              "73",
              0
            ],
            "style": "sai-模拟胶片风格",
            "log_prompt": "Yes"
          },
          "class_type": "SDXLPromptStyler"
        },
        "52": {
          "inputs": {
            "width": 1024,
            "height": 1024,
            "batch_size": 1
          },
          "class_type": "EmptyLatentImage"
        },
        "56": {
          "inputs": {
            "text": [
              "36",
              0
            ],
            "clip": [
              "16",
              1
            ]
          },
          "class_type": "CLIPTextEncode"
        },
        "57": {
          "inputs": {
            "text": [
              "36",
              1
            ],
            "clip": [
              "16",
              1
            ]
          },
          "class_type": "CLIPTextEncode"
        },
        "72": {
          "inputs": {
            "text": "一个女孩儿\n"
          },
          "class_type": "BaiduTransApi"
        },
        "73": {
          "inputs": {
            "text": "bad hands, text, watermark\n"
          },
          "class_type": "BaiduTransApi"
        },
        "75": {
          "inputs": {
            "time_embed.": 1,
            "label_emb.": 1,
            "input_blocks.0": 1,
            "input_blocks.1": 1,
            "input_blocks.2": 1,
            "input_blocks.3": 1,
            "input_blocks.4": 1,
            "input_blocks.5": 1,
            "input_blocks.6": 1,
            "input_blocks.7": 1,
            "input_blocks.8": 1,
            "middle_block.0": 1,
            "middle_block.1": 1,
            "middle_block.2": 1,
            "output_blocks.0": 1,
            "output_blocks.1": 1,
            "output_blocks.2": 1,
            "output_blocks.3": 1,
            "output_blocks.4": 1,
            "output_blocks.5": 1,
            "output_blocks.6": 1,
            "output_blocks.7": 1,
            "output_blocks.8": 1,
            "out.": 1,
            "model1": [
              "16",
              0
            ],
            "model2": [
              "21",
              0
            ]
          },
          "class_type": "ModelMergeSDXL"
        },
        "76": {
          "inputs": {
            "seed": 5265529998415,
            "steps": 30,
            "cfg": 8,
            "sampler_name": "dpmpp_3m_sde_gpu",
            "scheduler": "exponential",
            "denoise": 1,
            "model": [
              "75",
              0
            ],
            "positive": [
              "56",
              0
            ],
            "negative": [
              "57",
              0
            ],
            "latent_image": [
              "52",
              0
            ]
          },
          "class_type": "KSampler"
        },
        "79": {
          "inputs": {
            "filename_prefix": "ComfyUI",
            "images": [
              "8",
              0
            ]
          },
          "class_type": "SaveImage"
        }
      },
      {
        "client_id": "f4ad4a7e-de75-47e9-8bee-7c277cc715cb"
      },
      [        "79"      ]
    ],
    "outputs": {
      "79": {
        "images": [
          {
            "filename": "ComfyUI_00834_.png",
            "subfolder": "",
            "type": "output"
          }
        ]
      }
    }
  }
}
备注