Commit graph

86 commits

Author SHA1 Message Date
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
sudipnext
7660379b7d feat: enhance image handling in FastAPI and Next.js with web-safe URLs 2026-03-13 13:34:25 +05:45
shiva raj badu
28f2b18e06
feat: completed theme & custom theme UI 2026-03-03 10:50:11 +05:45
shiva raj badu
ef078d57d2
feat: add theme management endpoints, integrate color palette generation and UI implementation 2026-03-02 23:15:15 +05:45
sudipnext
d2e85a8ffa feat: implement Codex OAuth flow and integrate into application
- Added Codex authentication endpoints and logic for OAuth flow.
- Updated Docker configuration to expose port 1455 for Codex callback.
- Enhanced user configuration model to include Codex-related fields.
- Integrated Codex selection into the LLM provider UI.
- Implemented token management and refresh logic for Codex.
- Added utility functions for handling Codex OAuth tokens and state management.
2026-02-24 18:51:35 +05:45
sauravniraula
908bea18b5
feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
shiva raj badu
ea8db1bfdd
feat: replace local image provider with ComfyUI configuration in environment variables and user settings 2025-12-18 22:42:53 +05:45
shiva raj badu
e72cea3655
feat: integrate ComfyUI workflow for local image generation 2025-12-17 21:04:32 +05:45
shiva raj badu
c34fb75302
feat: local image provider 2025-12-15 19:12:34 +05:45
sauravniraula
bcf8dabbed
feat: adds option to disable image generation for slides 2025-11-28 00:27:54 +05:45
sauravniraula
f773e0a66d
feat(fastapi): adds trigger_webhook option in generate request 2025-09-17 14:54:12 +05:45
sauravniraula
60f030abf7
chore(fastapi): refactor webhook id to use different format 2025-09-16 18:06:59 +05:45
Saurav Niraula
527d3eb890
Merge branch 'main' into feat/mock-endpoints 2025-09-16 17:36:07 +05:45
Saurav Niraula
e8af94d4a5
Merge pull request #293 from presenton/feat/webhook-support
feat(fastapi): adds webhook support which lets you listen to events
2025-09-16 17:34:55 +05:45
sauravniraula
8ba149c6f0
feat(fastapi): adds mock endpoints for webhook events 2025-09-16 17:33:34 +05:45
sauravniraula
b964e2d9e1
feat(fastapi): adds webhook support which lets you listen to events 2025-09-16 17:31:22 +05:45
sauravniraula
32e91732ad
feat(fastapi): adds async endpoint for presentation generation and status check 2025-09-16 17:27:04 +05:45
sauravniraula
cc78faea73
fix(fastapi): /edit, /derive and /export endpoints 2025-09-12 02:27:59 +05:45
sauravniraula
f80a278c34
feat: use new endpoints in UI 2025-09-07 22:32:25 +05:45
sauravniraula
a992f40077
feat: adds table of contents, title slide, web search options in both UI and API Endpoints 2025-09-07 22:06:22 +05:45
sauravniraula
0c5c53e24c
perf: makes update endpoint flexible and reduces updates 2025-09-03 21:35:18 +05:45
sauravniraula
b56e01a3c0
fix: ollama pull status sql table 2025-09-01 14:31:07 +05:45
shiva raj badu
c5b465eb02
feat: implement image upload, retrieval & deletetion endpoints, Also implemented on Nextjs 2025-08-29 20:04:18 +05:45
sauravniraula
614948887f
feat: adds tone, verbosity and refactors tables 2025-08-29 10:52:34 +05:45
sauravniraula
5ec4144f9f
feat: adds content and instruction on UI endpoints 2025-08-28 20:35:27 +05:45
sauravniraula
6fa63c8ece
feat: documents support in API 2025-08-28 18:31:57 +05:45
Suraj Jha
3c9a4f9ce8
update: simplify mcp 2025-08-17 23:16:26 +05:45
sauravniraula
29841bdd06
feat(fastapi): adds logic to generate speaker notes and slide note support in export 2025-08-12 16:18:57 +05:45
sauravniraula
362af45189
fix(fastapi): solves issue on PPTX export where markdown content was not correctly parsed 2025-08-12 13:10:29 +05:45
sauravniraula
816a62a04a
fix(fastapi): solves malformed function call from google on ResponseSchema function call 2025-08-11 20:55:25 +05:45
sauravniraula
56cd69a8b6
fix: division by zero, no paragraphs in text box model and elements with 0 width or height issue solved 2025-08-10 17:52:52 +05:45
Suraj Jha
2cd5eef92f
feat: upload fonts to slide and be able to retrieve deduplicated list for all in template 2025-08-10 00:55:25 +05:45
Suraj Jha
68bb4bae3a
Merge main into pdf-pptx-layout 2025-08-09 15:36:43 +05:45
sauravniraula
52215bb7e7
style: remove ollama icons 2025-08-09 03:47:52 +05:45
sauravniraula
3f523f1491
refactor: removes redis service and env variables, fix(fastapi): user config bool env variables issues, parse tool fix for custom llm on tool call structured output 2025-08-09 03:03:13 +05:45
sauravniraula
dc62eb72d1
feat(fastapi): adds anthropic web search, fix(fastapi): llm messages to system and user message 2025-08-09 01:36:16 +05:45
sauravniraula
84fd0dee1a
feat(fastapi): adds tool calls support for anthropic generate 2025-08-08 09:06:05 +05:45
sauravniraula
49342e7c3c
feat(fastapi): adds tools support for openai and google generate and stream 2025-08-08 08:01:15 +05:45
sauravniraula
5030908974
feat(fastapi): generate and stream implementation for openai with agentic behavior 2025-08-08 02:49:51 +05:45
sauravniraula
a3e81da767
feat(fastapi): adding llm agent that supports tool calls and handling 2025-08-07 04:44:39 +05:45
sauravniraula
09f648dc5b
fix(fastapi): uses SlideOutlineModel to wrap slide outline, to fix json repair issue 2025-08-06 21:53:40 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
sauravniraula
3b4c38923c
chore(ollama): removes description of graph support for ollama models 2025-08-05 17:23:07 +05:45
sauravniraula
ec9104c91c
refactor(fastapi): removes redis and uses sqlite to store background task status 2025-08-04 21:56:48 +05:45
sauravniraula
c982e4b709
refactor: removes redis and uses sqlite to store background tasks status 2025-08-04 17:32:25 +05:45
sauravniraula
c599aa15e4
feat: adds options to select between tool calls/json schema and enable disable thinking for custom models 2025-08-04 14:50:55 +05:45
sauravniraula
ca72a652ee
feat(fastapi): changes presentation generation flow for documents to chunk it and extract as outlines 2025-08-03 20:14:53 +05:45
Suraj Jha
0413ee26d4 fix: reformatted for better conversion to react, add fonts to layout 2025-08-01 22:53:22 +05:45
Suraj Jha
ff2977d2a0 feat: add endpoints to save and retrieve generated layouts 2025-08-01 13:44:20 +05:45
sauravniraula
e542fdf869
feat(fastapi): adds strict support for every schemas, proper models check, refactor 2025-08-01 00:15:03 +05:45