mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6313] [MERGED] feat: add fal.ai image generation connections #7131
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#7131
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/6313
Author: @SpicyMarinara
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/18/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/fal-image-provider📝 Commits (3)
030c85echore: start fal image provider request6417473feat: add fal.ai image generation connectionsf61e847fix: guard fal.ai transport and single-image billing📊 Changes
12 files changed (+411 additions, -44 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
docs/media/image-providers.md(+9 -2)➕
e2e/fal-image.e2e.ts(+80 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+51 -35)📝
packages/client/src/hooks/use-connections.ts(+7 -4)📝
packages/client/src/localization/locales/en.json(+4 -0)📝
packages/server/src/routes/connections.routes.ts(+15 -0)➕
packages/server/src/services/image/fal-image.ts(+19 -0)📝
packages/server/src/services/image/image-generation.ts(+47 -0)📝
packages/shared/src/constants/model-lists.ts(+16 -0)➕
scripts/regressions/fal-image.regression.ts(+155 -0)📝
scripts/regressions/image-custom-parameters.regression.ts(+5 -3)📄 Description
Users with fal.ai credits can now select fal.ai in an image connection and generate images through their existing Marinara image workflow. The default endpoint is
https://fal.run, with FLUX.1 Schnell and Dev starter models and support for compatible custom text-to-image endpoint IDs.Closes #6312
The implementation uses native HTTP and reuses connection settings, custom parameters, debug logging, generation deadlines, cancellation and safe image downloads. API keys use fal.ai's
Keyauthentication and are not forwarded when downloading images. Remote endpoints require HTTPS; HTTP is permitted only for loopback proxies. Custom parameters cannot request extra billed images that the single-image result would discard. Test Connection validates configuration without generating an image; Test Image performs the paid generation. The setup guide explains the synchronous text-to-image boundary and model-specific options. Documentation translations are tracked in #6316 and are being prepared in #6311.Browser verification also exposed a shared auto-save race: a fast connection-test result could be cleared by the subsequent editor refresh. The update hook now awaits that refresh before starting the test.
Validation completed locally:
pnpm checkandpnpm version:check.Provider behavior follows the fal.ai authentication guide and FLUX Schnell API schema. No paid fal.ai generation or physical-device calibration was performed.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.