[GH-ISSUE #5861] [Issue]: Illustrator sends an out-of-range height of 1536 to Flux2Pro #3234

Closed
opened 2026-10-21 06:00:53 +07:00 by bsakaguchi · 2 comments
Owner

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

  1. Use Illustrator version 1.0.4 to start an image generation request with Flux2Pro.
  2. Observe that the request is sent with height 1536 and fails validation because the maximum supported height is 1440.
  3. Change the Noodle resolution from 1024x1536 to 1024x1024 and retry the generation.
  4. Observe that the error referencing height 1536 still occurs.

Environment

  • Marinara Engine version: 2.4.5+ec6e8ed31a72
  • Install type: Not provided
  • OS + version: Server: Windows 10.0.26200 (x64); Client: Windows 10.0
  • Browser or app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36

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)
[2026-09-04T18:33:18.962Z] Taelynn Azmiir: ` ` `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]\n For further information visit https://errors.pydantic.dev/2.11/v/less_than_equal"}. Use Retry Failed Agents in the Agents menu to try again.` ` `

The only place that number exists anywhere is a Noodle thing that sets it to 1024x1536... but I've even CHANGED that to 1024z1024 and still getting the issue... and also running into it with models that allow MUCH LARGER!!!

[attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545502034218844271/image.png?ex=6a9d092e&is=6a9bb7ae&hm=d07aa9b6c65b17b2fd77399a48c628105445cf6a4d5006b5b4e240c3253a0095&]
[attached image 2: https://cdn.discordapp.com/attachments/1545502034072051752/1545502034525163540/image.png?ex=6a9d092f&is=6a9bb7af&hm=09b6fab7d031a7723e34e317cd8677397bf0fb5a190e3165e5246175b3db570e&]
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502034072051752]

[2026-09-04T18:33:20.006Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502038450896966]

[2026-09-04T18:33:23.742Z] Taelynn Azmiir: (no text content)

[attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545502053848187040/image.png?ex=6a9d0933&is=6a9bb7b3&hm=9310c7d63ba18f8ed70791cb4801d9fc23e8dea41c11aa97bbf21123a0d3af85&]
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502054120824902]

[2026-09-04T18:37:00.212Z] Taelynn Azmiir: also... support diagnostics come from teh client not the host... but here you go?

` ` `Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+ec6e8ed31a72
Commit: ec6e8ed31a72
Server OS: Windows 10.0.26200 (x64)
Server memory: heap 428.8 / 4288 MiB; RSS 784.5 MiB
Background wake lock: not reported
Last detected freeze: none detected
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
GPU: ANGLE (NVIDIA, NVIDIA Quadro P400 (0x00001CB3) Direct3D11 vs_5_0 ps_5_0, D3D11)
Active connection: NanoGPT 2
Connection provider: nanogpt
LLM model: zai-org/glm-5.2:thinking
Mari last acted on: none recorded this session` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502962061803640]

[2026-09-04T18:37:13.466Z] Taelynn Azmiir: but none of that matters, since it's hosted by a server which I can only access at home
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503017652985947]

[2026-09-04T18:38:06.128Z] Taelynn Azmiir: (no text content)

[attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545503238206390362/image.png?ex=6a9d0a4e&is=6a9bb8ce&hm=ab825d01b39fdab2d74a03f8be1d040585e4b9ac5b226e2eebc0982e190fd668&]
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503238533677076]

[2026-09-04T18:38:09.955Z] Taelynn Azmiir: for illustrator version
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503254585151548]

[2026-09-04T18:38:15.254Z] Taelynn Azmiir: 1.0.4
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503276810772501]

[2026-09-04T18:38:43.958Z] Taelynn Azmiir: should I add this to issues?
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503397204070491]

[2026-09-04T18:41:03.070Z] Taelynn Azmiir: it's kind of funny and annoying since I can use their direct systems to go pretty big, but I do not feel a reason to big
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503980682223667]

[2026-09-04T18:41:22.012Z] Taelynn Azmiir: aspect ratio is more important than resolution, to get the shape for the thing...
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545504060130725949]

[2026-09-04T18:42:19.574Z] Taelynn Azmiir: then you can set a "max dimension" or something (maybe maximum allowed width in pixels and maximum allowed height in pixels, and then ratio for W:H?)
[Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545504301563125781]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
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 1. Use Illustrator version 1.0.4 to start an image generation request with Flux2Pro. 2. Observe that the request is sent with height 1536 and fails validation because the maximum supported height is 1440. 3. Change the Noodle resolution from 1024x1536 to 1024x1024 and retry the generation. 4. Observe that the error referencing height 1536 still occurs. ## Environment - Marinara Engine version: 2.4.5+ec6e8ed31a72 - Install type: Not provided - OS + version: Server: Windows 10.0.26200 (x64); Client: Windows 10.0 - Browser or app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 ## 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) <details> <summary>Discord thread transcript (12 messages)</summary> ```text [2026-09-04T18:33:18.962Z] Taelynn Azmiir: ` ` `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]\n For further information visit https://errors.pydantic.dev/2.11/v/less_than_equal"}. Use Retry Failed Agents in the Agents menu to try again.` ` ` The only place that number exists anywhere is a Noodle thing that sets it to 1024x1536... but I've even CHANGED that to 1024z1024 and still getting the issue... and also running into it with models that allow MUCH LARGER!!! [attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545502034218844271/image.png?ex=6a9d092e&is=6a9bb7ae&hm=d07aa9b6c65b17b2fd77399a48c628105445cf6a4d5006b5b4e240c3253a0095&] [attached image 2: https://cdn.discordapp.com/attachments/1545502034072051752/1545502034525163540/image.png?ex=6a9d092f&is=6a9bb7af&hm=09b6fab7d031a7723e34e317cd8677397bf0fb5a190e3165e5246175b3db570e&] [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502034072051752] [2026-09-04T18:33:20.006Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502038450896966] [2026-09-04T18:33:23.742Z] Taelynn Azmiir: (no text content) [attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545502053848187040/image.png?ex=6a9d0933&is=6a9bb7b3&hm=9310c7d63ba18f8ed70791cb4801d9fc23e8dea41c11aa97bbf21123a0d3af85&] [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502054120824902] [2026-09-04T18:37:00.212Z] Taelynn Azmiir: also... support diagnostics come from teh client not the host... but here you go? ` ` `Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+ec6e8ed31a72 Commit: ec6e8ed31a72 Server OS: Windows 10.0.26200 (x64) Server memory: heap 428.8 / 4288 MiB; RSS 784.5 MiB Background wake lock: not reported Last detected freeze: none detected Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 GPU: ANGLE (NVIDIA, NVIDIA Quadro P400 (0x00001CB3) Direct3D11 vs_5_0 ps_5_0, D3D11) Active connection: NanoGPT 2 Connection provider: nanogpt LLM model: zai-org/glm-5.2:thinking Mari last acted on: none recorded this session` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545502962061803640] [2026-09-04T18:37:13.466Z] Taelynn Azmiir: but none of that matters, since it's hosted by a server which I can only access at home [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503017652985947] [2026-09-04T18:38:06.128Z] Taelynn Azmiir: (no text content) [attached image 1: https://cdn.discordapp.com/attachments/1545502034072051752/1545503238206390362/image.png?ex=6a9d0a4e&is=6a9bb8ce&hm=ab825d01b39fdab2d74a03f8be1d040585e4b9ac5b226e2eebc0982e190fd668&] [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503238533677076] [2026-09-04T18:38:09.955Z] Taelynn Azmiir: for illustrator version [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503254585151548] [2026-09-04T18:38:15.254Z] Taelynn Azmiir: 1.0.4 [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503276810772501] [2026-09-04T18:38:43.958Z] Taelynn Azmiir: should I add this to issues? [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503397204070491] [2026-09-04T18:41:03.070Z] Taelynn Azmiir: it's kind of funny and annoying since I can use their direct systems to go pretty big, but I do not feel a reason to big [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545503980682223667] [2026-09-04T18:41:22.012Z] Taelynn Azmiir: aspect ratio is more important than resolution, to get the shape for the thing... [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545504060130725949] [2026-09-04T18:42:19.574Z] Taelynn Azmiir: then you can set a "max dimension" or something (maybe maximum allowed width in pixels and maximum allowed height in pixels, and then ratio for W:H?) [Discord message: https://discord.com/channels/1417099416812392641/1545502034072051752/1545504301563125781] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:00:53 +07:00
Author
Owner

@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.

<!-- gh-comment-id:5551229922 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:5552144795 --> @SpicyMarinara commented on GitHub (Sep 5, 2026): Completed on staging in #5865 (merge 314a71a5862f120284bb24014e401e226be79866). 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3234
No description provided.