[GH-ISSUE #6597] [Issue]: Manual Illustrator generation ignores custom agent image prompts #3695

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Manual image generation during RP sessions does not use the custom Illustrator prompt configured for the chat agent. Automated and manual image generation therefore produce inconsistent results.

Expected behavior

Manual generation through /illustrate or the chat gallery's Illustrate action should use the custom image prompt selected in the chat agent configuration, consistent with automated image generation.

Actual behavior

Manual generation uses a generic prompt beginning with "You are the Illustrator prompt writer for a manual Gallery illustration request." It states that no selected Illustrator prompt mode or visual style profile was supplied, so the configured custom image prompt is not applied.

Steps to reproduce

  1. Configure a chat agent with a custom Illustrator image prompt.
  2. Start an RP session using that agent.
  3. Generate an image automatically and observe how the configured prompt is applied.
  4. Generate an image manually using /illustrate or the Illustrate action in the chat gallery.
  5. Compare the manual generation prompt or result with the automated generation; the manual path uses the generic prompt instead of the configured custom prompt.

Environment

  • Marinara Engine version: 2.4.6 (build 2.4.6+60ed7ec80e2f, commit 60ed7ec80e)
  • Install type: Not provided
  • OS + version: Linux 6.8.0-139-generic (x64)
  • Browser or app shell: Not provided

Logs, screenshots, or video

The manual prompt includes: "No selected Illustrator prompt mode supplied; use one coherent scene illustration" and "No visual style profile is selected." Screenshot attached in Discord: https://cdn.discordapp.com/attachments/1552499884060319844/1552499884441993236/image.png?ex=6ab5d5b0&is=6ab48430&hm=29e14b76aa447e7f366eb851870b22356fe137aa05750a95ff963327a72a6821&

Additional context

The reporter asked whether this difference was intentional. A Marinara team response stated, "They should be using those," indicating that manual generation should use the configured custom prompts. Agent version was not provided.

Discord thread: [Bug]: Illustrator Image Generator Prompt is different for manual and automated generations
Discord thread link: https://discord.com/channels/1417099416812392641/1552499884060319844
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (5 messages)
[2026-09-24T02:00:16.413Z] m;aemoifmpfmmafe: Hi,

I had been having inconsistent image generations from automated image generation and manual image generation  within RP sessions. 
Manual generations doesn't adhere to the custom image prompts chosen within the chat's agent config.

Manual image generation from /illustrate and triggering "illustrate" from the chat gallery uses the following image prompt:
'''
You are the Illustrator prompt writer for a manual Gallery illustration request.
The user already pressed Illustration. Do not decide whether to generate an image, do not discuss that decision, and do not return shouldGenerate or generateBackground fields.
Write one detailed, provider-ready prompt for an image model that depicts the most visually important current scene established by the supplied conversation.
Use the supplied character cards and user persona to keep identities, clothing, physical traits, relationships, and setting details consistent.
Name every character who should be visible in the characters array. Do not add characters who are absent from the chosen moment.
The selected Illustrator prompt mode controls the required visual format, layout, framing, text behavior, and aspect ratio. Preserve comic pages, manga pages, selfies, backgrounds, and other selected formats exactly; never collapse a requested multi-panel page into one ordinary scene.
The prompt should describe subjects, actions, expressions, environment, camera/framing, lighting, atmosphere, and important props without narrating your reasoning.
Return valid JSON only, with no markdown:
{"prompt":"detailed provider-ready image prompt","negativePrompt":"optional exclusions","style":"optional scene-specific art direction","characters":["visible names"],"aspectRatio":"portrait|landscape|square","reason":"brief description of the chosen moment"}

No selected Illustrator prompt mode supplied; use one coherent scene illustration.

No visual style profile is selected. Infer only the visual treatment supported by the scene context.
'''

[attached image 1: https://cdn.discordapp.com/attachments/1552499884060319844/1552499884441993236/image.png?ex=6ab5d5b0&is=6ab48430&hm=29e14b76aa447e7f366eb851870b22356fe137aa05750a95ff963327a72a6821&]
[Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552499884060319844]

[2026-09-24T02:00:17.408Z] 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/1552499884060319844/1552499888233775162]

[2026-09-24T02:00:45.896Z] m;aemoifmpfmmafe: Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+60ed7ec80e2f
Commit: 60ed7ec80e2f
Server OS: Linux 6.8.0-139-generic (x64)
Server memory: heap 370.2 / 4288 MiB; RSS 534.2 MiB
[Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552500007720984670]

[2026-09-24T02:14:00.973Z] m;aemoifmpfmmafe: I'm not sure, but is this intentional?
[Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552503342515757077]

[2026-09-24T07:43:40.089Z] Marinara: They should be using those.
[Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552586302141104211]

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 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6597 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Manual image generation during RP sessions does not use the custom Illustrator prompt configured for the chat agent. Automated and manual image generation therefore produce inconsistent results. ## Expected behavior Manual generation through `/illustrate` or the chat gallery's Illustrate action should use the custom image prompt selected in the chat agent configuration, consistent with automated image generation. ## Actual behavior Manual generation uses a generic prompt beginning with "You are the Illustrator prompt writer for a manual Gallery illustration request." It states that no selected Illustrator prompt mode or visual style profile was supplied, so the configured custom image prompt is not applied. ## Steps to reproduce 1. Configure a chat agent with a custom Illustrator image prompt. 2. Start an RP session using that agent. 3. Generate an image automatically and observe how the configured prompt is applied. 4. Generate an image manually using `/illustrate` or the Illustrate action in the chat gallery. 5. Compare the manual generation prompt or result with the automated generation; the manual path uses the generic prompt instead of the configured custom prompt. ## Environment - Marinara Engine version: 2.4.6 (build 2.4.6+60ed7ec80e2f, commit 60ed7ec80e2f) - Install type: Not provided - OS + version: Linux 6.8.0-139-generic (x64) - Browser or app shell: Not provided ## Logs, screenshots, or video The manual prompt includes: "No selected Illustrator prompt mode supplied; use one coherent scene illustration" and "No visual style profile is selected." Screenshot attached in Discord: https://cdn.discordapp.com/attachments/1552499884060319844/1552499884441993236/image.png?ex=6ab5d5b0&is=6ab48430&hm=29e14b76aa447e7f366eb851870b22356fe137aa05750a95ff963327a72a6821& ## Additional context The reporter asked whether this difference was intentional. A Marinara team response stated, "They should be using those," indicating that manual generation should use the configured custom prompts. Agent version was not provided. Discord thread: [Bug]: Illustrator Image Generator Prompt is different for manual and automated generations Discord thread link: https://discord.com/channels/1417099416812392641/1552499884060319844 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (5 messages)</summary> ```text [2026-09-24T02:00:16.413Z] m;aemoifmpfmmafe: Hi, I had been having inconsistent image generations from automated image generation and manual image generation within RP sessions. Manual generations doesn't adhere to the custom image prompts chosen within the chat's agent config. Manual image generation from /illustrate and triggering "illustrate" from the chat gallery uses the following image prompt: ''' You are the Illustrator prompt writer for a manual Gallery illustration request. The user already pressed Illustration. Do not decide whether to generate an image, do not discuss that decision, and do not return shouldGenerate or generateBackground fields. Write one detailed, provider-ready prompt for an image model that depicts the most visually important current scene established by the supplied conversation. Use the supplied character cards and user persona to keep identities, clothing, physical traits, relationships, and setting details consistent. Name every character who should be visible in the characters array. Do not add characters who are absent from the chosen moment. The selected Illustrator prompt mode controls the required visual format, layout, framing, text behavior, and aspect ratio. Preserve comic pages, manga pages, selfies, backgrounds, and other selected formats exactly; never collapse a requested multi-panel page into one ordinary scene. The prompt should describe subjects, actions, expressions, environment, camera/framing, lighting, atmosphere, and important props without narrating your reasoning. Return valid JSON only, with no markdown: {"prompt":"detailed provider-ready image prompt","negativePrompt":"optional exclusions","style":"optional scene-specific art direction","characters":["visible names"],"aspectRatio":"portrait|landscape|square","reason":"brief description of the chosen moment"} No selected Illustrator prompt mode supplied; use one coherent scene illustration. No visual style profile is selected. Infer only the visual treatment supported by the scene context. ''' [attached image 1: https://cdn.discordapp.com/attachments/1552499884060319844/1552499884441993236/image.png?ex=6ab5d5b0&is=6ab48430&hm=29e14b76aa447e7f366eb851870b22356fe137aa05750a95ff963327a72a6821&] [Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552499884060319844] [2026-09-24T02:00:17.408Z] 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/1552499884060319844/1552499888233775162] [2026-09-24T02:00:45.896Z] m;aemoifmpfmmafe: Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+60ed7ec80e2f Commit: 60ed7ec80e2f Server OS: Linux 6.8.0-139-generic (x64) Server memory: heap 370.2 / 4288 MiB; RSS 534.2 MiB [Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552500007720984670] [2026-09-24T02:14:00.973Z] m;aemoifmpfmmafe: I'm not sure, but is this intentional? [Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552503342515757077] [2026-09-24T07:43:40.089Z] Marinara: They should be using those. [Discord message: https://discord.com/channels/1417099416812392641/1552499884060319844/1552586302141104211] ``` </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:06:15 +07:00
Author
Owner

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

SpicyMarinara / Codex is taking this issue. I am tracing the Engine manual Illustrator prompt selection against automatic generation and will keep the fix in the owning repository, with a regression proving the selected custom prompt reaches the provider.

<!-- gh-comment-id:5812643737 --> @SpicyMarinara commented on GitHub (Sep 24, 2026): SpicyMarinara / Codex is taking this issue. I am tracing the Engine manual Illustrator prompt selection against automatic generation and will keep the fix in the owning repository, with a regression proving the selected custom prompt reaches the provider.
Author
Owner

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

Fixed and merged into staging in #6609. Manual Gallery generation and /illustrate now preserve the selected custom Illustrator prompt, apply the manual-generation contract afterward, and reject requests that exceed the configured connection context budget. Deterministic regressions, pnpm check, container smoke, and the required GitHub checks passed. The reporter’s exact custom template remains a useful optional real-provider follow-up.

<!-- gh-comment-id:5813414741 --> @SpicyMarinara commented on GitHub (Sep 24, 2026): Fixed and merged into staging in #6609. Manual Gallery generation and /illustrate now preserve the selected custom Illustrator prompt, apply the manual-generation contract afterward, and reject requests that exceed the configured connection context budget. Deterministic regressions, pnpm check, container smoke, and the required GitHub checks passed. The reporter’s exact custom template remains a useful optional real-provider follow-up.
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#3695
No description provided.