mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #522] [Feature]: OpenRouter image generation #238
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#238
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 @lyssieth on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/522
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Allow using OpenRouter as a source of image generation
Proposed solution
Implement OpenRouter's API for image generation
Alternatives considered
It doesn't work through the OpenAI option currently available, and self-hosting proved lacking.
Additional context
I have seen #249, but since that died I'd like to make an issue to formalize the request :3
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 8, 2026):
Triage note: labeling this as
normal-scopebecause OpenRouter image generation is a focused provider addition for an existing image-generation workflow, rather than a new product area.This can stay in the normal enhancement backlog, with the first slice routed through the existing image provider flow instead of creating a parallel generation workflow.
@SpicyMarinara commented on GitHub (May 10, 2026):
Sure.
@SpicyMarinara commented on GitHub (May 10, 2026):
Implemented in the local v1.5.9 issue sweep.
image_generationservice option./chat/completionswith image modalities, matching OpenRouter’s image-generation API.message.images[].image_url.urldata URLs, with the existing markdown/URL fallback still supported./models?output_modalities=image.CHANGELOG.md.Validation:
pnpm --filter @marinara-engine/server exec tsx --import ./test/setup-env.ts --test test/image-generation-local.test.tspnpm --filter @marinara-engine/server lint.@lyssieth commented on GitHub (May 10, 2026):
Thanks! <3