Skip to content

feat(flow): optional trusted UI submission for Omni 1.2 text video - #86

Closed
Bl0ck154 wants to merge 1 commit into
crisng95:mainfrom
Bl0ck154:feat/omni-12-ui-support-20261107
Closed

Bl0ck154 wants to merge 1 commit into
crisng95:mainfrom
Bl0ck154:feat/omni-12-ui-support-20261107

Conversation

@Bl0ck154

@Bl0ck154 Bl0ck154 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

PR #85 already adds the captured macaron_cookie keys and all four Omni 1.2 modes. This PR adds an optional browser-UI submit path for Omni 1.2 text-to-video without duplicating its model-key changes.

With FLOW_OMNI12_CDP_URL configured, FlowKit routes only macaron_cookie_t2v requests through a dedicated, signed-in Google Flow Chrome tab. It selects the 1.2 model, resolution and 3–15s duration slider in the normal composer, reads the live credit quote and clicks Generate once. The browser response is captured before navigation. Existing generation throttles and unusual-activity protection still apply.

With that setting unset, extension routing is unchanged. FLOW_OMNI12_MAX_CREDITS defaults to 20; unknown live quotes and quotes exceeding the official 1.2 rates fail before submission. There are no automatic retries or CAPTCHA workarounds.

The model-label matching and duration/credit rules are adapted from the open flow-mcp PRs #29 and #30:

Related FlowKit PR: #85

Validation:

  • 95 focused Python tests passed, including all 13 duration values, model-label matching, price caps, and exactly-once response forwarding.
  • The classic Flow UI was checked with Omni 1.2, the 3s slider, and its live 360p credit quote without submitting.
  • A real 1.2 request reached Flow's YhhmEf RPC but Google rejected it for unusual activity. The new UI transport has not been confirmed by a successful end-to-end generation.

This draft is intended to merge after #85. It is opt-in and has no effect until a caller sends the new model key. Agent-first composer support, video editing, Extend and image-conditioned 1.2 through this UI path are not part of this PR. See docs/OMNI_12.md.

@Bl0ck154

Bl0ck154 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Closing this draft to keep the Omni 1.2 work focused in #85. #85 already handles all four generation modes; this optional UI transport is still not end-to-end verified because Google reported unusual activity on our account. If direct transport shows a reproducible problem after #85 lands, I'll open a smaller tested follow-up.

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