Skip to content

Fal ai integration#5

Open
hkulekci wants to merge 3 commits into
huangserva:mainfrom
hkulekci:fal-ai-integration
Open

Fal ai integration#5
hkulekci wants to merge 3 commits into
huangserva:mainfrom
hkulekci:fal-ai-integration

Conversation

@hkulekci
Copy link
Copy Markdown
Contributor

@hkulekci hkulekci commented May 12, 2026

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.

Screenshot 2026-05-12 at 22 53 02

hkulekci added 3 commits May 12, 2026 22:09
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant