Skip to content

v0.4.0 — FLUX.2 relight (--mode relight) + field-learnings docs

Choose a tag to compare

@whartons whartons released this 27 Jun 21:41
· 34 commits to main since this release
1e0d7be

Adds image --mode relight — a FLUX.2 ReferenceLatent relight that changes a still's lighting while preserving its exact composition — plus brand-neutral, field-tested technique notes distilled from production use.

Added

  • image --mode relight (FLUX.2 ReferenceLatent). Relight/restyle a still keeping its exact composition: --asset <source> --subject "<relight prompt>". Encodes the source and rides it on the positive conditioning (full-denoise sample), which holds the layout that plain img2img drifts. FLUX.2-only — a Z-Image brand default transparently falls back to flux2_dev_fp8mixed.safetensors. New parity-guarded template + CLI + filler wiring, +4 tests. Live-validated on ComfyUI 0.26.2 (sunset + moonlight relights both preserved composition while transforming lighting).

Docs — field-tested technique notes (brand-neutral)

  • modules/image/recipes.md (new) — creator assets: platform emotes/stickers (GIF-not-APNG, background-cutout + dark-outline for light/dark legibility, matched-seed keyframes), tiered badge sets.
  • i2v motion-realism caveat (modules/video/), 3D-print/casting prep (modules/threed/), and --texture (mesh3d Phase 4a) marked live-validated end-to-end (modules/agent/).

515 tests, ruff clean. See CHANGELOG.md for full detail.

🤖 Generated with Claude Code