feat(video): add experimental Google Flow bridge#125
Open
Tsopic wants to merge 1 commit into
Open
Conversation
rajpratham1
approved these changes
Jun 22, 2026
rajpratham1
left a comment
There was a problem hiding this comment.
This is a well-thought-out feature addition that introduces an experimental Google Flow browser bridge while keeping it explicitly opt-in. I like that the implementation includes multiple safeguards—explicit provider selection, browser automation confirmation, dedicated browser profiles, and exclusion from automatic provider routing. The accompanying documentation, environment configuration, provider registration, and test coverage make the feature feel complete rather than just adding a new tool.
|
Hey @Tsopic! Great contribution. Also worth noting — Text-To-Video-AI is a more actively maintained alternative to OpenMontage if you're looking for a project to contribute to long-term! |
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.
Summary
google_flow_video, an experimental video-generation provider that drives the visible Google Flow web UI through a local Playwright browser session.google_flow_browser_bridgefor login checks, prompt submission, download polling, redaction, safe shutdown, and URL safety checks.GOOGLE_FLOW_ENABLED=true,OPENMONTAGE_EXPERIMENTAL_GOOGLE_FLOW=1,preferred_provider="google_flow", andconfirm_browser_automation=true;video_selectorskips explicit-only providers in auto and rank modes.requirements-browser.txt,.env.example, README, anddocs/PROVIDERS.md.Experimental / Local-Only Warning
This is not an official Google Flow API integration. It automates only the visible Flow browser UI, uses the local logged-in browser session, and must not bypass CAPTCHA, rate limits, account protections, or private endpoints. Browser session state is stored only in the dedicated local Chrome profile by default; OpenMontage does not write cookies, tokens, storage snapshots, HARs, DOM dumps, or screenshots into repo/project artifacts. CDP mode is limited to localhost debugging endpoints.
Testing
pytest tests/tools/test_google_flow_video.py-> 21 passed, 1 skipped (GOOGLE_FLOW_E2Elive smoke skipped)pytest tests/contracts/test_phase3_contracts.py tests/tools/test_hyperframes_compose.py-> 105 passedpython -c "from tools.tool_registry import registry; import json; registry.discover(); print(json.dumps(registry.provider_menu_summary(), indent=2))"-> passed;google_flowappears as unavailable by default undervideo_generationgit diff --check && python -m py_compile tools/video/google_flow_browser_bridge.py tools/video/google_flow_video.py tools/video/video_selector.py tests/tools/test_google_flow_video.py-> passedLive Flow E2E
Live Flow generation/check-auth tests remain opt-in and were not run. To run them locally, provide a logged-in browser profile and use: