Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed report. Two things are going on, and the second is why you got 1365x768:

  1. The schema limits the sizes. The size enum was written for gpt-image-1, so the model can't send 3840x2160. It falls back to auto or one of the listed sizes. #15904 replaces the enum with a WIDTHxHEIGHT (or auto) pattern for both image generation and editing. The image API then decides which dimensions your model accepts.

  2. LibreChat resizes generated images when it saves them. By default, generated images are downscaled to a 768px short side, and 16:9 at that height is exactly 1365x768. So that's our resize on save, not what the API returned.

Workaround for the resize (works today): keep t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oliver-31415
Comment options

Answer selected by kazukata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants