[GH-ISSUE #3769] [Issue]: ComfyUI workflow fails with Marinara Engine 1x1 placeholder image #2031

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The 1x1 transparent placeholder image created by Marinara Engine causes ComfyUI v0.28.0 workflows to fail. Replacing the placeholder with a 16x16 transparent image resolves the issue.

Expected behavior

ComfyUI workflows should accept and process the placeholder image generated by Marinara Engine.

Actual behavior

The workflow fails with Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders when using the Marinara Engine placeholder image.

Steps to reproduce

  1. Run Marinara Engine v2.3.3 on Windows 11 with ComfyUI v0.28.0.
  2. Use the placeholder image generated from COMFYUI_PLACEHOLDER_REFERENCE_BASE64 in packages/server/src/services/image/image-generation.ts.
  3. Run a ComfyUI workflow that processes the placeholder image.
  4. Observe the fillborders input-pad configuration error and workflow failure.

Environment

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

Logs, screenshots, or video

Error: Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders. Original non-working base64: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+/p9sAAAAASUVORK5CYII=. No screenshots or video provided.

Additional context

Replacing COMFYUI_PLACEHOLDER_REFERENCE_BASE64 with a 16x16 transparent image resolved the issue. Working base64: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCA1LjEuMTITAUd0AAAAuGVYSWZJSSoACAAAAAUAGgEFAAEAAABKAAAAGwEFAAEAAABSAAAAKAEDAAEAAAACAAAAMQECABEAAABaAAAAaYcEAAEAAABsAAAAAAAAAGAAAAABAAAAYAAAAAEAAABQYWludC5ORVQgNS4xLjEyAAADAACQBwAEAAAAMDIzMAGhAwABAAAAAQAAAAWgBAABAAAAlgAAAAAAAAACAAEAAgAEAAAAUjk4AAIABwAEAAAAMDEwMAAAAADZp5qVybcLXwAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==.

Discord thread: ComfyUI 1x1 Placeholder Image Workflow Error
Discord thread link: https://discord.com/channels/1417099416812392641/1527782553442848802
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-17T21:02:25.568Z] Starcitsura: Using ComfyUI v0.28.0 and the placeholder image created by Marinara Engine causes the workflow to fail:
`Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders`

I replaced `COMFYUI_PLACEHOLDER_REFERENCE_BASE64` from `packages/server/src/services/image/image-generation.ts` with a 16x16 transparent image and this resolved the issue.

Original (Non Working) Base64: `iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+/p9sAAAAASUVORK5CYII=`
Working Base64:
`iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCA1LjEuMTITAUd0AAAAuGVYSWZJSSoACAAAAAUAGgEFAAEAAABKAAAAGwEFAAEAAABSAAAAKAEDAAEAAAACAAAAMQECABEAAABaAAAAaYcEAAEAAABsAAAAAAAAAGAAAAABAAAAYAAAAAEAAABQYWludC5ORVQgNS4xLjEyAAADAACQBwAEAAAAMDIzMAGgAwABAAAAAQAAAAWgBAABAAAAlgAAAAAAAAACAAEAAgAEAAAAUjk4AAIABwAEAAAAMDEwMAAAAADZp5qVybcLXwAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==`

I'm not sure it is relevant, but I am running on Windows 11, ME v2.3.3.
[Discord message: https://discord.com/channels/1417099416812392641/1527782553442848802/1527782553442848802]

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 (Jul 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3769 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The 1x1 transparent placeholder image created by Marinara Engine causes ComfyUI v0.28.0 workflows to fail. Replacing the placeholder with a 16x16 transparent image resolves the issue. ## Expected behavior ComfyUI workflows should accept and process the placeholder image generated by Marinara Engine. ## Actual behavior The workflow fails with `Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders` when using the Marinara Engine placeholder image. ## Steps to reproduce 1. Run Marinara Engine v2.3.3 on Windows 11 with ComfyUI v0.28.0. 2. Use the placeholder image generated from `COMFYUI_PLACEHOLDER_REFERENCE_BASE64` in `packages/server/src/services/image/image-generation.ts`. 3. Run a ComfyUI workflow that processes the placeholder image. 4. Observe the `fillborders` input-pad configuration error and workflow failure. ## Environment - Marinara Engine version: 2.3.3 - Install type: Not provided - OS + version: Windows 11 - Browser or app shell: Not provided ## Logs, screenshots, or video Error: `Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders`. Original non-working base64: `iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+/p9sAAAAASUVORK5CYII=`. No screenshots or video provided. ## Additional context Replacing `COMFYUI_PLACEHOLDER_REFERENCE_BASE64` with a 16x16 transparent image resolved the issue. Working base64: `iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCA1LjEuMTITAUd0AAAAuGVYSWZJSSoACAAAAAUAGgEFAAEAAABKAAAAGwEFAAEAAABSAAAAKAEDAAEAAAACAAAAMQECABEAAABaAAAAaYcEAAEAAABsAAAAAAAAAGAAAAABAAAAYAAAAAEAAABQYWludC5ORVQgNS4xLjEyAAADAACQBwAEAAAAMDIzMAGhAwABAAAAAQAAAAWgBAABAAAAlgAAAAAAAAACAAEAAgAEAAAAUjk4AAIABwAEAAAAMDEwMAAAAADZp5qVybcLXwAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==`. Discord thread: ComfyUI 1x1 Placeholder Image Workflow Error Discord thread link: https://discord.com/channels/1417099416812392641/1527782553442848802 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-17T21:02:25.568Z] Starcitsura: Using ComfyUI v0.28.0 and the placeholder image created by Marinara Engine causes the workflow to fail: `Invalid argument returned 22; last error log: [fillborders] Failed to configure input pad on fillborders` I replaced `COMFYUI_PLACEHOLDER_REFERENCE_BASE64` from `packages/server/src/services/image/image-generation.ts` with a 16x16 transparent image and this resolved the issue. Original (Non Working) Base64: `iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+/p9sAAAAASUVORK5CYII=` Working Base64: `iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCA1LjEuMTITAUd0AAAAuGVYSWZJSSoACAAAAAUAGgEFAAEAAABKAAAAGwEFAAEAAABSAAAAKAEDAAEAAAACAAAAMQECABEAAABaAAAAaYcEAAEAAABsAAAAAAAAAGAAAAABAAAAYAAAAAEAAABQYWludC5ORVQgNS4xLjEyAAADAACQBwAEAAAAMDIzMAGgAwABAAAAAQAAAAWgBAABAAAAlgAAAAAAAAACAAEAAgAEAAAAUjk4AAIABwAEAAAAMDEwMAAAAADZp5qVybcLXwAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==` I'm not sure it is relevant, but I am running on Windows 11, ME v2.3.3. [Discord message: https://discord.com/channels/1417099416812392641/1527782553442848802/1527782553442848802] ``` </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 05:44:45 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 18, 2026):

Addressed in #3775. The PR is ready for review, all required CI checks are green, and CodeRabbit feedback has been applied.

<!-- gh-comment-id:5010867330 --> @SpicyMarinara commented on GitHub (Jul 18, 2026): Addressed in #3775. The PR is ready for review, all required CI checks are green, and CodeRabbit feedback has been applied.
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#2031
No description provided.