Repository navigation
Add a Flow web worker example for assistant video jobs - #92
Merged
crisng95 merged 1 commit intoNov 27, 2026
Merged
Conversation
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.
Description
With the Flow Kit browser extension enabled, a video submitted from the regular Flow UI failed with an unusual-activity warning and a reCAPTCHA connection error. After disabling the extension and reloading the same project, generation succeeded with the same prompt, model, and frame inputs. This suggests that the extension or its interaction with the browser session triggered the check in this setup.
Add an opt-in example that renders an Omni first/last-frame scene through Flow's signed-in web composer. A normal
/api/requests/batchvideo request withprovider: assistantproduces the job. The example takes an explicit job ID, maps the two existing Flow assets, and uses the visible composer and download controls. It validates and returns the local MP4 through the existing provider-job completion endpoint, so FlowKit writes the result back to the scene that requested it.The example records submit intent before the browser click and stops on warnings, ambiguous results, or mismatched settings. It supports pre-uploaded assets and the Simplified Chinese Flow UI, and requires an active browser operator. The change is confined to the example and its tests; existing providers, defaults, and extension behavior stay the same.
Validation
/api/requests/batchwithprovider: assistant. The generated provider job carried two distinct scene frame IDs and URLs. Flow's web UI displayed a 4-credit Omni 1.1 Flash render at 360p, four seconds, and one output. The MP4 passed fullffmpegdecoding.SUCCEEDED; the original batch request and the same scene reachedCOMPLETED, with matching file URLs and media IDs between the request and scene. The worker did not patch the scene.git diff --checkpassed.