Skip to content

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.

fix(webv2): move Video panel inline help into en.json

Lincoln Stein7b1016620650
diff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.json
index d81271de0c..ed6414547a 100644
--- a/invokeai/frontend/webv2/public/locales/en.json
+++ b/invokeai/frontend/webv2/public/locales/en.json
@@ -3895,6 +3895,17 @@
"addLora": "Search compatible concepts…",
"components": "Model Components",
"componentRequired": "Required for this model.",
+ "componentSlots": {
+ "h3ComponentSourceHelp": "Required: a Diffusers MiniMax H3 install (full or components-only) provides the tokenizer, processor, and VAEs the single-file transformer does not carry.",
+ "h3HybridBaseHelp": "Optional: an FL2VA transformer to run with this Ref2VA model’s AdaLN projections. This improves the video quality at the cost of some loss of reference fidelity. ",
+ "h3TextEncoderCheckpointHelp": "Required when the Model Components install is components-only (no text-encoder weights); a full install provides its own.",
+ "h3TextEncoderOptionalHelp": "Optional single-file Qwen3-VL encoder used in place of the main model’s text encoder.",
+ "h3TextEncoderRequiredHelp": "Required: this install has no text-encoder weights, so the text encoder must come from a single-file Qwen3-VL checkpoint.",
+ "wanComponentSourceHelp": "Select a Diffusers Wan model to provide VAE and text-encoder components.",
+ "wanLowNoiseHelp": "Optional second A14B expert. Without it the high-noise expert runs the whole schedule.",
+ "wanOptionalWithSourceHelp": "Required unless a Diffusers component source is available."
+ },
+ "negativeCfgHelp": "Used only when CFG is greater than 1.",
"concepts": "Concepts",
"loraWeight": "Weight for {{name}}",
"noLoras": "No concepts added. Compatible LoRAs adjust style and motion.",
@@ -3925,13 +3936,13 @@
"referenceDetailMax": "Max detail (2048px, slower)",
"referenceExtendCapFull": "Initial video not set",
"referenceExtendCapFullDescription": "All 3 video reference slots are in use, so there is no room for the continuity reference this clip needs. Remove a video reference, then drop the clip again.",
- "referenceExtendHelp": "The generated video is appended to this clip at its End Frame. A linked video reference samples up to the last ~5 seconds before that cutpoint for continuity — never more than the generated clip's own length, since the model discards the overrun at the end of the window. That trim is only a default: it re-derives whenever the cutpoints or the frame count change, until you move the reference's own Start Frame or Sample Length, after which it is left alone. Clear and re-set this clip to get the default back.",
+ "referenceExtendHelp": "The generated video is appended to this clip at its End Frame, and samples the last ~5 seconds before the cutpoint to achieve video continuity.",
"referenceImageCapRace": "All {{max}} image reference slots filled while this one was loading, so it was not added.",
"referenceImageCost": "{{width}}×{{height}} · {{rows}} rows per step",
"referenceVideoCapRace": "All {{max}} video or audio reference slots filled while this one was loading, so it was not added.",
"referenceFromInitialVideo": "Initial video",
"references": "References",
- "referencesHelp": "Up to 3 videos and 9 images condition the generation, in order — reordering references changes the result. A video reference can contribute its image track, its soundtrack, or both. Each reference is badged with the label the prompt refers to it by — <Picture 1>, <Video 1>, <Audio 1> — numbered separately per kind, so a video contributing both tracks carries two labels. An uploaded audio file becomes a waveform clip that fills a video slot and conditions on its soundtrack. Every reference adds rows to each denoising step, so the first image reference starts at maximum detail and later ones match the generation size.",
+ "referencesHelp": "Add up to 3 videos and 9 images to condition the generation. A video reference can contribute its image track, its soundtrack, or both. In the text prompt, refer to the conditionings as <Picture 1>, <Video 1>, <Audio 1> and so forth.",
"removeReference": "Remove reference",
"staleReferences": "References are set but the selected model cannot use them.",
"uploadVideoReference": "Upload video or audio"
diff --git a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
index 10b5ba3d87..71b00e7e49 100644
--- a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
+++ b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
@@ -236,7 +236,7 @@ describe('getVideoPromptPolicy', () => {
expect(atCfg5).toMatchObject({ negativeUsedInGraph: true, negativeVisible: true });
expect(atCfg1).toMatchObject({ negativeUsedInGraph: false, negativeVisible: true });
- expect(atCfg1.negativeHelpText).toMatch(/CFG/);
+ expect(atCfg1.negativeHelpTextKey).toBe('widgets.video.negativeCfgHelp');
});
it('counts low-noise CFG > 1 as CFG in use, matching wan_video_denoise do_cfg', () => {
diff --git a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
index 3b2d54281b..350f81239f 100644
--- a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
+++ b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
@@ -443,9 +443,7 @@ export const getVideoPromptPolicy = (
return {
negativeVisible: config.negativePrompt.visible,
negativeUsedInGraph,
- ...(config.negativePrompt.usage === 'cfg-gated'
- ? { negativeHelpText: 'Used only when CFG is greater than 1.' }
- : {}),
+ ...(config.negativePrompt.usage === 'cfg-gated' ? { negativeHelpTextKey: 'widgets.video.negativeCfgHelp' } : {}),
};
};
@@ -468,7 +466,8 @@ export interface VideoModelPolicy {
prompt: {
negativeVisible: boolean;
negativeUsedInGraph: boolean;
- negativeHelpText?: string;
+ /** Translation key for the negative prompt's inline help; absent when the field needs none. */
+ negativeHelpTextKey?: string;
};
/** Ref2VA reference caps; null unless the effective variant has a reference mode. */
references: { maxVideos: number; maxImages: number; extend?: boolean } | null;
@@ -960,7 +959,8 @@ export interface VideoComponentSlotPolicy {
label: string;
modelTypes: readonly ModelTaxonomyType[];
valueKind: 'component' | 'vae' | 'main';
- helpText?: string;
+ /** Translation key for the slot's inline help. The core is UI-free, so the section resolves it. */
+ helpTextKey?: string;
filter?: (candidate: ModelConfig, ctx: VideoComponentPolicyContext) => boolean;
required?: (ctx: VideoComponentPolicyContext) => boolean;
missingMessage?: string;
@@ -1062,6 +1062,12 @@ const isWanVaeForMain = (candidate: ModelConfig, ctx: VideoComponentPolicyContex
return latentChannels === (isTi2v5b(ctx.model.variant) ? 48 : 16);
};
+// Both spelled out as `…Key` properties so the translation-key scan sees them.
+const H3_DIFFUSERS_TEXT_ENCODER_HELP = {
+ optionalKey: 'widgets.video.componentSlots.h3TextEncoderOptionalHelp',
+ requiredKey: 'widgets.video.componentSlots.h3TextEncoderRequiredHelp',
+} as const;
+
export const getVideoComponentSectionPolicy = (
model: MainModelConfig | undefined,
_settings: VideoSettings
@@ -1082,7 +1088,7 @@ export const getVideoComponentSectionPolicy = (
{
filter: (candidate: ModelConfig, ctx: VideoComponentPolicyContext) =>
isDiffusersMainForBase('wan')(candidate) && candidate.key !== ctx.model.key,
- helpText: 'Select a Diffusers Wan model to provide VAE and text-encoder components.',
+ helpTextKey: 'widgets.video.componentSlots.wanComponentSourceHelp',
key: 'componentSourceModel',
label: 'Component source',
modelTypes: ['main'],
@@ -1091,7 +1097,7 @@ export const getVideoComponentSectionPolicy = (
]),
{
filter: isWanVaeForMain,
- helpText: 'Required unless a Diffusers component source is available.',
+ helpTextKey: 'widgets.video.componentSlots.wanOptionalWithSourceHelp',
key: 'vae',
label: 'VAE',
missingMessage: 'Video needs a VAE for Wan models.',
@@ -1101,7 +1107,7 @@ export const getVideoComponentSectionPolicy = (
},
{
filter: (candidate) => candidate.type === 'wan_t5_encoder',
- helpText: 'Required unless a Diffusers component source is available.',
+ helpTextKey: 'widgets.video.componentSlots.wanOptionalWithSourceHelp',
key: 'wanT5EncoderModel',
label: 'Wan T5 Encoder',
missingMessage: 'Video needs a Wan T5 Encoder for Wan models.',
@@ -1117,7 +1123,7 @@ export const getVideoComponentSectionPolicy = (
if (config.cfg.lowNoiseVisible && model.format !== 'diffusers') {
slots.push({
filter: isWanLowNoiseExpertCandidate,
- helpText: 'Optional second A14B expert. Without it the high-noise expert runs the whole schedule.',
+ helpTextKey: 'widgets.video.componentSlots.wanLowNoiseHelp',
key: 'wanLowNoiseModel',
label: 'Transformer (Low Noise)',
modelTypes: ['main'],
@@ -1147,9 +1153,9 @@ export const getVideoComponentSectionPolicy = (
return createComponentPolicy(componentsOnly, [
{
filter: (candidate) => candidate.type === 'qwen3_vl_encoder' && candidate.base === 'minimax-h3',
- helpText: componentsOnly
- ? 'Required: this install has no text-encoder weights, so the text encoder must come from a single-file Qwen3-VL checkpoint.'
- : 'Optional single-file Qwen3-VL encoder used in place of the main model’s text encoder.',
+ helpTextKey: componentsOnly
+ ? H3_DIFFUSERS_TEXT_ENCODER_HELP.requiredKey
+ : H3_DIFFUSERS_TEXT_ENCODER_HELP.optionalKey,
key: 'h3TextEncoderModel',
label: 'Text encoder (single file)',
missingMessage: `${model.name} is a components-only install — select a single-file Text encoder.`,
@@ -1164,8 +1170,7 @@ export const getVideoComponentSectionPolicy = (
{
filter: (candidate) =>
candidate.type === 'main' && candidate.base === 'minimax-h3' && candidate.format === 'diffusers',
- helpText:
- 'Required: a Diffusers MiniMax H3 install (full or components-only) provides the tokenizer, processor, and VAEs the single-file transformer does not carry.',
+ helpTextKey: 'widgets.video.componentSlots.h3ComponentSourceHelp',
key: 'componentSourceModel',
label: 'Model components',
missingMessage: `${model.name} is a single-file transformer — select a Diffusers MiniMax H3 install under Model Components.`,
@@ -1175,8 +1180,7 @@ export const getVideoComponentSectionPolicy = (
},
{
filter: (candidate) => candidate.type === 'qwen3_vl_encoder' && candidate.base === 'minimax-h3',
- helpText:
- 'Required when the Model Components install is components-only (no text-encoder weights); a full install provides its own.',
+ helpTextKey: 'widgets.video.componentSlots.h3TextEncoderCheckpointHelp',
key: 'h3TextEncoderModel',
label: 'Text encoder (single file)',
missingMessage:
@@ -1194,8 +1198,7 @@ export const getVideoComponentSectionPolicy = (
? [
{
filter: isH3HybridBaseCandidate,
- helpText:
- 'Optional: an FL2VA transformer to run with this Ref2VA model’s AdaLN projections (the per-block time-conditioning layers) from the chosen block onward — FL2VA’s output quality, references still routed. Same file kind as the model (pruned with pruned).',
+ helpTextKey: 'widgets.video.componentSlots.h3HybridBaseHelp',
key: 'h3HybridBaseModel',
label: 'Hybrid quality base (FL2VA)',
modelTypes: ['main'],
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
index 15a905611f..1399b349b2 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
@@ -75,7 +75,7 @@ const ComponentSlotRow = memo(function ComponentSlotRow({
return (
<Field
error={isMissing ? (slot.missingMessage ?? t('widgets.video.componentRequired')) : undefined}
- helpText={isMissing ? undefined : slot.helpText}
+ helpText={isMissing || !slot.helpTextKey ? undefined : t(slot.helpTextKey)}
label={slot.label}
>
<ModelSelect
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
index f9592c15f1..537bc63d1e 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
@@ -504,7 +504,7 @@ export const VideoWidgetView = () => {
<VideoPromptFields
loras={values.loras}
model={values.model}
- negativeHelpText={policy.prompt.negativeHelpText}
+ negativeHelpText={policy.prompt.negativeHelpTextKey ? t(policy.prompt.negativeHelpTextKey) : undefined}
negativePrompt={values.negativePrompt}
negativePromptEnabled={values.negativePromptEnabled}
negativePromptHeightPx={values.negativePromptHeightPx}