> For the complete documentation index, see [llms.txt](https://xfigura.gitbook.io/xfigura-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xfigura.gitbook.io/xfigura-docs/generate/editor.md).

# Editor

Prepare and edit images with layers, masks, text, shapes, and transformations.

Use the Editor to prepare an existing image without leaving the xFigura canvas. Edits are organized as layers and can be saved for continued work later.

## Work with layers

* Add and rename layers.
* Reorder layers to control which content appears on top.
* Adjust layer opacity.
* Show or hide individual layers.

## Add and adjust content

Use the available tools to add brush marks, text, and shapes, or transform existing content. The remove-background action can be used when an image needs to be isolated before compositing.

## Mask an area for generation

Create a mask when only part of an image should be changed. The mask can be passed into the next generation step so the selected area is edited while the rest of the image remains available as context.

## Save and continue

Save the edit before closing the Editor. Reopen it from the image to continue working with the saved layers and adjustments, or connect the result to another compatible node.

<figure><img src="https://1105741269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FezPs4sBq27l9GhXqMswu%2Fuploads%2FGloerykKGAtO6rTsCcyP%2FUntitled%20(17).gif?alt=media&#x26;token=884bbd15-161e-470f-8c2c-69eac077b74f" alt=""><figcaption></figcaption></figure>
