diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-24 10:49:29 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-24 10:49:29 +0200 |
| commit | bce5acdf8361a27609c3af19ab7b2243ad56da3d (patch) | |
| tree | fe696143e88a1a6afa2bc79daf6a98ebda656be6 /hyperstack.rb | |
| parent | c2d54f7a4823ca0de99fdb8cc0a094b0cdf4cbb4 (diff) | |
photo-enhance: add EXIF auto-rotate and fix ComfyUI cache bypass
- Auto-orient photos before uploading: creates a temp -auto-orient copy
via magick, uploads that to ComfyUI (which strips EXIF), deletes temp
after upload. Output images are always correctly oriented.
- Bust ComfyUI execution cache: inject a random filename_prefix into
SaveImage node on each submission. Without this, resubmitting the same
image returns execution_cached with empty outputs {}, causing
wait_for_output to spin until the 600s timeout.
- Detect and raise on cached-but-empty completions: if ComfyUI reports
completed=true/success but outputs={}, raise immediately rather than
polling until timeout (fallback safety net for edge cases).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'hyperstack.rb')
0 files changed, 0 insertions, 0 deletions
