Skip to content

feat(google-video): default unspecified Veo resolution to 1080p (16:9 only)#3

Open
matin wants to merge 1 commit into
mainfrom
feat/default-video-1080p-clean
Open

feat(google-video): default unspecified Veo resolution to 1080p (16:9 only)#3
matin wants to merge 1 commit into
mainfrom
feat/default-video-1080p-clean

Conversation

@matin

@matin matin commented May 27, 2026

Copy link
Copy Markdown
Owner

What

In extensions/google/video-generation-provider.ts, default an unspecified Veo resolution to 1080p, gated to 16:9. Veo 3.x only supports 1080p at 16:9, so portrait (9:16) requests stay at the Veo default (720p). Explicit --resolution/--size still win — they short-circuit inside resolveResolution, so this default only applies when neither is set.

This mirrors the patch already live on the production VM; this PR is the durable fork record of that change.

Why this supersedes #2

#2 made the same one-line change but was branched off upstream-latest origin/main while targeting the fork's main (which sits at the older fork point). The result was a ~3642-file / +195k diff with the actual change buried under all of upstream's drift.

This branch is cut from fork/main, so base and head share an immediate merge-base — the diff is a single file (+5/-1).

Note on durability

1080p is a custom preference, not upstream behavior. It must be re-applied after any runtime upgrade — tracked in openclaw#184.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

… only)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
matin added a commit that referenced this pull request Jun 2, 2026
Consolidates the still-needed local /opt/openclaw hot-patches onto fork-main
(= upstream 94db48d + native audio #4) so the membrane VM can cut over to the
fork and ship native audio ingestion. These three files were untouched by
upstream in the 99d96c1→94db48d0 window, so they transplant verbatim:

- extensions/google/video-generation-provider.ts — the openclaw#172 Vertex REST-bearer
  bypass (load-bearing per tulgey#194; SDK auth path is the openclaw#175 bug) + the #3
  default-1080p resolution.
- extensions/google/generation-provider-metadata.ts — Veo companion.
- src/cli/program/message/register.send.ts — companion.

Dropped: the session-lock patch (openclaw#195) — upstream made waitForSessionEventQueue
a no-op by 94db48d, so it is obsolete.

Deferred (fast-follow, refs tulgey#218): src/auto-reply/dispatch.ts (the ADR
0015 inbound-message-sequencing coalescing rewrite) and src/infra/dotenv.ts —
both conflict structurally with fork-main and need a careful port + review.

Refs imperfect-co/tulgey#218.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
matin added a commit that referenced this pull request Jun 3, 2026
Consolidates the still-needed local /opt/openclaw hot-patches onto fork-main
(= upstream 94db48d + native audio #4) so the membrane VM can cut over to the
fork and ship native audio ingestion. These three files were untouched by
upstream in the 99d96c1→94db48d0 window, so they transplant verbatim:

- extensions/google/video-generation-provider.ts — the openclaw#172 Vertex REST-bearer
  bypass (load-bearing per tulgey#194; SDK auth path is the openclaw#175 bug) + the #3
  default-1080p resolution.
- extensions/google/generation-provider-metadata.ts — Veo companion.
- src/cli/program/message/register.send.ts — companion.

Dropped: the session-lock patch (openclaw#195) — upstream made waitForSessionEventQueue
a no-op by 94db48d, so it is obsolete.

Deferred (fast-follow, refs tulgey#218): src/auto-reply/dispatch.ts (the ADR
0015 inbound-message-sequencing coalescing rewrite) and src/infra/dotenv.ts —
both conflict structurally with fork-main and need a careful port + review.

Refs imperfect-co/tulgey#218.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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