Skip to content

Add image editing for custom openai setups#96

Merged
theboxer merged 1 commit intomodxcms:mainfrom
Sterc:main
Apr 1, 2026
Merged

Add image editing for custom openai setups#96
theboxer merged 1 commit intomodxcms:mainfrom
Sterc:main

Conversation

@joeke
Copy link
Copy Markdown
Contributor

@joeke joeke commented Mar 27, 2026

This adds the switching between image generation and image editing when using the custom (openai) endpoints. Based on the same solution as used in the main OpenAI service class. When there is an image included in the prompt in modAI, it will switch over to the images/edits endpoint. By default it will use the images/generations endpoint.

@theboxer theboxer merged commit 90652cf into modxcms:main Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants