presenton/servers/nextjs/app
Christopher Quenneville f2703ec003 feat: add Open WebUI as image generation provider
Add native support for Open WebUI's image generation API as a new
image provider option. Open WebUI exposes an OpenAI-like
/v1/images/generations endpoint but with key differences that
require special handling:

- Response is a bare JSON array instead of {"data": [...]}
- Image URLs are relative paths (e.g. /api/v1/files/.../content)
- File downloads require the same Bearer auth token

The implementation uses raw HTTP calls via aiohttp rather than the
OpenAI SDK to handle these differences. No model parameter is sent
since Open WebUI manages the image model in its own admin settings.

Backend changes:
- New OPEN_WEBUI enum value in ImageProvider
- generate_image_open_webui() method in ImageGenerationService
- Environment getters/setters for OPEN_WEBUI_IMAGE_URL and
  OPEN_WEBUI_IMAGE_API_KEY
- UserConfig model and config loading/saving pipeline updated

Frontend changes:
- New "Open WebUI" option in image provider dropdown
- Settings UI with URL and optional API key fields
- Validation, field mappings, and config persistence

Docker:
- OPEN_WEBUI_IMAGE_URL and OPEN_WEBUI_IMAGE_API_KEY added to all
  docker-compose service definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 12:27:45 -05:00
..
(presentation-generator) feat: add Open WebUI as image generation provider 2026-04-05 12:27:45 -05:00
api feat: add Open WebUI as image generation provider 2026-04-05 12:27:45 -05:00
fonts user_config in setting & fonts removed 2025-05-12 17:16:58 +05:45
hooks feat: New Templates and refactor template loading approach 2026-02-11 14:39:30 +05:45
presentation-templates feat: Providers logs and UI display 2026-04-02 12:51:36 +05:45
schema feat: New Templates and refactor template loading approach 2026-02-11 14:39:30 +05:45
apple-icon.png feat: favicon & apple-icons 2025-09-11 21:22:51 +05:45
ConfigurationInitializer.tsx feat: OnBoarding two pages design 2026-03-04 00:32:14 +05:45
favicon.ico feat: favicon & apple-icons 2025-09-11 21:22:51 +05:45
globals.css feat: update font usage across components to include Syne and Unbounded, enhancing typography consistency 2026-03-04 11:44:10 +05:45
icon1.svg feat: favicon & apple-icons 2025-09-11 21:22:51 +05:45
icon2.png feat: favicon & apple-icons 2025-09-11 21:22:51 +05:45
layout.tsx feat: update font usage across components to include Syne and Unbounded, enhancing typography consistency 2026-03-04 11:44:10 +05:45
loading.tsx style(nextjs): makes outline page look better and changes loading shimmer for Home and Settings to match the actual layout 2025-07-23 19:25:10 +05:45
MixpanelInitializer.tsx fix(nextjs): changes some event names and removes search query from button click event 2025-08-13 13:21:43 +05:45
not-found.tsx user_config in setting & fonts removed 2025-05-12 17:16:58 +05:45
page.tsx fix(nextjs): Auto save before slide rendered & some layout issues 2025-07-24 14:12:51 +05:45
providers.tsx refactor: Seperate layouts.tsx for schema & rest of routes 2025-08-05 19:48:11 +05:45