mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6464] [Feature]: Add MuAPI as an OpenAI-compatible image service #3619
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#3619
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 @Anil-matcha on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6464
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Marinara supports several hosted image backends, but users of MuAPI cannot select MuAPI as a first-class image service or discover the image models available to their account.
Proposed solution
https://api.muapi.ai/v1base URL.GET /v1/modelsendpoint.POST /v1/images/generations, preserve custom JSON parameters, and download URL or base64 results through Marinara's existing safety path.Scope
This is a focused provider integration. It does not change existing providers or add a separate video transport.
Verification
The implementation will include an offline regression for endpoint construction, model-response parsing, and source inference, plus the normal server/client checks. No live or billable MuAPI generation request is needed to validate the integration.
Template check
@SpicyMarinara commented on GitHub (Sep 21, 2026):
Thanks for the suggestion and the PR! We're going to decline a separate MuAPI service. We want providers using an existing supported API format to reuse that connection with a custom Base URL, rather than adding a separate provider entry and implementation for each service.
For the text-to-image scope proposed here, the existing setup is:
https://api.muapi.ai/v1and enter your MuAPI API key.flux-schnell, into the manual model field. Use a size supported by MuAPI, such as1024x1024.MuAPI documents the OpenAI-compatible image endpoint and bearer authentication. Our existing image adapter already sends that request format, supports custom JSON parameters, and handles URL or base64 image responses through the existing result path. This is the image connection, rather than the Custom OpenAI-compatible text/chat connection.
There is one shared bug worth distinguishing: Fetch Models currently omits
/modelsfor generic image connections because their configured models endpoint is empty. So manual model entry is the available route here; we should fix discovery in the shared OpenAI-compatible image path, rather than add MuAPI-specific discovery and generation branches.This assessment is based on the documented API, current staging code, and the passing local image/custom-parameters regression. No live MuAPI generation was performed. It covers text-to-image, not reference-image editing or video.
Closing this request as not planned and declining #6465. Thank you for the effort!