[GH-ISSUE #4831] [Feature]: Add per-connection GPT Image generation quality #2669

Closed
opened 2026-10-21 05:52:35 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4831

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

GPT Image connections currently provide no way to choose the output quality. GPT Image 2 therefore uses its API default instead of letting each connection balance image quality, generation time, and cost.

Proposed solution

  • Add an Image quality selector to the GPT Image Generation connection editor.
  • Offer exactly four values: Auto, Low, Medium, and High.
  • Default new and existing connections without a saved value to Auto.
  • Save the selection as part of that connection and restore it when the connection is edited again.
  • Send the selected quality value with GPT Image generation requests made through that connection, including supported reference-image/edit requests.
  • Ensure switching between connections uses the quality stored on the selected connection.
  • Do not send this GPT Image-specific parameter to providers or models that do not support it.
  • Validate the stored/requested value against the supported enum and route all new interface copy through localization.

Alternatives considered

Hard-coding high would increase cost and latency for every user. Keeping only the API default provides no per-connection control.

Additional context

Acceptance criteria:

  • The selector appears for GPT Image Generation connections and defaults to Auto.
  • Saving and reopening a connection shows its previously selected quality.
  • Requests made through that connection send the corresponding API value: auto, low, medium, or high.
  • Connections with no stored quality remain backward-compatible and behave as auto.
  • Unsupported image providers do not receive a GPT Image quality parameter.

Official parameter reference: https://developers.openai.com/api/docs/guides/image-generation

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 (Aug 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4831 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? GPT Image connections currently provide no way to choose the output quality. GPT Image 2 therefore uses its API default instead of letting each connection balance image quality, generation time, and cost. ## Proposed solution - Add an **Image quality** selector to the GPT Image Generation connection editor. - Offer exactly four values: `Auto`, `Low`, `Medium`, and `High`. - Default new and existing connections without a saved value to `Auto`. - Save the selection as part of that connection and restore it when the connection is edited again. - Send the selected `quality` value with GPT Image generation requests made through that connection, including supported reference-image/edit requests. - Ensure switching between connections uses the quality stored on the selected connection. - Do not send this GPT Image-specific parameter to providers or models that do not support it. - Validate the stored/requested value against the supported enum and route all new interface copy through localization. ## Alternatives considered Hard-coding `high` would increase cost and latency for every user. Keeping only the API default provides no per-connection control. ## Additional context Acceptance criteria: - The selector appears for GPT Image Generation connections and defaults to `Auto`. - Saving and reopening a connection shows its previously selected quality. - Requests made through that connection send the corresponding API value: `auto`, `low`, `medium`, or `high`. - Connections with no stored quality remain backward-compatible and behave as `auto`. - Unsupported image providers do not receive a GPT Image quality parameter. Official parameter reference: https://developers.openai.com/api/docs/guides/image-generation ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [x] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 10, 2026):

Resolved by #4834 and merged into staging.

<!-- gh-comment-id:5234857223 --> @SpicyMarinara commented on GitHub (Aug 10, 2026): Resolved by #4834 and merged into staging.
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#2669
No description provided.