Commit Graph

21 Commits

Author SHA1 Message Date
Riccardo Giorato fbdf84fca7 feat: add api key validation endpoint and update comic generation model 2026-06-17 10:09:40 +02:00
Riccardo Giorato 9b44381deb logs 2026-01-29 22:14:56 +01:00
Riccardo Giorato 6ed91fffec usesOwnApiKey 2026-01-29 16:47:51 +01:00
Riccardo Giorato 295ea5647f Update route.ts 2026-01-27 18:44:43 +01:00
Riccardo Giorato 2201bd2e3f console log image generation time 2026-01-27 17:09:18 +01:00
Riccardo Giorato eb692bcca3 Update API key usage and credit checking logic for comic generation 2026-01-13 13:17:16 +01:00
Riccardo Giorato 24c1f733b3 Add content policy checks and rate limiting 2026-01-05 23:06:30 +01:00
Riccardo Giorato a618754337 Use frontend-selected characters instead of fetching recent ones 2025-12-26 21:57:25 +01:00
Riccardo Giorato d8f0046c14 Add keyboard shortcut for info sheet and fix input field shortcut blocki 2025-12-26 21:36:55 +01:00
Riccardo Giorato 0710982f9d Add AI-generated title and description for new comic stories 2025-12-26 21:31:30 +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
Riccardo Giorato a2dd20ccdb Upload comic images to S3 and update database with S3 URLs 2025-12-26 13:33:38 +01:00
Riccardo Giorato 66b252fb2e Add loading state and style constants, enhance API key modal with delete 2025-12-26 12:15:01 +01:00
Riccardo Giorato 79bd750630 Add free tier rate limiting with Upstash Redis and API key handling 2025-12-25 16:04:00 +01:00
Riccardo Giorato 8bc68eb102 Add Clerk authentication and update auth flow for stories and API routes 2025-12-25 14:17:32 +01:00
Riccardo Giorato bbe8c8caf8 Refactor image model selection and dimensions 2025-12-23 21:41:38 +01:00
Riccardo Giorato ff25be7c85 This commit adds support for reusing existing character images from exis 2025-12-23 13:43:35 +01:00
Riccardo Giorato d2b94bde98 Refactor character image handling and API calls 2025-12-23 12:31:54 +01:00
Riccardo Giorato 3eea61625d feat: add S3 upload configuration and Together.ai API integration 2025-12-23 12:20:03 +01:00
Riccardo Giorato 3731e3f476 initial commit with Youssef work 2025-12-22 20:20:39 +01:00