# Element Enhancer

Source: https://docs.arcweave.com/project-tools/ai-features/element-enhancer
Section: Project Tools > AI tools
Description: How to enhance and edit your elements using Arcweave's AI tools

The Element Enhancer refines and improves existing elements based on your guidance.

## Data collection

Context: Arcweave docs > Project Tools > AI tools > Element Enhancer > Data collection

The Element Enhancer gathers context from the following sources:

- Your prompt text (up to 200 characters)
- The current element's title and content.
- The elements immediately preceding the current in the flow.
- Components [mentioned](https://docs.arcweave.com/project-tools/mentions) in your prompt, and their [attributes](https://docs.arcweave.com/project-items/attributes).
- All of the above elements' components and their attributes. These components can be:
  - Attached to any of the elements.
  - Mentioned in any of the element's title or content.

This context is used as input for the AI, ensuring the generated result aligns with your project's structure and tone.

## Use the Element Enhancer

Context: Arcweave docs > Project Tools > AI tools > Element Enhancer > Use the Element Enhancer

The Element Enhancer follows the shared [AI access requirements](https://docs.arcweave.com/project-tools/ai-features/overview#access-requirements).

To enhance an element using the Element Enhancer, follow the next steps:

1. Right-click on the element and choose **AI > "Enhance element"** from the menu.
2. Type your prompt in the input field, to guide the enhancement process. You can do any of the following:

- Use the prompt box to guide the story in your desired direction.
- @-[mentioning](https://docs.arcweave.com/project-tools/mentions) components to include their attributes in the context.

3. Click **Enhance**.

The element's title and content will be rewritten according to the context you provided. The element's attached components are replaced with the components the AI selects from that context.

> ℹ️ If you are not satisfied with the outcome, you can **undo** (Ctrl/Cmd+Z) to revert to your original content.

> ℹ️ Each enhancement costs **1 AI credit** from your workspace's monthly allowance. See [monthly AI credits by workspace plan](https://docs.arcweave.com/project-tools/ai-features/overview#monthly-ai-credits).
