Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Emmett ef5152bb4f fix: enforce 1.55 aspect ratio (750x1163px) for zine pages
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:19:23 +01:00
Jeff Emmett 8dc3145e5c fix: use Nano Banana directly and enforce 750x1200px zine dimensions
- Switch from RunPod proxy to direct Gemini API (no geo-blocking on gemini-2.5-flash-image)
- Add sharp post-processing to resize all images to exact 750x1200px
- Dimensions: 1/8 letter (2.5" x 4.0" content area with 0.125" margins) at 300 DPI
- Update regenerate-page FLUX img2img to use same dimensions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 13:41:31 +01:00
Jeff Emmett c6eb3e5363 fix: use synchronous Fal.ai endpoint for FLUX img2img
The queue polling was timing out. Switch to fal.run synchronous
endpoint which waits for the result directly.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 19:59:51 -05:00
Jeff Emmett f78cf1d0cd feat: add FLUX img2img for zine page refinement
- Add Refine/Revise/Regenerate mode selection in zine creator
- Refine (0.25 strength): keeps most of image, minor tweaks
- Revise (0.5 strength): keeps composition, changes elements
- Regenerate: creates completely new image (existing behavior)
- Use Fal.ai FLUX dev model for img2img processing
- Better UX for iterative refinement without losing good work

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 16:44:26 -05:00
Jeff Emmett 0743f6080d feat: add MycoZine - AI-powered mini-zine generator
- Add /zine landing page with topic input, style & tone selectors
- Add /zine/create page with full generation flow
- Add /zine/z/[id] shareable zine viewer
- Add API routes for outline generation, page creation, print layout
- Add Gemini AI integration for content generation
- Add Sharp for image processing and print layout creation
- Add punk zine styles (borders, text effects, xerox texture)
- Custom MycoFi styles: Mycelial style, Regenerative tone

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 01:16:53 -05:00