mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
* feat: add configurable shift parameter for Z-Image sigma schedule Add a shift (mu) override to the Z-Image denoise invocation and expose it in the UI. When left blank, shift is auto-calculated from image dimensions (existing behavior). Users can override to fine-tune the timestep schedule, with an inline X button to reset back to auto. * refactor: switch Z-Image sigma schedule from exponential to linear time shift Use shift directly as a linear multiplier instead of exp(mu), giving more predictable and uniform control over the timestep schedule. Auto-calculated values are converted via exp(mu) to preserve identical default behavior. * feat: recall Z-Image shift parameter from metadata Write z_image_shift into graph metadata and add a ZImageShift recall handler so the shift override can be restored from previously generated images. Auto-mode (null) is omitted from metadata to avoid persisting a stale value. --------- Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>