Skip to content

fix(inpaint): normalize cloud masks and reject misaligned inputs - #171

Merged
BerryUIKI merged 4 commits into
devfrom
bugfix/provider-mask-normalization-106
Oct 8, 2026
Merged

BerryUIKI merged 4 commits into
devfrom
bugfix/provider-mask-normalization-106

Conversation

@BerryUIKI

Copy link
Copy Markdown
Owner

Inpainting now sends an explicit grayscale edit mask to Fal, validates source/mask dimensions before cache or dispatch for every provider, and preserves painted-region coordinates. Comfy/OpenAI inverse-alpha conversion is vectorized and uses unique temporary files to avoid overlapping-task races. Cache semantics are versioned.

Validation: 16 converter/cloud payload tests and 28 existing creative/upload/cancellation tests passed. Tests inspect a known painted pixel in the actual adapter payload and ensure mismatched dimensions block inference.

  • Small implementation/test commit and separate evidence documentation
  • Targets dev; required CI must pass
  • No secrets, paid inference, or engine mutation

Addresses #106. Keep the issue open: real known-region output preservation remains unverified and needs live engine/provider evidence.

@BerryUIKI
BerryUIKI merged commit e50703b into dev Oct 8, 2026
3 checks passed
@BerryUIKI
BerryUIKI deleted the bugfix/provider-mask-normalization-106 branch October 8, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant