mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6465] [CLOSED] feat: add MuAPI image generation service #7189
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#7189
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6465
Author: @Anil-matcha
Created: 9/20/2026
Status: ❌ Closed
Base:
staging← Head:add-muapi-image-provider📝 Commits (1)
ee323d4feat: add MuAPI image generation service📊 Changes
10 files changed (+201 additions, -27 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/connections/providers-reference.md(+1 -1)📝
docs/media/image-providers.md(+5 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+25 -23)📝
packages/client/src/localization/locales/en.json(+3 -0)📝
packages/server/src/routes/connections.routes.ts(+30 -0)📝
packages/server/src/services/image/image-generation.ts(+34 -3)➕
packages/server/src/services/image/muapi-image.ts(+64 -0)📝
packages/shared/src/constants/model-lists.ts(+9 -0)➕
scripts/regressions/muapi-image.regression.ts(+28 -0)📄 Description
Linked issue
Closes #6464
Why this change
Marinara has several hosted image backends, but MuAPI users cannot select MuAPI as a first-class image service or discover the image models available to their account. The integration follows MuAPI's documented OpenAI-compatible image contract and keeps the initial change limited to text-to-image generation.
What changed
https://api.muapi.ai/v1base URL and API-key link.GET /v1/models.POST /v1/images/generations, preserving custom JSON parameters and Marinara's existing image-result safety checks.Validation
node scripts/run-regressions.mjs --filter scripts/regressions/muapi-image.regression.tscorepack pnpm check:e2e-typescorepack pnpm --filter @marinara-engine/server lintcorepack pnpm --filter @marinara-engine/client lintCONTRIBUTING.mdManual verification notes
The automated checks above passed. A live MuAPI generation request, Docker run, and interactive browser session were not performed; no paid provider request was made.
Docs and release impact
docs-i18nbranch updated or a follow-up issue openedUI evidence
The UI change adds the provider to the existing service picker and API-key link path; no new layout or visual component was introduced. The client production build and lint/type checks passed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.