mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8022] [Issue]: NanoBanana 2.1 avatar generation fails with HTTP 400 #7524
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7524
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8022
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Generating an avatar on Marinara staging with NanoGPT's NanoBanana 2.1 fails because the request uses an unsupported size format and omits the aspect ratio.
Expected behavior
Marinara should send a size of "1k" or "2k" and an aspect_ratio derived from the requested dimensions, allowing NanoBanana 2.1 to generate the avatar.
Actual behavior
The request sends size: "1024x1024" without aspect_ratio, and the provider returns HTTP 400: “Nano Banana 2.1 supports 1K or 2K resolution.”
Steps to reproduce
Environment
Logs, screenshots, or video
HTTP 400: “Nano Banana 2.1 supports 1K or 2K resolution.”
Additional context
The reporter tested a change using size: "1k" and aspect_ratio: "1:1", which succeeded. The issue was tested only with NanoGPT; support or behavior with other providers is unknown. Marinara staff noted that the model does not have official support.
Discord thread: Can't generate avatars with NanoBanana 2.1
Discord thread link: https://discord.com/channels/1417099416812392641/1562553600217976882
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (4 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 21, 2026):
Codex is handling this issue in the maintainer's assigned-issue sweep, on
fix/assigned-issue-sweep-20261022, targetingstaging. Existing contributor PRs are excluded from this sweep. Ownership: @SpicyMarinara, assisted by Codex.@SpicyMarinara commented on GitHub (Oct 21, 2026):
Implemented in #8027 and merged into
stagingat 4d67fe75b3. Reviewed-head and merge ancestry are verified.NanoGPT’s advertised
nano-banana-2.1model now receives supported1k/2ktiers and an aspect ratio derived from the requested dimensions. The transport regression reproduces the old HTTP 400 and passes with the fix, including controls for other models/providers and explicit custom overrides. No paid live generation is claimed.Final PR-head validation passed all eight required checks, 973/973 Node regressions and all ten platform checks; review findings were fixed or resolved with documented reasons. Closing as completed.