[GH-ISSUE #6167] [Issue]: Support custom LoRA parameters for image generation API connections #3439

Closed
opened 2026-10-21 06:03:08 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Image generation API connections need a way to accept custom request parameters, including one or more LoRA configurations. The requester notes that text connections already provide a similar extra-parameters area.

Expected behavior

The image generation connections page should provide a custom-parameters field or JSON block that is included in API image requests, allowing users to configure LoRA parameters such as URL and strength.

Actual behavior

There is no reported place to configure extra parameters for image generation connections, preventing users from sending LoRA-related fields with image requests.

Steps to reproduce

  1. Open the image generation connections settings.
  2. Configure or edit an API image-generation connection.
  3. Look for a custom or extra-parameters field comparable to the one available for text connections.
  4. Attempt to add LoRA parameters such as lora_url_1 and lora_scale_1.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in Discord context.

Additional context

The requester provided example fields from the Nano API reference: lora_url_1 (HTTPS URL of a compatible LoRA weights file) and lora_scale_1 (strength, default 1, range 0–4). Marinara indicated that custom parameters would be allowed in image-generation connection settings.

Discord thread: LoRA support for API
Discord thread link: https://discord.com/channels/1417099416812392641/1548730127947399339
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (7 messages)
[2026-09-13T16:20:36.517Z] ionstorm66: Some APIs support sending one or more LoRA with the API image request. Would be nice to have a spot on the image generation connections page to put in extra parameters, like there is for text connections.
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548730127947399339]

[2026-09-13T16:20:37.235Z] 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/1548730127947399339/1548730130958913558]

[2026-09-13T16:24:29.053Z] Marinara: I know nothing of this, needs docs.
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548731103274082426]

[2026-09-13T16:32:35.004Z] ionstorm66: its just an extra json block in the request.
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733141500301425]

[2026-09-13T16:32:37.363Z] ionstorm66: `    "lora_url_1": {
      "label": "LoRA 1 URL",
      "type": "string",
      "default": "",
      "description": "HTTPS URL of a compatible LoRA weights file.",
      "pricing_relevant": false
    },
    "lora_scale_1": {
      "label": "LoRA 1 strength",
      "type": "number",
      "default": 1,
      "step": 0.1,
      "min": 0,
      "max": 4,
      "pricing_relevant": false
    },`
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733151394799748]

[2026-09-13T16:32:42.637Z] ionstorm66: from nanos api refrence
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733173515690138]

[2026-09-13T16:39:45.827Z] Marinara: Okay, I'll just allow custom parameters in Connection setting for Image Generation connections.
[Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548734948502933566]

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 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6167 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Image generation API connections need a way to accept custom request parameters, including one or more LoRA configurations. The requester notes that text connections already provide a similar extra-parameters area. ## Expected behavior The image generation connections page should provide a custom-parameters field or JSON block that is included in API image requests, allowing users to configure LoRA parameters such as URL and strength. ## Actual behavior There is no reported place to configure extra parameters for image generation connections, preventing users from sending LoRA-related fields with image requests. ## Steps to reproduce 1. Open the image generation connections settings. 2. Configure or edit an API image-generation connection. 3. Look for a custom or extra-parameters field comparable to the one available for text connections. 4. Attempt to add LoRA parameters such as lora_url_1 and lora_scale_1. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in Discord context. ## Additional context The requester provided example fields from the Nano API reference: lora_url_1 (HTTPS URL of a compatible LoRA weights file) and lora_scale_1 (strength, default 1, range 0–4). Marinara indicated that custom parameters would be allowed in image-generation connection settings. Discord thread: LoRA support for API Discord thread link: https://discord.com/channels/1417099416812392641/1548730127947399339 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (7 messages)</summary> ```text [2026-09-13T16:20:36.517Z] ionstorm66: Some APIs support sending one or more LoRA with the API image request. Would be nice to have a spot on the image generation connections page to put in extra parameters, like there is for text connections. [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548730127947399339] [2026-09-13T16:20:37.235Z] 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/1548730127947399339/1548730130958913558] [2026-09-13T16:24:29.053Z] Marinara: I know nothing of this, needs docs. [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548731103274082426] [2026-09-13T16:32:35.004Z] ionstorm66: its just an extra json block in the request. [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733141500301425] [2026-09-13T16:32:37.363Z] ionstorm66: ` "lora_url_1": { "label": "LoRA 1 URL", "type": "string", "default": "", "description": "HTTPS URL of a compatible LoRA weights file.", "pricing_relevant": false }, "lora_scale_1": { "label": "LoRA 1 strength", "type": "number", "default": 1, "step": 0.1, "min": 0, "max": 4, "pricing_relevant": false },` [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733151394799748] [2026-09-13T16:32:42.637Z] ionstorm66: from nanos api refrence [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548733173515690138] [2026-09-13T16:39:45.827Z] Marinara: Okay, I'll just allow custom parameters in Connection setting for Image Generation connections. [Discord message: https://discord.com/channels/1417099416812392641/1548730127947399339/1548734948502933566] ``` </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:03:08 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 13, 2026):

Codex is addressing this report on behalf of @SpicyMarinara in draft PR #6168 as part of the requested issue sweep. I will verify the reported path against staging and preserve existing behavior outside the narrow fix.

<!-- gh-comment-id:5654635295 --> @SpicyMarinara commented on GitHub (Sep 13, 2026): Codex is addressing this report on behalf of @SpicyMarinara in draft PR #6168 as part of the requested issue sweep. I will verify the reported path against staging and preserve existing behavior outside the narrow fix.
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#3439
No description provided.