[GH-ISSUE #7751] [Issue]: Illustrate commands skip NovelAI character captions and ignore the avatar reference switch #4276

Closed
opened 2026-10-21 06:13:59 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ylli-selmani on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7751

Originally assigned to: @ylli-selmani on GitHub.

Summary

Roleplay [illustrate: ...] commands write a weaker image prompt than the Illustration button. On a NovelAI connection they never get the per-character caption rules, and naming characters in the command forces avatar references even when the chat's reference switch is off.

Expected behavior

An illustrate command should write its prompt the same way as the Illustration button:

  • On NovelAI V4+ it gets the <illustrator_character_prompts> rules, plus the <character_appearance_reference> block when Attach card appearance is on. The writer can then return characterPrompts.
  • It sends reference images only when the chat's avatar reference switch is on.

Actual behavior

  • The command's prompt writer gets no caption instructions. The Illustration button's prompt for the same chat is about 1,000 tokens larger (6,477 vs 5,459).
  • Without characterPrompts, Attach card appearance falls back to appending flat Name's Appearance: ... lines to the image prompt.
  • A command with characters="..." always sends avatar references. NovelAI V5 then drops them (precise reference requires a V4.5 model), and the prompt can still carry the "Attached are reference images of ..." line.

Steps to reproduce

  1. Use a roleplay chat with the Illustrate command on, a NovelAI V5 image connection, Attach card appearance on and avatar references off.
  2. Let a character write [illustrate: subject="..." characters="Name"].
  3. Compare the prompt writer request and the final image prompt with a manual Illustration in the same chat.

Environment

  • Marinara Engine version: staging @ 263a92c35
  • Install type: source
  • OS + version: Windows
  • Browser or app shell: browser

Logs, screenshots, or video

[novelai] Dropping 2 reference image(s): precise reference requires a V4.5 model, got nai-diffusion-5-full

Additional context

The command path calls writeManualIllustratorPromptPlan without the characterPromptInstruction that the Illustration button route builds. The forced references come from the useAvatarRefs check in generate.routes.ts.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @ylli-selmani on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7751 Originally assigned to: @ylli-selmani on GitHub. ## Summary Roleplay `[illustrate: ...]` commands write a weaker image prompt than the Illustration button. On a NovelAI connection they never get the per-character caption rules, and naming characters in the command forces avatar references even when the chat's reference switch is off. ## Expected behavior An illustrate command should write its prompt the same way as the Illustration button: - On NovelAI V4+ it gets the `<illustrator_character_prompts>` rules, plus the `<character_appearance_reference>` block when Attach card appearance is on. The writer can then return `characterPrompts`. - It sends reference images only when the chat's avatar reference switch is on. ## Actual behavior - The command's prompt writer gets no caption instructions. The Illustration button's prompt for the same chat is about 1,000 tokens larger (6,477 vs 5,459). - Without `characterPrompts`, Attach card appearance falls back to appending flat `Name's Appearance: ...` lines to the image prompt. - A command with `characters="..."` always sends avatar references. NovelAI V5 then drops them (`precise reference requires a V4.5 model`), and the prompt can still carry the "Attached are reference images of ..." line. ## Steps to reproduce 1. Use a roleplay chat with the Illustrate command on, a NovelAI V5 image connection, Attach card appearance on and avatar references off. 2. Let a character write `[illustrate: subject="..." characters="Name"]`. 3. Compare the prompt writer request and the final image prompt with a manual Illustration in the same chat. ## Environment - Marinara Engine version: staging @ 263a92c35 - Install type: source - OS + version: Windows - Browser or app shell: browser ## Logs, screenshots, or video ``` [novelai] Dropping 2 reference image(s): precise reference requires a V4.5 model, got nai-diffusion-5-full ``` ## Additional context The command path calls `writeManualIllustratorPromptPlan` without the `characterPromptInstruction` that the Illustration button route builds. The forced references come from the `useAvatarRefs` check in `generate.routes.ts`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:13:59 +07:00
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#4276
No description provided.