feat: add opt-in Fal.ai image and video generation - #147
Open
sujaysuvarna wants to merge 2 commits into
Open
Conversation
sujaysuvarna
marked this pull request as ready for review
September 9, 2026 20:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We’re using OpenChatCut with an existing Fal.ai account and wanted to select
image and video models within its current workflow. This adds Fal.ai as an
explicit provider in the existing settings and agent tools. Selecting Fal.ai → Seedance 2.5 uses Fal; selecting a native
provider retains its existing credentials and request behavior.
Changes
supported controls, settings labels, and agent tool schemas.
@fal-ai/clienthandles uploads and queued inference.Model-specific validation runs before upload/submission; keys stay server-side.
the agent asks for a model and the server rejects an unspecified selection.
submit another paid generation. Results use the existing media import path.
text, screenshots, and user/extension documentation in FAL.md.
Image choices: Nano Banana 2/Pro, GPT Image 2, FLUX.2/Pro, Seedream 5 Pro,
Ideogram 4, Qwen Image 3, Recraft V3.
Video choices: Seedance 2.0/2.5, Kling 3.0 Standard/Pro, Kling O3 Standard/Pro,
Veo 3.1/Fast, Wan 3.0, MiniMax H3 Max, PixVerse V6.
Validation
npm test,npm run lint, andnpm run buildpassed on the isolated feature checkout before the live-test correction below.Screenshots
Scope and limitations
This supports the catalog's documented common inputs, not every model's full API.
Live coverage is one basic path per model (Kling 3 Standard image-to-video;
other videos text-to-video). It does not establish coverage of every edit/reference
mode, resolution, duration, or advanced option. The Fal settings page reports key presence; it does not
perform a live credential probe. Images retain the existing synchronous flow,
so users must check Fal history after an interrupted image request before retrying.
Related: #145 makes model IDs configurable for existing native providers. This
adds a separate Fal provider and adapters for its differing endpoint schemas;
it does not replace that work or claim to resolve arbitrary-model selection.