prepare_image_for_workflow
Fetch a completed prompt's first output image, upload it to ComfyUI's input folder, and return the filename for LoadImage in follow-up workflows.
Instructions
Fetch the first output image from a completed prompt and upload it to ComfyUI input folder. Returns the filename to use in LoadImage for a follow-up workflow (e.g. image caption / verification). Use after get_execution_status confirms the prompt finished with image output. Requires COMFYUI_HOST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | Prompt id from execute_workflow (run must be completed with image output) |