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.

feat(ui): swap sections in generate widget

Josh Corbettac3271ada2cf
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.tsx
index 7754a49f26..1e6e5a6cf9 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.tsx
@@ -223,9 +223,6 @@ export const GenerateSettingsForm = ({
onPatchSettingsRef.current(getChangedGenerateSettingsPatch(previousSettings, nextSettings));
}, []);
- // Zone order is dependency order: the model governs everything below it, the
- // prompt is the primary creative input, conditioning and output shape follow,
- // and sampling internals sit last before the contextual canvas block.
return (
<Stack gap={1} p={1}>
<GenerateModelCard
@@ -246,6 +243,13 @@ export const GenerateSettingsForm = ({
onCommitImmediate={commitPatchImmediately}
/>
+ <GenerateDimensionFields
+ projectId={projectId}
+ selectedModel={selectedModel}
+ settings={draftSettings}
+ onCommit={commit}
+ />
+
<GenerateGuidanceSection
loraModels={loraModels}
models={models}
@@ -257,13 +261,6 @@ export const GenerateSettingsForm = ({
onReferenceCommit={commit}
/>
- <GenerateDimensionFields
- projectId={projectId}
- selectedModel={selectedModel}
- settings={draftSettings}
- onCommit={commit}
- />
-
<GenerateRenderSection
selectedModel={selectedModel}
settings={draftSettings}