[GH-ISSUE #5833] Illustrator: send native NovelAI per-character captions with positions for roleplay illustrations #3217

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Problem

When the Illustrator's image connection is NovelAI (V4, V4.5, or V5), roleplay illustrations still send one flat base prompt. NovelAI's native per-character captions with positions are only used by the game Storyboard planner, so group scenes in roleplay leak hair, clothing, and expressions between characters even though the provider supports keeping them separate.

Two related gaps:

  • The character caption cap is a fixed 6 even on V5, which accepts 22. Ensemble scenes silently lose captions past the sixth.
  • On V5, any reference image (Maps location, avatar refs) makes the whole NovelAI illustration fail, because NovelAI has not shipped Precise Reference for V5 yet.

Proposal

  • Share the Storyboard's caption sanitizer, layout defaults, and prompt-writer rules with the Illustrator.
  • When the resolved image connection is NovelAI's own host on a V4+ model, extend the Illustrator's JSON schema with characterPrompts and forward the validated captions on the image request in the automatic, retry, and manual paths.
  • Show the captions read-only in the review-before-send dialog.
  • Make the cap model-aware (22 on V5, 6 on V4/V4.5).
  • Drop references with a warning on non-4.5 NovelAI models instead of throwing.

Owner: @stonebystone (implemented with Claude Code).

Originally created by @stonebystone on GitHub (Sep 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5833 Originally assigned to: @SpicyMarinara on GitHub. ## Problem When the Illustrator's image connection is NovelAI (V4, V4.5, or V5), roleplay illustrations still send one flat base prompt. NovelAI's native per-character captions with positions are only used by the game Storyboard planner, so group scenes in roleplay leak hair, clothing, and expressions between characters even though the provider supports keeping them separate. Two related gaps: - The character caption cap is a fixed 6 even on V5, which accepts 22. Ensemble scenes silently lose captions past the sixth. - On V5, any reference image (Maps location, avatar refs) makes the whole NovelAI illustration fail, because NovelAI has not shipped Precise Reference for V5 yet. ## Proposal - Share the Storyboard's caption sanitizer, layout defaults, and prompt-writer rules with the Illustrator. - When the resolved image connection is NovelAI's own host on a V4+ model, extend the Illustrator's JSON schema with `characterPrompts` and forward the validated captions on the image request in the automatic, retry, and manual paths. - Show the captions read-only in the review-before-send dialog. - Make the cap model-aware (22 on V5, 6 on V4/V4.5). - Drop references with a warning on non-4.5 NovelAI models instead of throwing. Owner: @stonebystone (implemented with Claude Code).
bsakaguchi 2026-10-21 06:00:41 +07:00
Author
Owner

@kolacheee commented on GitHub (Sep 4, 2026):

Please see https://github.com/Pasta-Devs/Marinara-Engine/issues/5779

It will probably take us a couple days to clone and merge your PR, just a heads up.

<!-- gh-comment-id:5541774015 --> @kolacheee commented on GitHub (Sep 4, 2026): Please see https://github.com/Pasta-Devs/Marinara-Engine/issues/5779 It will probably take us a couple days to clone and merge your PR, just a heads up.
Author
Owner

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

Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.

<!-- gh-comment-id:5644876363 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
Author
Owner

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

Fixed in #6072, merged into staging.

Illustrator now supplies native NovelAI character captions and positions through the shared Storyboard sanitizer, including manual/retry flows. V5 retains up to 22 captions, including the manual prompt roster; V4/V4.5 retain six. Tests cover validation, provider payload limits, appearance references, and manual prompt review. Contributor work from #5835 is preserved and credited; paid image generation remains a manual verification item.

<!-- gh-comment-id:5645734948 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Fixed in #6072, merged into `staging`. Illustrator now supplies native NovelAI character captions and positions through the shared Storyboard sanitizer, including manual/retry flows. V5 retains up to 22 captions, including the manual prompt roster; V4/V4.5 retain six. Tests cover validation, provider payload limits, appearance references, and manual prompt review. Contributor work from #5835 is preserved and credited; paid image generation remains a manual verification item.
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#3217
No description provided.