---
title: AI variation generator for text-based elements
slug: web-experimentation/docs/YNpk-ai-variation-generator-for-text-based-elements
docTags: 
createdAt: 2026-07-20T15:45:13.274Z
---

- Optimizely Web Experimentation
- Optimizely Performance Edge
- Optimizely Personalization

Agent Platform lets you generate AI-powered suggested content in the Visual Editor for any existing copy on a page. This feature applies to any text-based element to test recommended alternatives. To increase conversions, you can fine-tune your web page's brand positioning, product descriptions, or CTAs. [View a demo](https://optimizely.navattic.com/ra2e085b) and learn how to use this feature.

This feature is supported in multiple languages and can process text of up to 8,000 tokens (approximately 6,000 words).

## Generate text suggestions with AI

Before generating text, [Configure Web Experimentation for Mark](docId\:hlHMQy1FYLEFZuoQwEAep).

1. Go to an experiment or campaign.
2. Select a variation.
3. Select a text-based element.
4. Click **Generate Copy**. Five suggestions display. 

   ![Generate copy.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/JVlUvgT_tEwHa2TZsQw7l-20260720-150213.png)

   - Hover over a suggestion to preview it on the page.
   - Click **Use this copy** to use the suggestion in the current variation, or click **Create new variation** to use the copy in a new variation. If adding a new variation, name the variation (if desired) and click **Save & View New Variation** or **Save**.
   - Click **Generate Again** if you want to see other suggestions.
5. Click **Save**.

Because the content is powered by AI, some suggestions may be inaccurate. If you find any suggestion inappropriate, eliminate it by clicking **Thumbs Down** upon hovering over the suggestion. Additionally, you can [submit feedback in the portal.](https://feedback.optimizely.com/)

:::hint{type="info"}
**Note**

If you use Opti ID, administrators can turn off generative AI in the Opti ID Admin Center. See [Turn generative AI off across Optimizely applications](docId\:X5U0kKD2azV5cIdNqwGNj).
:::
