get_job_result
Retrieve a ComfyUI job's result by prompt ID, optionally waiting up to 50 seconds for completion; repeat the call while status remains running.
Instructions
Get the result of a completed or running job by its prompt ID. Pass wait_seconds to block until it finishes (repeat the call while status is "running").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | The prompt/job ID returned from run_workflow | |
| wait_seconds | No | Block up to this many seconds for the job to finish (default 0 = check once, max 50) |