49 Commits

Author SHA1 Message Date
ff881653ef feat: provides a queued based API service to allow async processing and authentication management 2025-04-11 18:06:26 -04:00
a276027bcf test: test streaming API 2025-04-10 00:48:16 -04:00
4d3a325dee feat: hacking FAL proxy to support 3rd party API 2025-04-09 23:59:52 -04:00
6be946325b doc: document for prompt and template 2025-04-07 21:41:16 -04:00
547c79123d feat: add API for adding watermark image to video, with tests and read-me file 2025-04-06 22:18:16 -04:00
6694cf0170 feat: add hard-coded allowed script paths, for security reasons 2025-04-06 16:27:39 -04:00
57cbbb70de feat: startup script for demo-nextjs-app-router 2025-04-06 16:14:51 -04:00
b5979cf25b feat: bash exec and queue exported as API 2025-04-06 16:04:01 -04:00
aa6df63025 feat: enable FAL proxy 2025-04-06 11:36:04 -04:00
Daniel Rochetti
ecded55c2f
feat(client): endpoint type definitions (#102)
* feat(client): endpoint type definitions

* fix(client): endpoint generation

* fix(demo): streaming page type

* chore: update reference docs

* chore: prepare client release

* chore: update reference docs
2024-11-13 00:16:08 -08:00
Daniel Rochetti
543b9208eb
feat: 1.0.0 release (#91)
* chore(client): rename function module

* chore: allow client to be created multiple times

singleton client is not the default but it still present as a compatibility layer

* chore: update docs

* feat(client): improved result typing

* chore: update demo app code

* chore: updated reference docs

* chore: update proxy code

* chore: alpha release

* chore: fix lint staged rule

* chore: clean-up docs

* chore: reference docs updated
2024-10-07 12:54:30 -07:00
Daniel Rochetti
c3a3c3d21a
chore: upgrade dependencies and tooling (#81)
* chore: remove uuid-random dependency

* chore: upgrade prettier

* chore(client): bump version for release
2024-08-07 15:45:15 -07:00
Daniel Rochetti
6edbf2948d
feat(client): binary chunk streaming support (#77)
* feat(client): binary chunk streaming support

* fix: buffer update

* fix: audio playing

* fix: media resource setup

* feat: allow streaming through the proxy

* fix: legacy urls env

* feat: streaming connection mode

* chore: bump client alpha version

* feat(proxy): enable response streaming when supported

* fix: queue streaming

* chore: deprecated endpoint id cleanup

* fix: client tests

* chore: demo page updates

* chore: bump version for release
2024-08-06 09:09:40 -07:00
Daniel Rochetti
d9ea6c7dd3
feat(client): subscribe to status (#76)
* feat(client): subscribe to status

* fix(client): timeout id type
2024-07-23 10:41:44 -07:00
Daniel Rochetti
2839e796db
feat(client): allow custom fetch impl (#74)
* feat(client): allow custom fetch impl

* fix(samples): remove test call

* fix: proxy middleware order

* chore(demo): switch to queue polling by default
2024-07-22 12:54:44 -07:00
Daniel Rochetti
ab210d9da4
feat(client): enable both polling and streaming for queue status (#72) 2024-07-11 08:41:46 -07:00
Daniel Rochetti
4ea43b4cea
feat(client): stream queue status (#71)
* feat(client): stream queue status

* chore: remove console log

* fix: accumulative logs when streaming

* fix(client): stream logs on queue update

* chore(apps): remove pollInterval from sample apps
2024-06-25 15:00:01 -07:00
badayvedat
7a494ff697 refactor: use dash instead of underscore in paths 2024-06-11 19:41:46 +03:00
badayvedat
fc461ed48b feat: add comfy namespace and update comfy examples 2024-06-06 18:34:57 +03:00
Daniel Rochetti
5f15da9d83
feat(client): realtime msgpack payload (#65)
* feat(client): realtime msgpack payload

* chore: update realtime samples
2024-05-08 15:16:01 -07:00
badayvedat
419ac350c4 chore: rename pages 2024-04-23 19:57:03 +03:00
badayvedat
f401edc20b chore: remove unused files 2024-04-23 19:35:57 +03:00
badayvedat
e8ef19d7b2 chore: lint 2024-04-23 19:31:53 +03:00
badayvedat
bf787328b5 fix(text-to-image): parameter passing 2024-04-23 05:25:46 +03:00
badayvedat
92e554a527 feat: add comfy server examples 2024-04-23 05:19:46 +03:00
Daniel Rochetti
335b817e9c
feat(client): add streaming support (#56)
* feat(client): add streaming support

* fix: variable type definition

* chore: add docs

* chore: bump to client 0.9.0
2024-03-06 08:44:04 -08:00
Daniel Rochetti
e0b7627f7a
feat(client): app id with path + realtime url (#51)
* feat: app id + path format support

* chore: bump client to 0.8.4
2024-02-20 18:59:37 -08:00
Daniel Rochetti
129ad9ed10
chore: simplify proxy config 2024-01-28 10:09:40 -08:00
Daniel Rochetti
0f8efecf65
chore: publish create app cli (#44)
* chore: move folder to match package name

* chore: update dependencies
2024-01-18 11:06:28 -08:00
Daniel Rochetti
6cb27c0ca5
chore: release client 0.8.2 (#43)
* chore: client release 0.8.2

* fix: domain check on proxy
2024-01-16 09:47:39 -08:00
Daniel Rochetti
07f1b125f7
feat: fal.run url support (#40)
* feat: fal.run url support

* feat: new queue url format

* fix: build issue

* chore: change demo app ids
2024-01-15 15:14:21 -08:00
Daniel Rochetti
f7e7541738
fix: msgpack dependency changed (#38)
* fix: msgpack dependency changed

* fix: textencoder polyfill for jest
2023-12-18 12:18:12 -08:00
Daniel Rochetti
e5cfd8ee38
feat: binary messages through ws + camera demo (#34)
* feat: binary messages through ws + camera demo

* chore: prepare release
2023-12-12 10:03:49 -08:00
Daniel Rochetti
6ad41e1bfa
feat(client): realtime state machine impl (#32)
* fix: connection state handling

* chore: reset token expiration

* feat: state machine experiment

* feat: new realtime state machine impl

* chore: update client to 0.7.0 before release

* fix: error handling x-fal-error

* chore(client): release v0.7.0

* fix(client): strict type check error
2023-12-04 14:44:56 -08:00
Daniel Rochetti
145159a12f
feat(client): realtime client (#29)
* feat(client): realtime client

* chore: alpha release

* fix: remove os requirement

* fix: check if process is defined

* fix: ws connection key

* fix: outgoing request throttling logic

* chore: 0.6.0.alpha.4 release

* chore: update realtime demo

* chore: update preloaded scene

* feat: auth wip

* fix: compilation issue

* feat: basic auth impl missing error handling

* chore: remove console.log prepare 0.6.0

* fix: remove unsused code
2023-11-27 09:43:37 -08:00
Daniel Rochetti
c8ff2af189
fix: proxy content encoding header (#30) 2023-11-26 15:51:16 -08:00
Daniel Rochetti
0a18c7e93d
feat: add audio example with whisper (#25)
* feat: whisper example

* feat: whisper working example

* feat: whisper demo impl

* fix: fal config proxy

* chore: add app router info to readme

* fix: proxy url example
2023-11-09 18:46:19 -08:00
Daniel Rochetti
22d930c0ac
chore: build tool updates (#24)
* chore: build tool updates

* chore: update readme docs
2023-11-09 13:10:44 -08:00
Daniel Rochetti
78ffa58162
feat: client file upload (#18)
* feat: client file upload

* feat: signed upload

* fix: add multipart header

* fix: remove unused file

* chore(wip): own signature impl

* feat: use gcs presigned upload

* fix: invalid export

* fix: rest api host url

* feat: final upload logic and sample
2023-11-02 19:30:46 -07:00
Daniel Rochetti
3a98fd6d0f
feat: next proxy app router support (#22)
* feat: add nextjs app router support

* chore: rename nextjs page router demo

* feat: support nextjs app router with example

* chore(proxy): bump to 0.4.0

* chore: update package-lock.json

* chore: remove formidable

* chore: update package-lock.json

* fix: page export

* fix: type issues

* fix: remove comment

* fix: eslint any warning

* chore: client version bump 0.4.2
2023-10-30 09:01:15 -07:00
Matteo Ferrando
1ee2832e2b comments 2023-10-25 12:53:13 -04:00
Daniel Rochetti
b79e51683b
feat: new cross-engine proxy support (#14)
* feat: new proxy package

* chore: update nx workspace

* chore: remove unused codegen lib

* chore: add swc-node as build dependencies

* chore: remove unused demo-app-e2e app

* chore: reorganize demo apps

* feat: working cross-engine proxy

* chore: update docs

* fix: readme file export

* chore: update nextjs lib

* chore: keep nextjs code
2023-10-08 01:46:36 -07:00
Daniel Rochetti
031454ca2a
fix: polling status call (#11) 2023-09-24 14:37:09 -07:00
Daniel Rochetti
f075fd914f
feat: support single fal_key env var (#10)
* feat: support single fal_key env var

* fix: default config and tests
2023-09-24 14:21:18 -07:00
Daniel Rochetti
9a0497da30
feat: client proxy + nextjs support (#9)
* feat(client): add function alias support

* feat(client): auto config from env vars

* fix(client): username in aliased url

* feat: nextjs proxy handler

* fix: update client tests

* feat(client): built-in queue support

* feat: client + nextjs e2e demo

* chore: update browserslist

* chore: update version info

* chore: update readme badges

* fix: ignore lint error on require
2023-09-11 16:26:06 -07:00
Daniel Rochetti
3b11d468a8
feat(client): add function alias support (#7)
* feat(client): add function alias support

* fix(client): username in aliased url
2023-05-02 09:18:25 -07:00
Daniel Rochetti
ed322048ff
release: client 0.1.0 (#6)
* chore(client): add assets and bump version
* chore: rename scope to fal-ai
2023-03-31 18:35:08 -03:00
Daniel Rochetti
5c4cdee6a5
chore(client): add some client unit tests (#5)
* chore(client): add config unit tests
* chore(client): add runtime utilities tests
2023-03-31 15:28:03 -03:00
Daniel Rochetti
6553779987
chore: configure new monorepo and build workflow
* prepare monorepo and move client to its package

* create nx workspace

* workspace cleanup and updates

* upgrade nx workspace and fix client package

* add basic codegen logic

* first working build script

* update nextjs app

* update generated code

* add koldstart core and client foundation

* add basic fetch implementation to client

* add stable diffusion example

* remove local output image

* remove keys

* remove more keys

* update client usage and samples

* remove grpc client code and dependencies

* rename base package

* remove core package

* continue package refactor

* rename koldstart apis

* refactor main function run api

* add listen function stub

* removed more koldstart references

* build workflow added

* minor doc updates - trigger workflow

* nx workflow action
2023-03-29 12:49:55 -03:00