diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index b71afb4ec..a6227ffa7 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "a9dbaa1124656f5ec32d6f3efd4c2e2ed9fdb992", - "syncedAt": "2026-04-05T22:36:31.868Z" + "sha": "b5ade7b6298ff96ad62a18aad6a2adbf77f18fe4", + "syncedAt": "2026-04-05T22:58:28.326Z" } diff --git a/docs/tools/video-generation.md b/docs/tools/video-generation.md index 39a77f440..25f19964b 100644 --- a/docs/tools/video-generation.md +++ b/docs/tools/video-generation.md @@ -58,24 +58,24 @@ Use `action: "list"` to inspect available providers and models at runtime: ## Tool parameters -| Parameter | Type | Description | -| ----------------- | -------- | ------------------------------------------------------------------------------------- | -| `prompt` | string | Video generation prompt (required for `action: "generate"`) | -| `action` | string | `"generate"` (default) or `"list"` to inspect providers | -| `model` | string | Provider/model override, e.g. `qwen/wan2.6-t2v` | -| `image` | string | Single reference image path or URL | -| `images` | string[] | Multiple reference images (up to 5) | -| `video` | string | Single reference video path or URL | -| `videos` | string[] | Multiple reference videos (up to 4) | -| `size` | string | Size hint when the provider supports it | -| `aspectRatio` | string | Aspect ratio: `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9` | -| `resolution` | string | Resolution hint: `480P`, `720P`, or `1080P` | -| `durationSeconds` | number | Target duration in seconds | -| `audio` | boolean | Enable generated audio when the provider supports it | -| `watermark` | boolean | Toggle provider watermarking when supported | -| `filename` | string | Output filename hint | +| Parameter | Type | Description | +| ----------------- | -------- | -------------------------------------------------------------------------------------- | +| `prompt` | string | Video generation prompt (required for `action: "generate"`) | +| `action` | string | `"generate"` (default) or `"list"` to inspect providers | +| `model` | string | Provider/model override, e.g. `qwen/wan2.6-t2v` | +| `image` | string | Single reference image path or URL | +| `images` | string[] | Multiple reference images (up to 5) | +| `video` | string | Single reference video path or URL | +| `videos` | string[] | Multiple reference videos (up to 4) | +| `size` | string | Size hint when the provider supports it | +| `aspectRatio` | string | Aspect ratio: `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9` | +| `resolution` | string | Resolution hint: `480P`, `720P`, or `1080P` | +| `durationSeconds` | number | Target duration in seconds. OpenClaw may round to the nearest provider-supported value | +| `audio` | boolean | Enable generated audio when the provider supports it | +| `watermark` | boolean | Toggle provider watermarking when supported | +| `filename` | string | Output filename hint | -Not all providers support all parameters. The tool validates provider capability limits before it submits the request. +Not all providers support all parameters. The tool validates provider capability limits before it submits the request. When a provider or model only supports a discrete set of video lengths, OpenClaw rounds `durationSeconds` to the nearest supported value and reports the normalized duration in the tool result. ## Configuration