Commit Graph

6 Commits

Author SHA1 Message Date
Riccardo Giorato 24c1f733b3 Add content policy checks and rate limiting 2026-01-05 23:06:30 +01:00
Riccardo Giorato 708205f3f0 Refactor add-page API to use consistent previous page image logic and im 2025-12-27 20:06:02 +01:00
Riccardo Giorato a618754337 Use frontend-selected characters instead of fetching recent ones 2025-12-26 21:57:25 +01:00
Riccardo Giorato 89048bae15 Add redraw page functionality with pageId support and UI updates 2025-12-26 19:43:28 +01:00
Riccardo Giorato 85f18f0ed1 Add reference images from previous page and story characters for consist 2025-12-26 18:08:21 +01:00
Riccardo Giorato 7fd5367577 Refactor comic page generation and add add-page API
Introduces a new /api/add-page endpoint for adding pages to existing comics, refactors prompt construction into a shared utility (lib/prompt.ts), and updates the editor and modal components to use the new API and prompt builder. Removes manual style and character selection in the modal, streamlining the page generation workflow and ensuring previous story context is referenced automatically.
2025-12-26 17:51:08 +01:00