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.

Merge remote-tracking branch 'origin/main' into fix/canvas-v7-feedback

Josh Corbett34501d7c6435
diff --cc docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx
index 84da1ebecd,adcebc2c5a..2e4dd35720
--- a/docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx
+++ b/docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx
@@@ -194,7 -184,7 +194,7 @@@ The gear button in the header opens th
## Saving and sharing a canvas
- The canvas belongs to its project and is saved with it automatically. To keep a finished image, use **Save Canvas to Gallery** or **Save Frame to Gallery**, or accept results and save individual layers with **Save layer to uploads**. To share a whole canvas, with its layers, masks and settings, export the project as an `.invk` file; see [Projects](/users-guide/projects/introduction/#exporting-and-importing).
-The canvas belongs to its project and is saved with it automatically. To keep a finished image, use **Save Canvas to Gallery** or **Save BBox to Gallery**, or accept results and save individual layers to a board with **Save layer to board**. To share a whole canvas, with its layers, masks and settings, export the project as an `.invk` file; see [Projects](/users-guide/projects/introduction/#exporting-and-importing).
++The canvas belongs to its project and is saved with it automatically. To keep a finished image, use **Save Canvas to Gallery** or **Save Frame to Gallery**, or accept results and save individual layers to a board with **Save layer to board**. To share a whole canvas, with its layers, masks and settings, export the project as an `.invk` file; see [Projects](/users-guide/projects/introduction/#exporting-and-importing).
## Copying and pasting
diff --cc docs/src/content/docs/Users Guide/07.Canvas/03.layers-panel.mdx
index bb7580db56,9e2caf58c4..b04fd9be80
--- a/docs/src/content/docs/Users Guide/07.Canvas/03.layers-panel.mdx
+++ b/docs/src/content/docs/Users Guide/07.Canvas/03.layers-panel.mdx
@@@ -77,22 -73,21 +77,22 @@@ The history keeps the last 64 steps. I
Right-click a layer, or select it and press **Shift+F10**, for its menu. Right-clicking the canvas opens the same menu for the selected layer.
- <Image src={layersContext} alt="The menu of a raster layer, with Transform, Rename layer, Fit to frame, Add adjustment, Add regenerate region, Filter, Select object, Merge down, Copy to, Convert to, Crop layer to frame, Save layer to uploads, Disable layer, Lock layer, Color label and Delete layer." width={500} />
-<Image src={layersContext} alt="The menu of a raster layer, with Transform, Rename layer, Fit to bbox, Add adjustment, Add regenerate region, Filter, Select object, Merge down, Copy to, Convert to, Crop layer to bbox, Save layer to board, Disable layer, Lock layer, Bookmark for quick switch, Color label and Delete layer." width={500} />
++<Image src={layersContext} alt="The menu of a raster layer, with Transform, Rename layer, Fit to frame, Add adjustment, Add regenerate region, Filter, Select object, Merge down, Copy to, Convert to, Crop layer to frame, Save layer to board, Disable layer, Lock layer, Bookmark for quick switch, Color label and Delete layer." width={500} />
The icons at the top **Arrange** the layer (move it to the front, forward, backward or to the back), **Duplicate layer** and **Group layers**. Below them:
* **For every layer:**
- * **Rename layer** and **Fit to bbox** (scale the layer to fit inside the generation frame).
+ * **Rename layer** and **Fit to frame** (scale the layer to fit inside the generation frame).
* **Merge down**.
* **Copy to** — including **Copy layer to clipboard**, and copies to other layer types.
- * **Crop layer to frame** and **Save layer to uploads** (save it to the Gallery's Uploads).
- * **Crop layer to bbox** and **Save layer to board** (save it to the Gallery as an upload, in Uncategorized or a board you pick from its submenu).
++ * **Crop layer to frame** and **Save layer to board** (save it to the Gallery as an upload, in Uncategorized or a board you pick from its submenu).
* **Disable layer**, **Lock layer**, **Bookmark for quick switch** and **Color label**. A bookmarked layer is where **Q** switches on the canvas; press **Q** again to return. The bookmark is temporary and is not saved in the project. It can reset when the canvas is released, for example after switching away from its project, and resets on reload.
+ * **Remove from group** — for a layer inside a group: moves it out, directly above the group. With several layers selected, it appears when they are all in the same group, and moves them together in their current order. The emptied group stays.
* **Delete layer**.
* **Raster layers:**
- * **Transform**.
+ * **Transform** (**Shift+T**) — shows the transform handles at once. It works on enabled raster and control layers with content.
* **Add adjustment** — Brightness/Contrast, Exposure, Levels, Curves, Saturation, Hue or Invert. Adjustments are non-destructive and appear as child rows.
- * **Add regenerate region** — treats the layer's own shape as an inpaint mask.
+ * **Add regenerate region** — regenerates where the layer has content, as a live inpaint mask: everything on the layer marks the area to regenerate, and it follows the layer as you keep editing it. The menu shows this description under the item.
* **Filter**, **Select object** and **Run workflow** — process the layer; see the [Canvas guide](/users-guide/canvas/canvas-guide/#filters-and-object-selection).
* **Boolean operations** — combine the layer with the one below: intersect, cut out, cut away or exclude.
* **Convert to** — make it a control layer, inpaint mask or regional guidance layer. Text, shape and gradient layers can also be rasterized into plain pixels.
diff --cc invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx
index d5d08684e9,c37df16db3..39531e867c
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx
@@@ -88,8 -90,8 +90,8 @@@ import
getLayerContextMenuLayout,
getLayerContextMenuRenderEntries,
} from './layerContextMenuLayout';
- import { copyLayerToClipboard, saveLayerToAssets } from './layerExportActions';
+ import { copyLayerToClipboard, saveLayerToBoard } from './layerExportActions';
-import { canGroupSelection, groupLayers } from './layerGroupCommands';
+import { canGroupSelection, canRemoveFromGroup, groupLayers, removeFromGroup } from './layerGroupCommands';
import { resolveMenuTargetForRender } from './layerMenuState';
import {
DEFAULT_INPAINT_MASK_FILL,
@@@ -918,9 -902,8 +936,9 @@@ const LayerMenu = (
startFilter,
patchConfig: handleLayerConfigAction,
rasterize: handleRasterize,
+ removeFromGroup: handleRemoveFromGroup,
reorder: (kind, actionId) => reorder(kind, getActionLabel(actionId)),
- saveToAssets: handleSaveToAssets,
+ saveToBoard: handleSaveToBoard,
setColorLabel: handleSetColorLabel,
toggleLock: handleToggleLock,
toggleQuickSwitchBookmark: handleToggleQuickSwitchBookmark,
@@@ -950,8 -932,7 +968,8 @@@
handleMerge,
handleOpenProperties,
handleRasterize,
+ handleRemoveFromGroup,
- handleSaveToAssets,
+ handleSaveToBoard,
handleSetColorLabel,
handleToggleLock,
handleToggleQuickSwitchBookmark,
diff --cc invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.test.ts
index 032cb7c271,0f11db2d47..c9f12d9d61
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.test.ts
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/layerContextActions.test.ts
@@@ -120,10 -116,9 +120,10 @@@ const makeEffects = (): LayerContextAct
startFilter: vi.fn(),
patchConfig: vi.fn(),
rasterize: vi.fn(),
+ removeFromGroup: vi.fn(),
reorder: vi.fn(),
setColorLabel: vi.fn(),
- saveToAssets: vi.fn(() => Promise.resolve()),
+ saveToBoard: vi.fn(() => Promise.resolve()),
toggleLock: vi.fn(),
toggleQuickSwitchBookmark: vi.fn(),
toggleVisibility: vi.fn(),