Edit images with AI

With the AI Image Editor you can create image-compositions where you can arrange assets and AI generated images.

Open the AI Image Editor

Select an asset or if you have no asset selected, the "AI Edit Asset" action opens the AI Image Editor. You can find the AI Image Editor feature in your Action Bar.

ai image editor 1

AI Image Editor UI

The UI of the AI Image Editor consists of:

ai image editor 2

Layers

The UI shows a table with the layers on the left hand side. Layers can contain images. Once there are multiple layers and images, they can be sorted by dragging the headers. The submenu on the layers let you execute actions on the layer or image for example to, hide/show or to delete a layer. You can also duplicate layers or images.

Editor Canvas

You can see the Editor Canvas in the center. In the middle at the bottom the Tool Panel allows to select the current tool or execute the actions for image generation or background removal. At the bottom left a Zoom Panel is present with the following functionality:

  • The rightmost icon allows to reset the canvas view.

  • The plus and minus icons allow to zoom in and out.

    Useful tips
  • You can scroll with both a mouse wheel or trackpad.

  • You can pan by moving the pushed mouse while holding the space-bar pressed.

  • Select images with mouse clicks.

  • Move, resize, rotate, or crop the selected image with the appropriate tool.

  • You can undo/redo actions with CTRL+Z and CTRL+SHIFT+Z, respectively CMD+Z and CMD+SHIFT+Z.

    The amount of undo steps is limited and not the complete history is available for undo.

Tools Panel

In the middle at the bottom there is the Tools Panel. The tools are grouped into sections.

ai image editor tools panel

The following tools are available:

  1. Undo: Undo last step (the number of steps that can be undone is limited).

  2. Redo: Redo a step previously undone.

  3. Select: Selection of image layers, you can choose between pixel or bounding box selection.

  4. Move: Move selected layers (Selection is also possible using bounding box).

  5. Rotate: Rotate selected layers. Use the corner handles to adjust the angle.

  6. Cropping: Crop selected layers. Use the corner handles to adjust the cropping area.

  7. Text: Add text to the composition.

  8. Rectangle: Add a rectangle shape to the composition.

  9. Generate Image: Generate a new image with a prompt. If multiple models are available, you can select one. Otherwise, the default model is used.

    ai image editor tools panel generate
    ai image editor 5
  10. Remove Background: Remove the background of the selected image.

    ai image editor tools panel remove
    ai image editor 4

Properties Panel

The properties panel consists of three parts: Canvas, Selected, Object, Actions. In the Canvas part you are able to change the name of the current image-composition. The middle part depends on the current selection.

Canvas

ai image editor canvas

In the canvas properties the name of the image can be changed. The size of the editor canvas can be adjusted, use the lock icon at the very right to indicate whether the aspect ratio should be locked.

  1. Save as Asset allows to save the current version as a new asset.

    It is not currently possible to store as hybrid asset or to save in an external asset provider.

  2. Import import a previously exported image-composition through a file upload.

  3. Export export an image-composition for download.

Selected Object

In the middle section depending on the selection different properties are shown.

Layers

For layers, you delete or rename a layer. However, other actions are not possible.

Images

For images it is possible to adjust (fix or unfix) the aspect ratio for resize operations. If the image was generated, the prompt used to generate it is shown. You can also configure both border and blur properties.

ai image editor properties object generated image

Text

Text properties are available. The text can only be changed in the text editor tool displayed here.

ai image editor text details

Shape

For shapes, you can configure color, border, and blur.

ai image editor shape details

Actions

  1. Add Asset: you can also add assets as a new layer. This is useful in cases where multiple assets should be combined into one image.

  2. Generate Image allows to generate a new image with a prompt.

    Generated images are always added on top. If you want to use it as background you have to move it to the back in the layer table.

    ai image editor 6
  3. Save an Asset: finally, the current version can be saved as a new asset with the Save as Asset action.

Known issues / limitations

  • Refreshing the browser or switching between apps within Magnolia results in a loss of the current work in progress. If you want to store your current work, use the Export action to download the current image composition. It can be loaded again using the Import action.

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the AI Accelerator module docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules