mycofi-earth-website/app/api
Jeff Emmett 9eff93d275 fix: resize mask to match image dimensions for FLUX inpainting
The mask was generated at a fixed 768x1024 size but the actual page
image could be different dimensions, causing Fal.ai to return a 400
error. Now using sharp to resize the mask to match the image before
sending to the API.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 23:58:01 -05:00
..
zine fix: resize mask to match image dimensions for FLUX inpainting 2025-12-26 23:58:01 -05:00