mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5861] [Issue]: Illustrator sends an out-of-range height of 1536 to Flux2Pro #3234
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3234
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5861
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Illustrator 1.0.4 sends a height of 1536 to Flux2Pro, which rejects it because the model allows a maximum height of 1440. The reported height persists even after changing the configured Noodle resolution from 1024x1536 to 1024x1024.
Expected behavior
Illustrator should use the configured image dimensions, or validate and constrain dimensions to the selected model's supported limits before submitting the generation request.
Actual behavior
Image generation fails because the request contains height 1536, exceeding Flux2Pro's maximum height of 1440. The reported 1536 value persists despite changing the Noodle configuration to 1024x1024, and similar behavior occurs with models that support larger dimensions.
Steps to reproduce
Environment
Logs, screenshots, or video
Error:
Illustrator failed: Image generation failed: OpenAI image generation failed (400): {"message":"1 validation error for Flux2Pro\nheight\n Input should be less than or equal to 1440 [type=less_than_equal, input_value=1536, input_type=int]"}. Three screenshots were attached in Discord: https://cdn.discordapp.com/attachments/1545502034072051752/1545502034218844271/image.png, https://cdn.discordapp.com/attachments/1545502034072051752/1545502034525163540/image.png, and https://cdn.discordapp.com/attachments/1545502034072051752/1545502033848187040/image.png.Additional context
Illustrator version: 1.0.4. The user reports that the issue also occurs with models allowing substantially larger dimensions. The Marinara instance is hosted on a server accessible only at home; the supplied diagnostics identify the client and server separately. Active connection: NanoGPT; provider: nanogpt; LLM model: zai-org/glm-5.2:thinking.
Discord thread: Illustrator is sending an error that it's asking for a resolution out of range (1536).
Discord thread link: https://discord.com/channels/1417099416812392641/1545502034072051752
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
Discord thread transcript (12 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 5, 2026):
Owner: @SpicyMarinara, implementation by Codex in Issue Sweep PR #5865. I have read the issue and all current comments. Work will target staging, reuse existing code, and include focused regression proof; unrelated open/draft PRs remain untouched.
@SpicyMarinara commented on GitHub (Sep 5, 2026):
Completed on staging in #5865 (merge
314a71a586).Preserved supported image dimensions and added a single bounded retry for an explicit FLUX.2 dimension-limit rejection.
Focused regression proof and manual verification boundaries are documented in the PR. Required checks and the full final regression matrix passed; CodeRabbit completed review with all threads resolved. Closing as completed on staging, not a main release.