Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
add custom width/height inputs for Image-to-Video resolution
[._.]/ Adam Eivybe62c49c1f3b
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 40535d2476..3983ff9c3f 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -37,6 +37,7 @@## Media+- **[issue-2196] Image-to-Video sizing now accepts custom width/height inputs.** The Video Gen page's resolution picker showed only preset aspect ratios — users who wanted an exact I2V size had to set it via URL params, remix, or wait for the auto-snap from an uploaded image. The resolution field now includes editable width and height inputs directly below the preset dropdown, accepting any value (the server floors to a 64-pixel grid and enforces the FFLF pixel budget as before). Picking a preset, typing a custom value, or auto-snapping to a source image all update the same state, and the "custom" option appears in the dropdown whenever your dimensions don't match a preset.- **Installing a video LoRA from HuggingFace now shows live download progress.** The LoRA Manager's "Install video LoRA from HuggingFace" form (and the curated video quick-install buttons) used to freeze on a static "Downloading…" label with no indication of how far along a multi-GB LoRA was — unlike image-model downloads, which show a percentage. The install now streams byte-level progress over SSE: the button shows `Downloading 42%` and a progress bar with `received / total` bytes fills as it downloads (an indeterminate pulse when the server can't read a Content-Length). Errors — including the "couldn't detect the model family" case that offers the inline "Install as LTX-Video" retry — still surface exactly as before.- **The LoRA Manager's Installed list is now grouped by Video / Image.** The curated "Video LoRAs" suggestion cards sat directly above a single flat "Installed" grid, so installed *image* LoRAs looked like they belonged to the video section. The Installed section is now visually divided from the suggestions and, in the "All" view, splits into labeled **Video LoRAs** / **Image LoRAs** subsections (mirroring the suggestion panel) so it's obvious which renders each LoRA applies to. The Image/Video filter still collapses it to a single scoped list.- **[issue-2036] Sketch & Annotation Canvas (phase 2): re-render an image guided by your annotations.** The annotate page (`/media/annotate/:mediaKey`) gained a "Re-render" action: draw over a generated image, then feed your markup back through local img2img so the marks reshape the render. A confirmation dialog names the exact local model it will run (no surprise AI calls) and lets you add an optional prompt and tune how much to change before it starts; the new render is queued and appears in Media History. Requires a local FLUX img2img runner — the action explains when one isn't available. Phase 3 (blank-canvas storyboard) remains open on #2036.diff --git a/client/src/pages/VideoGen.jsx b/client/src/pages/VideoGen.jsxindex e8fc50787d..19590f3b44 100644--- a/client/src/pages/VideoGen.jsx+++ b/client/src/pages/VideoGen.jsx@@ -1713,6 +1713,41 @@ export default function VideoGen() {)}{VIDEO_RESOLUTIONS.map((r) => <option key={r.label} value={r.label}>{r.label}</option>)}</select>+ <div className="flex items-center gap-1 mt-1">+ <input+ type="number"+ min={64}+ max={2048}+ step={64}+ value={width}+ onChange={(e) => {+ const v = Number(e.target.value);+ if (Number.isFinite(v) && v > 0) {+ setWidth(v);+ sizeManuallySetRef.current = true;+ }+ }}+ className="flex-1 min-w-0 bg-port-bg border border-port-border rounded-lg px-2 py-1.5 text-xs text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ title="Width in pixels (will be floored to a multiple of 64)"+ />+ <span className="text-gray-500 text-xs">x</span>+ <input+ type="number"+ min={64}+ max={2048}+ step={64}+ value={height}+ onChange={(e) => {+ const v = Number(e.target.value);+ if (Number.isFinite(v) && v > 0) {+ setHeight(v);+ sizeManuallySetRef.current = true;+ }+ }}+ className="flex-1 min-w-0 bg-port-bg border border-port-border rounded-lg px-2 py-1.5 text-xs text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ title="Height in pixels (will be floored to a multiple of 64)"+ />+ </div></FormField><FormField label="Frames" labelClassName="block text-xs font-medium text-gray-400 mb-1">