Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(ltx2): move Context Frames beside the clip it describes
Lincoln Stein00c5bf6a38ca
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsxindex 82ce4dbded..65cc95056e 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx@@ -710,6 +710,24 @@ export const VideoWidgetView = () => {sourceVideo={values.sourceVideo}onChange={setSourceVideo}/>+ {policy.ui.extendContext ? (+ <ScrubberField+ defaultValue={LTX2_EXTEND_CONTEXT_FRAMES}+ // The trade this control makes, which Frames alone does not show: the join consumes+ // the context from both halves, so every frame held is a frame of new video given up.+ helpText={t('widgets.video.extendContextHelp', {+ frames: policy.ui.extendContext.newFrames,+ seconds: (policy.ui.extendContext.newFrames / Math.max(1, values.fps)).toFixed(1),+ })}+ inputMax={policy.ui.extendContext.max}+ label={t('widgets.video.extendContext')}+ max={policy.ui.extendContext.max}+ min={policy.ui.extendContext.min}+ step={policy.ui.extendContext.step}+ value={policy.ui.extendContext.value}+ onChange={set.ltx2ExtendContextFrames}+ />+ ) : null}</Stack></GenerationSettingsSection>) : null}@@ -824,24 +842,6 @@ export const VideoWidgetView = () => {</Switch.Root></Field>) : null}- {policy.ui.extendContext ? (- <ScrubberField- defaultValue={LTX2_EXTEND_CONTEXT_FRAMES}- // The trade this control makes, which Frames alone does not show: the join consumes- // the context from both halves, so every frame held is a frame of new video given up.- helpText={t('widgets.video.extendContextHelp', {- frames: policy.ui.extendContext.newFrames,- seconds: (policy.ui.extendContext.newFrames / Math.max(1, values.fps)).toFixed(1),- })}- inputMax={policy.ui.extendContext.max}- label={t('widgets.video.extendContext')}- max={policy.ui.extendContext.max}- min={policy.ui.extendContext.min}- step={policy.ui.extendContext.step}- value={policy.ui.extendContext.value}- onChange={set.ltx2ExtendContextFrames}- />- ) : null}{policy.ui.stepsEditable ? (<ScrubberFielddefaultValue={policy.defaults.steps}