Fal ai integration#5
Open
hkulekci wants to merge 3 commits into
Open
Conversation
Support five Fal-hosted image-to-3D models (Hunyuan3D v2, TRELLIS, TripoSR, Tripo3D v2.5, Hyper3D Rodin) selectable from the Settings drawer. Use Fal-supplied status_url and response_url for canonical queue polling, with model-specific input field names: input_image_url for Hunyuan3D, input_image_urls for Rodin, image_url for the others. Generate Mode chip row scrolls horizontally with hidden scrollbar; mouse wheel maps to horizontal scroll on desktop, touch swipe on mobile. Add Fal Model dropdown to Settings drawer. Downgrade undici to v7 so the API server runs on Node 20 (undici v8 requires markAsUncloneable which only exists on Node 22+).
Previous downgrade to v7 was a workaround for Node 20. With Node 22 the API server picks up undici v8 cleanly, restoring the latest fetch/ProxyAgent improvements.
Tripo3D v2.5 and Rodin reject inline data URLs and return 422 from the worker. Initiate a Fal storage upload, PUT the bytes, then pass the signed file_url to the model. This works for every Fal 3D model and matches the JS client's behavior.
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.
Thanks for introducing this project. I really love to play around on this. So, there is another provider as Fal.ai. I implemented it on the project which have couple of model in the same api reference.
Support five Fal-hosted image-to-3D models (Hunyuan3D v2, TRELLIS, TripoSR, Tripo3D v2.5, Hyper3D Rodin) selectable from the Settings drawer. Use Fal-supplied status_url and response_url for canonical queue polling, with model-specific input field names: input_image_url for Hunyuan3D, input_image_urls for Rodin, image_url for the others.
Generate Mode chip row scrolls horizontally with hidden scrollbar; mouse wheel maps to horizontal scroll on desktop, touch swipe on mobile. Add Fal Model dropdown to Settings drawer.