> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.videogen.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.videogen.io/_mcp/server.

## v2.1.14 — Auto duration when generate-video-clip omits durationSeconds

Omitting `durationSeconds` on `POST /v1/tools/generate-video-clip` (or passing null) now estimates clip length at generate time so spoken text or the visual beat fits. Previously a missing duration was treated as 6 seconds, which rejected spoken clips longer than 6 seconds. Pass a whole number from 1 to 30 to pin an exact length.

### Fixed

- **`durationSeconds` on generate-video-clip:** Omit or pass `null` for Auto. Spoken clips longer than 6 seconds no longer fail when you leave duration unset. An explicit number still uses that length.