openclaw/test
xieyongliang 4cb8dde894
feat: add video generation core infrastructure and extend image generation parameters (#53681)
* feat: add video generation core infrastructure and extend image generation parameters

Add full video generation capability to OpenClaw core:

- New `video_generate` agent tool with support for prompt, duration, aspect ratio,
  resolution, seed, watermark, I2V (first/last frame), camerafixed, and draft mode
- New `VideoGenerationProvider` plugin SDK type and `registerVideoGenerationProvider` API
- New `src/video-generation/` module (types, runtime with fallback, provider registry)
- New `openclaw/plugin-sdk/video-generation` export for external plugins
- 200MB max file size for generated videos (vs default 5MB for images)

Extend image generation with additional parameters:
- `seed`, `watermark`, `guidanceScale`, `optimizePrompt`, `providerOptions`
- New `readBooleanParam()` helper in tool common utilities

Update plugin registry, contracts, and all test mocks to include
`videoGenerationProviders` and `videoGenerationProviderIds`.

Made-with: Cursor

* fix: validate aspect ratio against target provider when model override is set

* cleanup: remove redundant ?? undefined from video/image generate tools

* chore: regenerate plugin SDK API baseline after video generation additions

---------

Co-authored-by: yongliang.xie <yongliang.xie@bytedance.com>
2026-03-25 18:45:06 -07:00
..
fixtures fix: fail closed when subagent steer remap fails 2026-03-24 12:55:43 -05:00
helpers feat: add video generation core infrastructure and extend image generation parameters (#53681) 2026-03-25 18:45:06 -07:00
mocks fix(ci): stabilize whatsapp extension checks 2026-03-23 15:50:19 -07:00
scripts test: introduce planner-backed test runner, stabilize local builds (#54650) 2026-03-25 18:11:58 -05:00
appcast.test.ts test: strengthen regression coverage and trim low-value checks 2026-03-22 07:38:01 +00:00
architecture-smells.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00
channel-outbounds.ts refactor: add plugin-owned outbound adapters 2026-03-15 23:47:43 -07:00
cli-json-stdout.e2e.test.ts fix(cli): keep json preflight stdout machine-readable 2026-03-02 03:10:02 +00:00
extension-plugin-sdk-boundary.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00
gateway.multi.e2e.test.ts
git-hooks-pre-commit.test.ts fix(test): stub pnpm in pre-commit hook fixture 2026-03-20 01:58:21 +00:00
global-setup.ts
non-isolated-runner.ts test: harden vitest no-isolate coverage 2026-03-22 10:48:21 -07:00
official-channel-catalog.test.ts fix(release): preserve shipped channel surfaces in npm tar (#52913) 2026-03-23 17:39:22 +02:00
openclaw-launcher.e2e.test.ts fix(cli): clarify source archive install failures 2026-03-19 01:49:28 -07:00
openclaw-npm-postpublish-verify.test.ts fix: verify global npm correction installs 2026-03-23 21:04:08 -07:00
openclaw-npm-release-check.test.ts test(release): sync llama peer fixture 2026-03-25 06:06:47 -07:00
openshell-sandbox.e2e.test.ts test: add openshell sandbox e2e smoke 2026-03-15 23:02:36 -07:00
plugin-extension-import-boundary.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00
plugin-npm-release.test.ts fix: ship bundled plugin runtime sidecars 2026-03-23 17:38:08 -07:00
release-check.test.ts fix: ship bundled plugin runtime sidecars 2026-03-23 17:38:08 -07:00
setup.ts feat: add video generation core infrastructure and extend image generation parameters (#53681) 2026-03-25 18:45:06 -07:00
test-env.ts
test-runner-manifest.test.ts ci: balance shards and reuse pr artifacts 2026-03-24 04:19:43 +00:00
ui.presenter-next-run.test.ts
vitest-config.test.ts test: introduce planner-backed test runner, stabilize local builds (#54650) 2026-03-25 18:11:58 -05:00
vitest-extensions-config.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00
vitest-performance-config.test.ts test: make vitest config tests platform-aware 2026-03-24 22:23:23 -05:00
vitest-scoped-config.test.ts test: keep vitest on forks only 2026-03-25 12:22:22 -05:00
vitest-unit-config.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00
vitest-unit-paths.test.ts refactor: share channel card selectors and layout 2026-03-24 21:44:28 -07:00
web-search-provider-boundary.test.ts refactor: dedupe test and script helpers 2026-03-24 15:48:35 +00:00