run_judged
Run a saved ComfyUI workflow with rubric-based judging to iteratively generate, fix, and keep the best result.
Instructions
Run a saved workflow under the harness: generate -> judge with the rubric -> fix -> judge ..., keeping the best result. prompt_field: the input that holds the prompt, e.g. "Positive.text"; on a retry the judge's problems are appended to it. description: what the image must show (the judge checks against it). rubric: rubric JSON file path or JSON (see harness.py). Starts in the background and returns a job id at once; poll get_judged(job_id). Needs JUDGE_URL and JUDGE_MODEL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| name | Yes | ||
| images | No | ||
| prompt | Yes | ||
| rubric | Yes | ||
| description | Yes | ||
| download_dir | No | ||
| prompt_field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |