clipwright/dashboard
juancarlos.cavero b81125c572 feat(generate): manual clip count and duration controls (discussion #65)
/api/process (and the process_video MCP tool) now accept optional
target_clips (1-15) and clip_min_seconds / clip_max_seconds (5-180),
surfaced in the dashboard as a collapsed 'advanced options' section.
Blank means the AI decides, keeping the default request byte-identical.

Plumbed through the same env overrides the A/B harness already reads:
CLIP_TARGET_MIN/MAX (existing) and a new clip_duration_bounds() in
clip_selection.py backing CLIP_MIN_SECONDS/MAX_SECONDS. The detail and
visual prompts take the band as template placeholders instead of the
hardcoded 15-60, and word-snapping enforces the same bounds. All three
knobs are honest targets, not guarantees: the model still returns fewer
clips when the material doesn't hold them, and the UI copy says so.

Verified live: target_clips=2 + band 8-15s on the demo video returned
exactly 2 clips of 13.3s and 13.7s (the uncontrolled run gave one 41.7s
clip); out-of-range values 400 with a named reason.
2026-08-18 19:21:42 +02:00
..
public feat(seo): make the site readable by AI crawlers 2026-07-27 10:56:15 +02:00
seo feat(seo): five demand-backed pages + honest agent-access comparison on /mcp 2026-08-04 17:58:25 +02:00
src feat(generate): manual clip count and duration controls (discussion #65) 2026-08-18 19:21:42 +02:00
.gitignore improve video preview 2025-12-21 01:59:15 +01:00
Dockerfile fix(analytics): make product analytics opt-in and host-scoped 2026-07-28 09:58:33 +02:00
eslint.config.js added front-end and backend 2025-12-19 17:59:03 +01:00
index.html fix(analytics): make product analytics opt-in and host-scoped 2026-07-28 09:58:33 +02:00
nginx.conf fix(seo): permanent apex redirect, real 404s, and gallery links that resolve 2026-07-27 11:48:33 +02:00
package-lock.json feat: Add Remotion integration for animated subtitles, hooks and effects 2026-04-10 14:00:11 +02:00
package.json feat: Add Remotion integration for animated subtitles, hooks and effects 2026-04-10 14:00:11 +02:00
postcss.config.js added front-end and backend 2025-12-19 17:59:03 +01:00
README.md added front-end and backend 2025-12-19 17:59:03 +01:00
tailwind.config.js redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
vite-plugin-seo.js fix(seo): permanent apex redirect, real 404s, and gallery links that resolve 2026-07-27 11:48:33 +02:00
vite.config.js feat(seo): make the site readable by AI crawlers 2026-07-27 10:56:15 +02:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.