Commit Graph

4 Commits

Author SHA1 Message Date
Riccardo Giorato 4dc2266a7e Revert "Update prompt.ts"
This reverts commit dd67b14a9c.
2026-01-30 14:17:50 +01:00
Riccardo Giorato dd67b14a9c Update prompt.ts 2026-01-30 13:01:32 +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 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